...
Expand |
---|
title | GET https://<base-url>/Authenticate |
---|
|
Headers: Accept:application/json Content-Type:application/json Consumer:5D1AEF05263B497182992E324517FFFD0FED85FBEC2342B19CE02AB5ED62D6ED SecretKey:a5ae515d-d53b-478c-90bd-060c616d37b7 |
Expand |
---|
title | Response (status 200) |
---|
|
"access_token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. | eyJqdGkiOiI4ZTNmMTc2NC1hNmU3LTRjNDMtODE4NS1hYmQ3NjlkZTY3MTUiLCJpc3MiOiJodHRwOi8vY2FudmFzdGVzdC5jb25uZWN0bXlhcHBzLmNvbSIsImlhdCI6MTY1MTA1NDczNSwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoibmF0YWxpYS55dWRuaWtvdmFAb3V0bG9vay5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3VzZXJkYXRhIjoiNmZhMTIyZTQtMGQ0Yy00YTFkLTg4NjktN2MwYTg2YTM3YmYxIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiQWRtaW4iLCJMb2dnZWRTdXBwb3J0ZWRCeUNtYSI6IlRydWUiLCJNYW5hZ2VkU3VwcG9ydGVkQnlDbWEiOiJUcnVlIiwiZXhwIjoxNjUxMDU1NjM1LCJhdWQiOiJjbWEtdXNlcnMifQ.tD2ttJQVilvHvZGPdK38wW8g5TG7FNkiM6yH8eK0ang", eyJqdGkiOiIzYzI4YjFkYy05ZDA1LTQ5ZDgtYTMyNC1kNGI2N2IxYTg3MmQiLCJpc3MiOiJodHRwOi8vY2FudmFzdGVzdC5jb25uZWN0bXlhcHBzLmNvbSIsImlhdCI6MTY1MTA2ODA4MiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoibmF0YWxpYS55dWRuaWtvdmFAb3V0bG9vay5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3VzZXJkYXRhIjoiNmZhMTIyZTQtMGQ0Yy00YTFkLTg4NjktN2MwYTg2YTM3YmYxIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiQWRtaW4iLCJMb2dnZWRTdXBwb3J0ZWRCeUNtYSI6IlRydWUiLCJNYW5hZ2VkU3VwcG9ydGVkQnlDbWEiOiJUcnVlIiwiZXhwIjoxNjUxMDY4OTgxLCJhdWQiOiJjbWEtdXNlcnMifQ.SllrAi0m1DR__9tYuSZJ4-qTk3pnxEi2G5vs6_cSvCE",
"accessTokenExpiresDateTime": "2022-04- | 27T1033551774282 07112d7bfcf44c09b2341249448a5ca46ed6d7ba271d43a0843f8f363fe27279", |
"refreshTokenExpiresDateTime": "2022-04- | 28T1018551774282
|
Expand |
---|
title | Response (status 401) |
---|
|
Returned if the Consumer or SecretKey are incorrect or missing. |
Refresh token
RequestFor refreshing of access token you need to send following request:
Expand |
---|
title | GET https://<base-url>/RefreshAccessToken?refreshToken=07112d7bfcf44c09b2341249448a5ca46ed6d7ba271d43a0843f8f363fe27279 |
---|
|
Headers: Accept:application/json Content-Type:application/json Consumer:5D1AEF05263B497182992E324517FFFD0FED85FBEC2342B19CE02AB5ED62D6ED SecretKey:a5ae515d-d53b-478c-90bd-060c616d37b7 |
Expand |
---|
title | Response (status 200) |
---|
|
"access_token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. | eyJqdGkiOiI4ZTNmMTc2NC1hNmU3LTRjNDMtODE4NS1hYmQ3NjlkZTY3MTUi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NsYWltcy9yb2xlIjoiQWRtaW4iLCJMb2dnZWRTdXBwb3J0ZWRCeUNtYSI6IlRydWUiLCJNYW5hZ2VkU3VwcG9ydGVkQnlDbWEiOiJUcnVlIiwiZXhwIjoxNjUxMDY5NTY5LCJhdWQiOiJjbWEtdXNlcnMifQ. | tD2ttJQVilvHvZGPdK38wW8g5TG7FNkiM6yH8eK0angv2Tbnw4bKuQSMAjtj36eVjrcMoE1vH93C6axpN9Y4wE", |
"accessTokenExpiresDateTime": "2022-04- | 27T1033551774282 07112d7bfcf44c09b2341249448a5ca4886be8d80a65477b8ce9b4b643fe6994", |
"refreshTokenExpiresDateTime": "2022-04- | 28T1018551774282
|
Expand |
---|
title | Response (status 401) |
---|
|
Returned if the Consumer or SecretKey are incorrect or missing. |
Expand |
---|
title | Response (status 404) |
---|
|
Returned if refresh tolekn is not found |
...