Skip to main content

DefaultResponse

successbooleanrequired

Request validation is successful or not. It will be set to true when the HTTP status is 200.

codeintegerrequired

Request status code. It will be set to 1 when the request is processed successfully. When unsuccessful, there will be an error code.

msgstringrequired

Request status message. It will be set to Success when the request is processed successfully. When unsuccessful, there will be an error message.

timenumberrequired

Current unix timestamp.

data objectrequired
resultstringrequired

Processing result. It will be 200 OK if successful.

DefaultResponse
{
"data": {
"result": "string"
},
"success": true,
"code": 0,
"msg": "string",
"time": 0
}