Partially update a specific requirement for a specific client by client Id and requirement Id
patch
/PASService/rest/services/v1/clients/{clientId}/requirements/{requirementId}
Partially update a requirement based on the specified client Id and requirement Id
Request
Path Parameters
-
clientId(required): string(guid)
Client Id
-
requirementId(required): string(guid)
Requirement Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to partialy update a requirement based on the specified client Id and requirement Id.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- requirementId
- requirementDefinitionId
- lastmodifiedDate
- lastModifiedBy
- previousStatus
- createdBy
- overdueGmt
- nextprocessGmt
- lockedGmt
- createdDate
- clientId
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/clients/{clientId}/requirements/{requirementId}" \
Example Request Body
The following shows an example of the request body in JSON format:
{
"requirement": {
"message": "Reinsurance Transmittal",
"comments": "Reinsurance Transmittal",
"status": "00",
"requirementType": "E",
"dueDate": "29-01-31 12:00:00.000000000 AM",
}
}