API
How to access REST API
API URL format (GET request)
https://<domain>.relaso.com/<groovyPage>.js?action=api&method=<yourMethodName>&arg=<yourArgumentsAsJSON>
-
URL:
https://<domain>.relaso.com/<groovyPage>.js
- Parmas
- action:
api
- method:
<yourMethodName>
- arg:
<yourArgumentsAsJSON>
- action:
- Example:
http://corp.relaso.com/addUserAPI.js?action=api&method=saveUserData&arg={"id": null, "guidFor": "User", "firstName": "User", "lastName": "44", "prevFirstName": null, "prevLastName": null, "guid": "user44", "loginID": "user44@singleworld.news", "role": "User", "password": "7c222fb2927d828af22f592134e8932480637c0d", "retypePassword": "7c222fb2927d828af22f592134e8932480637c0d", "reportsTo": "103", "altEmails": null, "mobileNo": null, "active": true, "isOffline": false, "phone": null, "timeZone": "Asia/Kolkata", "sip": null, "subversion": null, "photo": null, "description": null, "latitude": null, "longitude": null}