Request type | Response |
---|---|
GET | For an information request, returns the requested object or an array of objects when applicable. For an action request, returns the HTTP 200 success code. Can also return the REST API success object. |
POST | Returns the object that you created or updated. Can also return the HTTP 201 success code. |
DELETE | HTTP 200 success code. Can also return the REST API success object. |
HTTP error code | Description |
---|---|
400 | Bad request. Can be a field or format issue such as an invalid character or incorrect string length. |
401 | Authentication issue. For example, invalid credentials or invalid session IDs. |
403 | Generic error. For example, user doesn't have required permissions for a resource. |
404 | Resource can't be found. |
500 | Unexpected error. Generic error message that appears when an unexpected condition was encountered. |
502 | Network issue. |
503 | Service unavailable. The server cannot handle the request. |