Status Codes¶
Following the RESTful conventions, the HTTP status codes returned by the RESTful Web service have a special meaning:
Code |
Message |
Meaning |
---|---|---|
200 |
Success |
|
201 |
Created |
The POST request (INSERT operation) was processed successfully, which means that the row was inserted correctly in the source. |
204 |
No content |
For GET requests, it means that the view does not have any row. Only for the XML and JSON representations of view resources. For IDU requests (see section IDU Requests), it means that the IDU statement was executed successfully. |
400 |
Bad request |
It means one of the following:
|
401 |
Not authorized |
Failed authentication |
403 |
Forbidden |
The user does not have permissions to perform the action |
404 |
Not found |
The resource does not exist |
405 |
Method not allowed |
HTTP Method not allowed on that resource |
406 |
Not accepted |
The client requests a representation format, which is not supported |
500 |
Internal error |
Runtime error. If the error occurred during the execution of a query, you will also obtain the execution trace, unless you are accessing a published REST Web service and you have cleared the option “Display verbose error messages”. |