The approved list of HTTP Status Codes returned by the William Hill Gateways:
|200||OK||Standard response for successful HTTP requests.|
|201||Created||The request has been fulfilled and resulted in a new resource being created.|
|204||No content||Successful, but response is empty.|
|304||Not Modified||Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-Match.|
|400||Bad Request||The request cannot be fulfilled due to bad syntax.|
|401||Unauthorized||Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.|
|402||Payment Required||Insufficient funds.|
|403||Forbidden||The request was a valid request, but the server is refusing to respond to it.|
|404||Not Found||The requested resource could not be found but may be available again in the future.|
|406||Not Acceptable||Insufficient funds or other payment problem.|
|409||Conflict||Indicates that the request could not be processed because of conflict in the request.|
|413||Request Entity Too Large||The uploaded file/payload exceed the maximum file size.|
|415||Unsupported Media Type||Wrong media type sent in the request.|
|429||Too Many Requests||Application rate limit exceeded/Application quota limit exceeded.|
|500||Internal Server Error||A generic error message, given when no more specific message is suitable.|
|502||Bad Gateway||The server was acting as a gateway or proxy and received an invalid response from the upstream server.|
|503||Service Unavailable||Backend service is not available.|
Note:The status code will be sent in the header.
The response body will contain the unique William Hill fault code, fault string and fault name (where appropriate) for the corresponding error.
The response will be sent according to the representation type governed by the accept parameter within the original request. The default representation is for application/xml and this representation will be returned if either the accept header is absent or if the accept header is set to application/xml.
For more information about HTTP status codes, refer to Wikipedia HTTP status codes.
William Hill is not responsible for the content of external websites.