Previous Next JavaScript must be enabled to correctly display this content

## Get a specific rateGroup by rateGroup Id

get

/PASService/rest/services/v1/rateGroups/{rateGroupId}

Gets a rateGroup based on the specified rateGroup Id

### Request

Path Parameters

- rateGroupId(required): string(guid)
  RateGroup 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 rateGroup based on the specified rateGroup 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/rateGroups/{rateGroupid}"

Example Response Body

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

    {
      "rateGroup": {
        "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"
              }
            ],
            "rateId": "E1B33ABD-6C1E-437A-A9F0-E47D76733CCA",
            "rateGroupId": "53911792-BA61-4D86-976C-80EA80C4872A",
            "rateDescription": "TestrRate200",
            "dateCriteria": null,
            "integerCriteria": 12,
            "rate": 0.72,
            "criteria1": "01",
            "criteria2": "02",
            "criteria3": null,
            "criteria4": null,
            "criteria5": null,
            "criteria6": null,
            "criteria7": null,
            "criteria8": null,
            "criteria9": null,
            "criteria10": null
          }
        ],
        "rateGroupRelationships": [
          {
            "links": [
              {
                "href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/rateGroups/53911792-BA61-4D86-976C-80EA80C4872A/rateGroupRelationships/7917D593-B89A-4602-B8B4-2E67935A8AE7",
                "rel": "self",
                "mediaType": "application/json",
                "method": "GET"
              },
              {
                "href": "http://localhost:8081/PASService/rest/services/codes?codeName=RateGroupRelationshipEntity&codeValue=CUSTOMER",
                "rel": "codes/entityTypeCode",
                "mediaType": "application/json",
                "method": "GET"
              },
              {
                "href": "http://localhost:8081/PASService/rest/services/codes?codeName=RateGroupRelationshipPurpose&codeValue=EMPPREMIUM",
                "rel": "codes/purposeCode",
                "mediaType": "application/json",
                "method": "GET"
              },
              {
                "href": "http://localhost:8081/PASService/rest/services/codes?codeName=RateGroupRelationshipStatus&codeValue=ACTIVE",
                "rel": "codes/statusCode",
                "mediaType": "application/json",
                "method": "GET"
              },
              {
                "href": "http://localhost:8081/PASService/rest/services/v1/companies/7204C2FE-13B1-4A48-8CDA-DE8386C60EF9",
                "rel": "companies",
                "mediaType": "application/json",
                "method": "GET"
              }
            ],
            "codes": [
              {
                "codeName": "AsCodeRateGroupRelationshipEntity",
                "codeValue": "CUSTOMER",
                "longDescription": "Group Customer",
                "shortDescription": "Group Customer"
              },
              {
                "codeName": "AsCodeRateGroupRelationshipPurpose",
                "codeValue": "EMPPREMIUM",
                "longDescription": "Employee Premium",
                "shortDescription": "Employee Premium"
              },
              {
                "codeName": "AsCodeRateGroupRelationshipStatus",
                "codeValue": "ACTIVE",
                "longDescription": "Active",
                "shortDescription": "Active"
              }
            ],
            "rateGroupRelationshipId": "7917D593-B89A-4602-B8B4-2E67935A8AE7",
            "rateGroupId": "53911792-BA61-4D86-976C-80EA80C4872A",
            "entityTypeCode": "CUSTOMER",
            "entityId": "00AD39A9-E79D-4F4B-97FB-27EAC0BE87A8",
            "purposeCode": "EMPPREMIUM",
            "statusCode": "ACTIVE",
            "companyId": "7204C2FE-13B1-4A48-8CDA-DE8386C60EF9"
          }
        ]
      }
    }

Back to Top