PUT api/ServicePrices/Edit/Transportation/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
EditTransportationServicePrice| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| CutOffDay | integer |
None. |
|
| Description | string |
Required |
|
| Hours | integer |
None. |
|
| ServiceDescription | string |
Required String length: inclusive between 0 and 255 |
|
| Cost | decimal number |
Required |
|
| StartDate | date |
Required |
|
| EndDate | date |
Required |
|
| UomId | string |
Required |
|
| TaxTypeId | integer |
None. |
|
| Currency | string |
Required |
|
| Rank | integer |
Required |
|
| ServiceItemId | integer |
Required |
|
| ServicePriceType | ServicePriceType |
None. |
|
| MinimumPax | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CutOffDay": 2,
"Description": "sample string 3",
"Hours": 4,
"ServiceDescription": "sample string 5",
"Cost": 6.0,
"StartDate": "2025-12-14T03:47:54.0221677+00:00",
"EndDate": "2025-12-14T03:47:54.0221677+00:00",
"UomId": "sample string 9",
"TaxTypeId": 10,
"Currency": "sample string 11",
"Rank": 12,
"ServiceItemId": 13,
"ServicePriceType": 0,
"MinimumPax": 14
}
application/xml, text/xml
Sample:
<EditTransportationServicePrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Cost>6</Cost> <Currency>sample string 11</Currency> <Description i:nil="true" /> <EndDate>2025-12-14T03:47:54.0221677+00:00</EndDate> <MinimumPax>14</MinimumPax> <Rank>12</Rank> <ServiceItemId>13</ServiceItemId> <ServicePriceType>NotSet</ServicePriceType> <StartDate>2025-12-14T03:47:54.0221677+00:00</StartDate> <TaxTypeId>10</TaxTypeId> <UomId>sample string 9</UomId> <CutOffDay>2</CutOffDay> <Description>sample string 3</Description> <Hours>4</Hours> <ServiceDescription>sample string 5</ServiceDescription> <Id>1</Id> </EditTransportationServicePrice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServicePriceViewBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
Response Formats
application/json, text/json
Sample:
Sample not available.