Partially update a specific case by case Id
patch
/PASService/rest/services/v1/cases/{caseId}
Partially 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
successful operation
Examples
This example describes how to update a case partially for the fields given in request body for a specified client by case Id.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- CaseGuid
- CompanyGuid
- CaseNumber
- CreationDate
- UpdatedGmt
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": {
"status": "01"
}
}