Previous Next JavaScript must be enabled to correctly display this content

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

put

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

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

### Request

Path Parameters

- rateGroupId(required): string(guid)
  RateGroup Id
- rateGroupRelationshipId(required): string(guid)
  RateGroupRelationship 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 a rateGroupRelationship based on the specified rateGroup Id and rateGroupRelationship 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}/rateGroupRelationships/{rateGroupRelationshipId}"

Example Request Body

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

    {
    "rateGroupRelationship":
            {
            "rateGroupId":"24826C47-38D4-4AF6-81DE-A957F273DE08",
             "rateGroupRelationshipId":"AD90097D-C315-43E7-A4CF-4586A745E26D",
              "entityTypeCode": "CUSTOMER",
              "entityId": "00AD39A9-E79D-4F4B-97FB-27EAC0BE87A8",
              "purposeCode": "EMPPREMIUM",
              "statusCode": "ACTIVE",
              "companyId": "7204C2FE-13B1-4A48-8CDA-DE8386C60EF9"
            }
    }

Back to Top