|
|
|
## Introduction
|
|
|
|
|
|
|
|
The REST service attempts to respond to requests using standard [HTTP status codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) allowing a user to programatically detect when a request has not succeeded. You should never assume requests will succeed when working with web services and ensure your client APIs can handle all possible eventualities. You can use the following as a guide to the type of error you've encountered because of the numeric range it lies in:
|
|
|
|
|
|
|
|
- **2XX** - Successful response
|
|
|
|
- **4XX** - User error in request leading to unsuccessful response. A client can fix these errors
|
|
|
|
- **5XX** - Server error in response. A client cannot fix these errors
|
|
|
|
|
|
|
|
## Supported Codes
|
|
|
|
|
|
|
|
Code|Name|Notes
|
|
|
|
----|----|-----
|
|
|
|
200|**OK**|Request was a success. Only process data from the service when you receive this code
|
| ... | ... | |