PUT api/ServicePrices/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UpdateServicePriceBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Cost | decimal number |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| UomId | string |
None. |
|
| TaxTypeId | integer |
None. |
|
| Currency | string |
None. |
|
| Rank | integer |
None. |
|
| CalculationBase | integer |
None. |
|
| ServiceItemId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyCode | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Cost": 2.0,
"StartDate": "2025-12-14T01:55:33.8893797+00:00",
"EndDate": "2025-12-14T01:55:33.8893797+00:00",
"UomId": "sample string 5",
"TaxTypeId": 6,
"Currency": "sample string 7",
"Rank": 8,
"CalculationBase": 9,
"ServiceItemId": 10,
"CompanyId": 11,
"CompanyCode": "sample string 12",
"Description": "sample string 13"
}
application/xml, text/xml
Sample:
<UpdateServicePriceBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CalculationBase>9</CalculationBase> <CompanyCode>sample string 12</CompanyCode> <CompanyId>11</CompanyId> <Cost>2</Cost> <Currency>sample string 7</Currency> <Description>sample string 13</Description> <EndDate>2025-12-14T01:55:33.8893797+00:00</EndDate> <Id>1</Id> <Rank>8</Rank> <ServiceItemId>10</ServiceItemId> <StartDate>2025-12-14T01:55:33.8893797+00:00</StartDate> <TaxTypeId>6</TaxTypeId> <UomId>sample string 5</UomId> </UpdateServicePriceBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.