API: Error handling

Each API call returns either JSON Object with requested information or  an Object with a pair of Name/Value reflecting state of requested operation, which may also contain Error message with description.

First name/value reflects if call was executed properly:

  • “Success”: true –  in case request was correct (accepted) and executed properly
  • “Success”: false – error has occur 

Second name/value brings short descriptive text on any result , in case error

  • “Result”: “confirmation message”  in case request was correct (accepted) and executed properly
  • “ErrorDescription”: [“text error description”] – if error has occur 
Success Response Example:
Error Response Example: