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.

...

How now owe to look method's calls :

HTMLcode
 http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=sync
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=setcontact&companyName=Adobe&contactName=TedJohnson
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=setcontact&companyId=15&contactId=6
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&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

...

Here is an examples of a new method's calls.

 

HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcompanies
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcontacts
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcompanybyname&companyId=2
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcompanybyname&companyName=Atlassian
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcontactbyname&contactId=2
HTMLcode
http://crm-demo.teamlead.ru/plugins/servlet/crm/api?&apiKey=${apiKey}&userName=${userName}&command=getcontactbyname&contactName=Mike Cannon-Brookes