To do some actions with CRM data you can use CRM API. Here is an examples:
Examples of Remote Calls
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?command=sync Answer {"success": true, "details":"sync process started"}http://crm-demo.teamlead.ru/plugins/servlet/crm/api?command=setcontact&companyName=Adobe&contactName=TedJohnson Answer {"success": true, "details":"company Adobe set for contact Ted Johnson"}http://crm-demo.teamlead.ru/plugins/servlet/crm/api?command=setcontact&companyId=15&contactId=6 Answer {"success": true, "details":"company Apple set for contact Ted Johnson"}http://crm-demo.teamlead.ru/plugins/servlet/crm/api?command=addcompany&clients-org_name=test Company Name&clients-org_www=test.com&tableName=CLIENTS&view-clients-org_industry=Consulting&view-clients-org_sla=SLA-1 Free Answer {"success": true, "details":"company has been added"}http://crm-demo.teamlead.ru/plugins/servlet/crm/api Answer {"success": false, "details":"command is required!"}