Partially update a specific requirementResult by requirementResult Id
patch
/PASService/rest/services/v1/requirementResults/{requirementResultsId}
Partially updates a requirementResult based on the specified requirementResult Id
Request
Path Parameters
-
requirementResultsId(required): string(guid)
RequirementResult Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to partially update a requirement result based on the specified requirement result Id.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- requirementResultId
- receivedDate
- updatedDate
- documentId
- requirementResultTypeId
- requirementId
- requirementDefinitionId
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/requirementResults/2190E383-A24B-4441-B907-797FF383C02C" \
Example Request Body
The following shows an example of the request body in JSON format:
{
"requirementResults": {
"statusCode": "08",
"lastName": "Homer",
"firstName": "Simpson",
"dateOfBirth": "1991-01-01 00:01:50.601",
"taxId": "949017893",
"paymentMode": {
"textValue": "12",
"optionText": "Monthly"
},
"requirementResultType": {
"responseData": {
"textValue": "02",
"optionText": "155GZN; 355#ZN; 500TZN; 921JX#; 922HX#; 912#X#",
},
"result": {
"textValue": "02",
"optionText": "HBA1C"
}
}
}
}