Get list of rateGroups

get

/PASService/rest/services/v1/rateGroups

Gets a list of the latest 1000 rateGroups. Also, define expand attributes to expand a rateGroup by its sub-resources such as rates and rateGroupRelationships

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 1000 rateGroups. Also, define expand attributes to expand a rateGroup by its sub-resources such as rates and rateGroupRelationships.

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/rateGroups"

Example Response Body

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

{
  "count": 153,
  "offset": 0,
  "limit": 100,
  "rateGroups": [
    {
      "links": [
        {
          "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A",
          "rel": "self",
          "mediaType": "application/json",
          "method": "GET"
        },
        {
          "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rates",
          "rel": "rates",
          "mediaType": "application/json",
          "method": "GET"
        },
        {
          "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rateGroupRelationships",
          "rel": "rateGroupRelationships",
          "mediaType": "application/json",
          "method": "GET"
        }
      ],
      "rateGroupId": "53911792-BA61-4D86-976C-80EA80C4872A",
      "rateDescription": "TestrRate200",
      "integerCriteria": "Duration",
      "effectiveDate": "1990-01-01T00:00:00Z",
      "activeFromDate": "1990-01-01T00:00:00Z",
      "activeToDate": null,
      "expirationDate": null,
      "tableFormat": "Select",
      "secondaryIndex": "IssueAge",
      "criteria1": "Gender",
      "criteria2": "Tobacco",
      "criteria3": "Risk",
      "criteria4": "Band",
      "criteria5": "IssueAge",
      "criteria6": null,
      "criteria7": null,
      "criteria8": null,
      "criteria9": null,
      "criteria10": null,
      "rates": [
        {
          "links": [
            {
              "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rates/E1B33ABD-6C1E-437A-A9F0-E47D76733CCA",
              "rel": "self",
              "mediaType": "application/json",
              "method": "GET"
            }
          ]
        },
        {
          "links": [
            {
              "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rates/29B9A791-28C1-4FA4-BA33-A9D4DD47D8C7",
              "rel": "self",
              "mediaType": "application/json",
              "method": "GET"
            }
          ]
        },
        {
          "links": [
            {
              "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rates/062A808E-F711-44E0-8CA7-E47F775ADA52",
              "rel": "self",
              "mediaType": "application/json",
              "method": "GET"
            }
          ]
        },
        {
          "links": [
            {
              "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rates/7EB6872B-ECDC-4264-A986-E47F93776B92",
              "rel": "self",
              "mediaType": "application/json",
              "method": "GET"
            }
          ]
        }
      ],
      "rateGroupRelationships": [
        {
          "links": [
            {
              "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rateGroupRelationships/1F03B0E2-E35A-47E3-9F2B-E486E3B826CD",
              "rel": "self",
              "mediaType": "application/json",
              "method": "GET"
            }
          ]
        }
      ]
    }
  ]
}    
Back to Top