Common Response
This section describes response codes (status code) commonly used in the DR APIs.
HTTP Status
The HTTP status code of the DR API tries to conform to the HTTP response code conventions and REST rules as much as possible.
The status codes used by the DR API are as follows, and each request returns the appropriate response code from the following.
HTTP Status Code |
Result Code |
Description |
---|---|---|
400 |
4000 |
Bad Request |
4101 |
Missing or Invalid Parameter(s) in Request Header |
|
4102 |
Missing or Invalid Parameter(s) in Request Body |
|
4103 |
Missing or Invalid Token |
|
401 |
4201 |
Invalid or Expired Token: Access Token |
404 |
4301 |
Resource Not Found: User |
4302 |
Resource Not Found: Request |
|
4303 |
Resource Not Found: Device |
|
4304 |
Resource Not Found: Zip File task |
|
4305 |
Resource Not Found: Zip File |
|
4306 |
Resource Not Found: VEN |
|
4307 |
Resource Not Found: Resource |
|
405 |
- |
Not Allowed |
409 |
4308 |
Resource Already Exists: User |
4309 |
Resource Already Exists: Request |
|
4310 |
Resource Already Exists: Device |
|
4311 |
Resource Already Exists: Resource |
|
500 |
5000 |
Internal Server Error |
200 |
2000 |
OK |