ResponseEnvelope

All API responses return a ResponseEnvelope object (unless otherwise specified). The Data property contains the response data.

NameDataTypeDescription
DataobjectThe response data
TimeintFor internal use only
ErrorCodeintThe error code, if the request was unsuccessful
ErrorMessageStringThe description of the error
SuccessfulbooleanTrue for a successful request, otherwise false.
ValidationErrorsValidationError ArrayArray of validation errors (if any)
{
  "data": {},
  "time": 0,
  "errorCode": -1,
  "errorMessage": null,
  "successful": true,
  "validationErrors": []
}