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.

...

For access to:A user owe to have rightrights:Function properties:
getcompanybynameCRM Main MenuReturn company by name or ID
getcontactbynameCRM Main MenuReturn organization contact by name or ID
getcompaniesCRM Main MenuReturn list of all organizationscompanys
getcontactsCRM Main MenuReturn contact by name or IDall contacts
sync CRM Main MenuReturn list of all contacts 
setcrmpropertiesCRM Main Menu 
addcompanyAdd companies 
setcontactAdd contacts 

...

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

...

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