Previous Next JavaScript must be enabled to correctly display this content

## Update a specific requirementResult by requirementResult Id

put

/PASService/rest/services/v1/requirementResults/{requirementResultsId}

Updates a requirementResult based on the specified requirementResult Id

### Request

Path Parameters

- requirementResultsId(required): string(guid)
  RequirementResult Id

Supported Media Types

- application/json

Request Body - application/json ()
Root Schema : schema
Type: `string`
Back to Top

### Response

#### 204 Response

successful operation
Back to Top

### Examples

This example describes how to update a requirement 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",
            "resultText": "Result",
            "fulfilledBy": "qatester3",
            "lastName": "Homer",
            "firstName": "Simpson",
            "dateOfBirth": "1991-01-01 00:01:50.601",
            "taxId": "949017893",
            "date": {
                "textValue": "01",
                "optionText": "01-11-16 12:00:00.000000000"
            },
            "paymentMode": {
                "textValue": "12",
                "optionText": "Monthly"
            },
            "requirementResultType": {
                "typeCode": "01",
                "responseData": {
                    "textValue": "02",
                    "optionText": "155GZN;  355#ZN;  500TZN;  921JX#;  922HX#;  912#X#",
                },
                "result": {
                    "textValue": "02",
                    "optionText": "HBA1C"
                }
            }
        }
    }

Back to Top