Enum ApiResponseCode
Represents API response codes according to HTTP standards.
public enum ApiResponseCode
Fields
Accepted = 202
202 Accepted - The request has been accepted for processing.
BadRequest = 400
400 Bad Request - The request was invalid or malformed.
Created = 201
201 Created - The request was successful, and a new resource was created.
Forbidden = 403
403 Forbidden - The request was valid, but the server refuses to authorize it.
MultiStatus = 207
207 Multi-Status - The message body that follows request that contains a number of separate response codes.
NotFound = 404
404 Not Found - The requested resource could not be found.
ServerError = 500
500 Internal Server Error - A generic error occurred on the server.
503 Service Unavailable - The server is temporarily unable to handle the request.
Success = 200
200 OK - The request was successful.
Timeout = 408
408 Request Timeout - The server or client timed out waiting for the request.
TooManyRequests = 429
429 Too Many Requests - The user has sent too many requests in a given amount of time.
401 Unauthorized - Authentication is required and has failed or not been provided.
UnknownError = 520
520 Unknown Error - An unknown error occurred.