Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Unsuccessful response
Code Block
languagejs
{
  "success": false,
  "errors": [],
  "message": 'Sample message'"An error has occured."
}
  • success - Mandatory field. A boolean that represents if the API call was successful or not. Should always be false for the unsuccessful call.
  • errors - Optional field. An array containing errors' details, if available. (e.g. validation errors)
  • message - Mandatory field. A string containing an error message.

...