Previous Next JavaScript must be enabled to correctly display this content

## Update a rate for a specific rateGroup by rateGroup Id and rate Id

put

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

Updates a rate based on the specified rateGroup Id and rate Id

### Request

Path Parameters

- rateGroupId(required): string(guid)
  RateGroup Id
- rateId(required): string(guid)
  Rate Id

Supported Media Types

- application/json

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 a rate based on the specified rateGroup Id and rate 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}/rates/{rateId}" \
         -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:

    {
      "rate":
        {
          "rateGroupId": "53911792-BA61-4D86-976C-80EA80C4872A",
    	  "rateId":"0D694A94-C651-4D2C-B2D1-7858D95F6374",
          "rateDescription": "TestrRate200",
          "dateCriteria": null,
          "integerCriteria": 14,
          "rate": 0.79,
          "criteria1": "01",
          "criteria2": "02",
          "criteria3": null,
          "criteria4": null,
          "criteria5": null,
          "criteria6": null,
          "criteria7": null,
          "criteria8": null,
          "criteria9": null,
          "criteria10": null
        }
    }

Back to Top