Update a specific case by case Id
put
/PASService/rest/services/v1/cases/{caseId}
Updates a case based on the specified case Id.
Request
Path Parameters
-
caseId(required): string(guid)
Case Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
This operation updates a specific case by case Id successfully and contains no resposne body.
Examples
This example describes how to update a case based on the specified case Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/cases/3F59F504-52BE-4EFD-8D2F-30BFAE00ADB7" \
-d '{"Use this placeholder to plug-in the example request body given below"}' Example Request Body
The following shows an example of the request body in JSON format:
{
"case": {
"caseName": "test",
"caseNumber": "CASEA",
"creationDate": "2019-03-20T00:00:00Z",
"policies": [],
"caseId": "3F59F504-52BE-4EFD-8D2F-30BFAE00ADB7",
"companyId": "7204C2FE-13B1-4A48-8CDA-DE8386C60EF9",
"status": "02",
"updatedDateTime": "2019-03-20T09:36:42Z"
}
}