All API responses return a ResponseEnvelope
object (unless otherwise specified). The Data property contains the response data.
Name | DataType | Description |
---|---|---|
Data | object | The response data |
Time | int | For internal use only |
ErrorCode | int | The error code, if the request was unsuccessful |
ErrorMessage | String | The description of the error |
Successful | boolean | True for a successful request, otherwise false. |
ValidationErrors | ValidationError Array | Array of validation errors (if any) |
{
"data": {},
"time": 0,
"errorCode": -1,
"errorMessage": null,
"successful": true,
"validationErrors": []
}