Previous Next JavaScript must be enabled to correctly display this content

## Get a specific requirementresult by requirementresult Id

get

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

Gets a requirementresult based on the specified requirementresult Id

### Request

Path Parameters

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

There's no request body for this operation.

Back to Top

### Response

Supported Media Types

- application/json

#### 200 Response

successful operation
Back to Top

### Examples

This example describes how to get a requirementresult based on the specified requirementresult Id.

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 Response Body

The following shows an example of the response body in JSON format:

    {
        "requirementResult": {
            "links": [
                {
                    "href": "http://server:port/PASService/rest/services/requirementResults/2190E383-A24B-4441-B907-797FF383C02C",
                    "rel": "self",
                    "mediaType": "application/json",
                    "method": "GET"
                },
                {
                    "href": "http://server:port/PASService/rest/services/codes?codeName=RequirementResultStatus&codeValue=08",
                    "rel": "codes/status",
                    "mediaType": "application/json",
                    "method": "GET"
                }
            ],
            "codes": [
                {
                    "codeName": "AsCodeRequirementResultStatus",
                    "codeValue": "08",
                    "longDescription": "New",
                    "shortDescription": "New"
                }
            ],
            "requirementId": "D5989FE3-2320-4CB2-8145-4313FB0F7E52",
            "requirementResultId": "054DAC2C-B187-4A0E-A6FE-39D78C65EE3B",
            "statusCode": "08",
            "receivedDate": "2013-08-21 10:01:50.601",
            "updatedDate": "2014-02-07 19:25:30.751",
            "resultText": "Result",
            "documentId": "CDE5718F-FECF-4BE7-B2E5-41C6788CF651",
            "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": {
                "requirementResultTypeId": "3703d0ce-a502-11e6-80f5-76304dec7eb7",
                "typeCode": "01",
                "ResponseData": {
                    "textValue": "02",
                    "optionText": "155GZN;  355#ZN;  500TZN;  921JX#;  922HX#;  912#X#"
                },
                "result": {
                    "textValue": "02",
                    "optionText": "HBA1C"
                }
            }
        }
    }

Back to Top