Get list of requirement results

get

/PASService/rest/services/v1/requirementResults

Gets a list of the latest 100 requirement results.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful operation
Back to Top

Examples

This example describes how to get a list of the latest 100 requirement results.

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:

{
    "count": 100,
    "offset": 0,
    "limit": 100,
    "requirementResults": [
        {
            "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"
                }
            ],
            "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": "3",
                    "optionText": "HBA1C"
                }
            }
        }
    ]
}
Back to Top