Get list of rates for a specific rateGroup by rateGroup Id

get

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

Gets a list of the latest 100 rates for a rateGroup based on the specified rateGroup Id

Request

Path Parameters
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 rates for 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}/rates"

Example Response Body

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

{
"count": 4354,
    "offset": 0,
    "limit": 1000,
  "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": 13,
      "rate": 0.72,
      "criteria1": "01",
      "criteria2": "02",
      "criteria3": null,
      "criteria4": null,
      "criteria5": null,
      "criteria6": null,
      "criteria7": null,
      "criteria8": null,
      "criteria9": null,
      "criteria10": null
    }
  ]
}
Back to Top