Previous Next JavaScript must be enabled to correctly display this content

## Partially update a specific rateGroupRelationship for a specific rateGroup by rateGroup Id and rateGroupRelationship Id

patch

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

Partially update 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 partialy update a rateGroupRelationship based on the specified rateGroup Id and rateGroupRelationship Id.

Note

Below is the list of Fields that are not allowed for update using PATCH.

- rateGroupId
- entityId
- entityTypeCode
- companyId
- rateGroupRelationshipId

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":
            {

              "purposeCode": "EMPPREMIUM",
              "statusCode": "ACTIVE"

            }
    }

Back to Top