Generate Token
Link: {Base_Url}/api/Account/Generatetoken
Method Type: POST
Content Type: Application/Json
Description: Returns an access token to use as a header key of other APIs if used the OAuth2 authentication. (This code will activate for 15 minutes only)
Request object:
Field | Required | Type | Description |
AccountCode | Yes | string | The code Id of your account |
Password | Yes | string | The password that got it from the Availo team |
Sample Request:
Response object:
Field | Required | type | Description |
Data.accessToken | Yes | string | The access token that needs to use as a header key of the otherAPIs |
status | Yes | bool | If the request is a success or not |
message | No | string | The error message that returns from the request |
Sample Response: