ApiResponse
codeStatusCode (integer)
Response status code
| Enum Value | Description |
|---|---|
| 100 | Executed - To be executed |
| 200 | Success - The request was successful |
| 300 | Answering |
| 401 | Unauthorized - Authentication is required or failed |
| 402 | Exhausted Times - The number of times has been used up |
| 404 | Not Found - Invalid request method or path |
| 422 | Incorrect Parameters - Wrong Parameter Code |
| 429 | Insufficient Credits - Account has insufficient credits |
| 500 | Server Error - Internal server error occurred |
| 505 | Chat Disabled - Chat Disable Error Code |
Possible values: [100, 200, 300, 401, 402, 404, 422, 429, 500, 505]
msgstring
Error message when code != 200
Example:
successApiResponse
{
"code": 100,
"msg": "success"
}