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

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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

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!"}
  • No labels