Update a specific rateGroup by rateGroup Id

put

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

Updates a rateGroup based on the specified rateGroup Id

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: string
Back to Top

Response

204 Response

successful operation
Back to Top

Examples

This example describes how to update an existing 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 PUT \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
     -L "http://server:port/PASService/rest/services/v1/rateGroups/{rateGroupId}" \
     -d '{"Use this placeholder to plug-in the example request body given below"}'

Example Request Body

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

{
  "rateGroup":
    {
      "rateDescription": "TestrRate200",
       "rateGroupId":"E589AD84-B09D-4EFC-97E0-7BC7F46DB201",
      "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
    }
}
Back to Top