Cisco Cisco ASA 5525-X Adaptive Security Appliance - No Payload Encryption
About the ASA REST API v1.2.1
REST API Codes
REST API Codes
9
HTTP success codes will be reported based on standards:
In addition to the error code, the return response may contain body, which will have error object containing more details
about the error as appropriate.
JSON Error/Warning Response Schema
[
{ “code” : “string”,
“details”: “string”,
“context”: attribute name,
“level” : <Error/Warning/Info>
},
...
]
{ “code” : “string”,
“details”: “string”,
“context”: attribute name,
“level” : <Error/Warning/Info>
},
...
]
500 Internal Server Error
Server Error. A catch-all for any other failure – this should be the last choice when no other
response code makes sense.
response code makes sense.
HTTP Success Code appearing in
HTTP header
HTTP header
Description
200 Success OK
The resource is retrieved successfully using GET method.
201 Created
The resource was created successfully using POST method.
204 No Content
The resource was updated successfully using PUT or PATCH method or deleted
successfully (DELETE).
Property
Type
Description
messages
List of Dictionaries
List of error or warning messages
code
String
Error/Warning/Info code
details
String
Detailed message corresponding to Error/Warning/Info