API

Catalog


GET Access token

Request path:

https://archon.aiursoft.com/API/AccessToken

Request example:

https://archon.aiursoft.com/API/AccessToken?AppId=yourAppId&AppSecret=yourAppSecret

Try

Request arguments:

Name Required Type
AppId Required Text
AppSecret Required Text

Possible Response:

{
  "accessToken": "an example string.",
  "deadTime": "2020-04-08T21:00:41.7834501Z",
  "code": 0,
  "message": "an example string."
}

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}