Cloud API RETURN MESSAGE
Every Cloud API response message contains the following information.
| field name | type | mandatory | description |
|---|---|---|---|
| result | OperationResult JSON object | yes | the result info |
| data | JSON object | no | the result data |
JSON API response message example
{
"result":
{
"success":true,
"code":200,
"message":""
},
"data": {...}
}
OperationResult JSON object
OperationResult contains the following information.
| field name | type | mandatory | description |
|---|---|---|---|
| success | boolean | yes | it is true when the operation is executed succesfully. |
| code | integer | yes | the result code (200 when "success" = true) |
| message | string | no | error message (when "success" = false) |