1. Click on the Authorize button or the lock icon against the respective API.
2. Specify user credentials along with Client ID and Client Secret and click ‘Authorize’ to get the access token.
Available authorizations
3. Once you are logged in, the following screen is displayed.
Available authorizations
4. Click on Close button and invoke an API. e.g. /accounts.
Accounts REST API's for various account operations
5. Expand & click “Try it out” Execute. JSON response is shown below:
JSON Response
Curl
Request URL
http://mum00chx:3333/digx/v1/accounts
Server Response
400 | Error: Bad RequestResponse bodyDownload {
"result": "SUCCESSFUL",
"contextID": "005Ta26auCMFw00Fzzx0g00005Cb000hmn,0:1",
"message": {
"code": "DIGX_FW_NON_002",
"type": "ERROR"
}
} |
6. Note the Curl command. This token and other headers can be used to invoke other APIs.