HTTP status codes
The REST request and response cycle generates HTTP status codes. The status codes generally
fall into the following categories.
| Status code | Category | Meaning |
|---|---|---|
| 1xx | Information | Communicates transfer protocol-level information |
| 2xx | Success | Indicates that the server accepted the client request successfully |
| 3xx | Redirection | Indicates that the client must take some additional action in order to complete its request |
| 4xx | Client error | Indicates that an error condition occurred on the client side of the HTTP request and response |
| 5xx | Server error | Indicates that an error condition occurred on the server side of the HTTP request and response |
The Guidewire REST API framework returns a standard set of HTTP codes for successful operations.
| Operation | Response |
|---|---|
GET, PATCH |
200 |
POST |
201 |
DELETE |
204 |
