POST api/ServicePrices/Add/TourGuide
Request Information
URI Parameters
None.
Body Parameters
AddTourGuideServicesPrice| Name | Description | Type | Additional information |
|---|---|---|---|
| CutOffDay | integer |
None. |
|
| Hours | integer |
Required |
|
| 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 |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CutOffDay": 1,
"Hours": 2,
"Cost": 3.0,
"StartDate": "2025-12-13T23:24:51.7287586+00:00",
"EndDate": "2025-12-13T23:24:51.7287586+00:00",
"UomId": "sample string 6",
"TaxTypeId": 7,
"Currency": "sample string 8",
"Rank": 9,
"ServiceItemId": 10,
"ServicePriceType": 0,
"MinimumPax": 11,
"Description": "sample string 12"
}
application/xml, text/xml
Sample:
<AddTourGuideServicesPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Cost>3</Cost> <Currency>sample string 8</Currency> <Description>sample string 12</Description> <EndDate>2025-12-13T23:24:51.7287586+00:00</EndDate> <MinimumPax>11</MinimumPax> <Rank>9</Rank> <ServiceItemId>10</ServiceItemId> <ServicePriceType>NotSet</ServicePriceType> <StartDate>2025-12-13T23:24:51.7287586+00:00</StartDate> <TaxTypeId>7</TaxTypeId> <UomId>sample string 6</UomId> <CutOffDay>1</CutOffDay> <Hours>2</Hours> </AddTourGuideServicesPrice>
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.