...
...
...
...
General Information
...
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
oauth | /authorization | GET | N/A | N/A |
Description
This API gets the authorization token.
Input
...
Type: application/json
This API needs no Input parameters
...
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ result: true, data: "Basic MTBkMmNiNWZjMDRjZTUxZTA2MDAwMDAxOnNoaGggdGhpcyBpcyBhIHNlY3JldA==" } |
Invalid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result":false, "errors":{ "codes":[406], "details":[ { "code":406, "message":"Missing Tenant secret" } ] } } |
Response schema
Follow this link to check out the response JSON Schema
SOAJS Error Codes
Code | Description |
---|---|
132 | A valid key is needed to access any API |
406 | Missing Tenant secret |