PATCH api/unitpriceoverrides/{unitpriceoverrideid}/unitpriceoverridepricecodes/{id}
Patches an existing unit price override price code
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitpriceoverrideid |
Identifier for the Unit Price Override record to which this Price Code belongs |
integer |
Required |
| id |
Unit Price Override Price Code Identifier |
integer |
Required |
Body Parameters
The json formatted patch document (https://tools.ietf.org/html/rfc6902) containing operations to apply to the target rate
JsonPatchDocument| Name | Description | Type | Additional information |
|---|---|---|---|
| Operations | Collection of Operation |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/json-patch+json
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A patched plan incentive rate
UnitPriceOverridePriceCodeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PriceCode |
Gets or sets the price code for this resource |
string |
None. |
| UnitPrice |
Gets or sets the unit price for this resource |
decimal number |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Response Formats
application/json, text/json, application/json-patch+json
Sample:
{
"url": "sample string 3",
"id": 4,
"priceCode": "sample string 1",
"unitPrice": 2.0
}