Versions Compared

Key

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

...

return value name
description
example
creditsNumber of credits on account1500
statusError code, 0 for no error1

credits field is optional and contains valid value only when status is equal to 0 (meaning that request was processed without errors)

Response

Service receive parameters as request parameters, and return responses in JSON.
Used status numbers are: 0, 1, 2, 3, 300, 400, 420 and 9999 (Status code table is available on User and Reseller REST API Response Status Codes)

Mock

Mock REST service is implemented for now. It returns status based on reseller parameter.

...