POST Access/Token
This api for get new token. Please encript your client_secret and password with SHA256 and then encript value with MD5
Request Information
URI Parameters
None.
Body Parameters
AccessTokenParamModelName | Description | Type | Additional information |
---|---|---|---|
client_id | string |
Required |
|
client_secret | string |
Required |
|
username | string |
Required |
|
password | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "client_id": "sample string 1", "client_secret": "sample string 2", "username": "sample string 3", "password": "sample string 4" }
Response Information
Resource Description
success if value StatusCode = '00'
ResultModelOfAccessTokenModelName | Description | Type | Additional information |
---|---|---|---|
StatusCode | string |
None. |
|
StatusMessage | string |
None. |
|
Value | AccessTokenModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": "sample string 1", "StatusMessage": "sample string 2", "Value": { "PoolName": "sample string 1", "AccessToken": "sample string 2", "ExpiredDate": "sample string 3", "IsActive": true } }