Client API: Difference between revisions
From MobileX for SageCRM
Crmtogether (talk | contribs) (Created page with " logon Type: POST URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=&action=logon Content-Type: application/x-www-form-urlencoded; charset=UTF-8 POST...") |
Crmtogether (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=&action=logon | URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=&action=logon | ||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | ||
POST Contents: username=admin&password=somepassword&crmurl=http://server/crm/ | POST Contents: dataonly=Y&username=admin&password=somepassword&crmurl=http://server/crm/ | ||
dataonly=Y ensures that only the SID is returned. | |||
logout | |||
Type: POST | |||
URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=231231221&action=logout | |||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | |||
POST Contents: dataonly=Y&crmurl=http://server/crm/ | |||
dataonly=Y ensures that only the result (true) is returned. | |||
To call a plugin js file (in this example located at "js\plugins\Sample\server\getCompany.js" | |||
logout | |||
Type: POST | |||
URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=231231221&action=logout | |||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | |||
POST Contents: fileName==js%5Cplugins%5CSample%5Cserver%5CgetCompany.js&EntityId=123&crmurl=http://server/crm/ |
Revision as of 12:42, 14 November 2016
logon
Type: POST URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=&action=logon Content-Type: application/x-www-form-urlencoded; charset=UTF-8 POST Contents: dataonly=Y&username=admin&password=somepassword&crmurl=http://server/crm/
dataonly=Y ensures that only the SID is returned.
logout
Type: POST URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=231231221&action=logout Content-Type: application/x-www-form-urlencoded; charset=UTF-8 POST Contents: dataonly=Y&crmurl=http://server/crm/
dataonly=Y ensures that only the result (true) is returned.
To call a plugin js file (in this example located at "js\plugins\Sample\server\getCompany.js"
logout
Type: POST URL: http://server/crm/custompages/sagecrmws/KonneXGateway.aspx?SID=231231221&action=logout Content-Type: application/x-www-form-urlencoded; charset=UTF-8 POST Contents: fileName==js%5Cplugins%5CSample%5Cserver%5CgetCompany.js&EntityId=123&crmurl=http://server/crm/