Update case
put
/PASService/rest/services/cases/{caseId}
Updates a case based on the specified case Id
Request
Supported Media Types
- application/json
Path Parameters
-
caseId: string
Pattern:
\{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
Case Id
Root Schema : schema
Type:
string
Response
Supported Media Types
- application/json
Default Response
successful operation
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" -u username:password "server:port/PASService/rest/services/cases3F59F504-52BE-4EFD-8D2F-30BFAE00ADB7"
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" } }"