PUT Response Format
A sample of the PUT response is as follows:
Response:
{
"action" : "update",
"actionResponse" : "success",
"status": 200,
"message": "External incident 1000001 updated to Oracle incident 77777"
}
The response codes are listed in the following table:
Table 4 PUT Command Response Codes
|
|
|
200
|
Update successful
|
{
"action" : "update",
"actionResponse" : "success",
"status": 200,
"message": "External incident XXXX updated to Oracle incident YYYY"
}
|
400
|
Bad request
|
{
"action": "update",
"actionResponse" : "error",
"status": 400,
"errorMessage": "xxxxx"
}
|
401
|
Unauthorized
|
{
"action": "update",
"actionResponse" : "error",
"status": 401,
"errorMessage": "xxxxx"
}
|
404
|
Resource not found
|
|
500
|
Internal server error
|
{
"action": "update",
"actionResponse" : "error",
"status": 500,
"errorMessage": "xxxxx"
}
|
|