HTTP Status Codes for Event Services
List of status codes for Event services
In the following table, you find the list of HTTP status codes that are used by the event services:
| Post (Create) | Post (Update) | Put | Delete | Get (single value) | Get (collection) | Description |
|---|---|---|---|---|---|---|
| 201 | 200 | 200 | 204 | 200 | 200 | Success |
| n/a | 404 | 404 | n/a | 404 | 200 | No capabilities assigned |
| 201 | 200 | 200 | 200 | 404 | 200 | Read capability not assigned to read a specific thing. However, the user is assigned with the capabilities to perform operations such as create, update, and delete. |
| 404 | 404 | 404 | 404 | 200 | 200 | Read capability assigned to read a specific thing. However, the user is not assigned with capabilities to perform operations such as create, update, and delete. |
| n/a | 404 | 404 | 404 | 404 | n/a | Not found. The requested thing is not found. |
| 403 | 403 | 403 | 403 | 403 | 403 | Forbidden (scope(s) not assigned for the user) |
| 400 | 400 | 400 | 400 | 400 | 400 | Bad request (for example: header field missing, wrong filter, validation failed) |
| 500 | 500 | 500 | 500 | 500 | 500 | Internal server error |