GET Response and HTTP status codes returned by the RestAPI

GET Response and HTTP status codes
Response Code

Description

200 OK Request is successful.
400 Bad request Request is invalid due to incorrect parameters in the request.
404 Not Found Request has failed due to non-existent resource.
500 Internal Server Error Request has failed due to an error in the switch.