You are viewing the old version of the documentation. See the latest version here: CRM for Jira Server Home

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To do some actions with CRM data you can use CRM API. Here is an examples:

Code Block
titleExamples of Remote Calls Examples
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!"}