POST api/ServicePrices/Add/Transportation
Request Information
URI Parameters
None.
Body Parameters
AddTransportationServicePriceName | Description | Type | Additional information |
---|---|---|---|
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:
{ "CutOffDay": 1, "Description": "sample string 2", "Hours": 3, "ServiceDescription": "sample string 4", "Cost": 5.0, "StartDate": "2025-06-26T13:08:13.1784364+00:00", "EndDate": "2025-06-26T13:08:13.1784364+00:00", "UomId": "sample string 8", "TaxTypeId": 9, "Currency": "sample string 10", "Rank": 11, "ServiceItemId": 12, "ServicePriceType": 0, "MinimumPax": 13 }
application/xml, text/xml
Sample:
<AddTransportationServicePrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Cost>5</Cost> <Currency>sample string 10</Currency> <Description i:nil="true" /> <EndDate>2025-06-26T13:08:13.1784364+00:00</EndDate> <MinimumPax>13</MinimumPax> <Rank>11</Rank> <ServiceItemId>12</ServiceItemId> <ServicePriceType>NotSet</ServicePriceType> <StartDate>2025-06-26T13:08:13.1784364+00:00</StartDate> <TaxTypeId>9</TaxTypeId> <UomId>sample string 8</UomId> <CutOffDay>1</CutOffDay> <Description>sample string 2</Description> <Hours>3</Hours> <ServiceDescription>sample string 4</ServiceDescription> </AddTransportationServicePrice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServicePriceViewBindingModelName | 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.