Partially update a specific rateGroup by rateGroup Id
patch
/PASService/rest/services/v1/rateGroups/{rateGroupId}
Partially updates a rateGroup based on the specified rateGroup Id
Request
Path Parameters
-
rateGroupId(required): string(guid)
RateGroup Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to partially update a rateGroup based on the specified rateGroup Id.
Note
Below is the list of Fields that are allowed for update using PATCH.
- expirationDate
- activeToDate
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/{rateId}"
Example Request Body
The following shows an example of the request body in JSON format:
{
"rateGroup":
{
"expirationDate": null
}
}