POST api/ServicePrices/Add/Restaurant
Request Information
URI Parameters
None.
Body Parameters
AddRestaurantServicePriceName | Description | Type | Additional information |
---|---|---|---|
CutOffDay | integer |
None. |
|
MinimumPax | integer |
None. |
|
Description | string |
None. |
|
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. |
Request Formats
application/json, text/json
Sample:
{ "CutOffDay": 1, "MinimumPax": 2, "Description": "sample string 3", "Cost": 4.0, "StartDate": "2025-06-26T16:56:07.6093357+00:00", "EndDate": "2025-06-26T16:56:07.6093357+00:00", "UomId": "sample string 7", "TaxTypeId": 8, "Currency": "sample string 9", "Rank": 10, "ServiceItemId": 11, "ServicePriceType": 0 }
application/xml, text/xml
Sample:
<AddRestaurantServicePrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Cost>4</Cost> <Currency>sample string 9</Currency> <Description i:nil="true" /> <EndDate>2025-06-26T16:56:07.6093357+00:00</EndDate> <MinimumPax>0</MinimumPax> <Rank>10</Rank> <ServiceItemId>11</ServiceItemId> <ServicePriceType>NotSet</ServicePriceType> <StartDate>2025-06-26T16:56:07.6093357+00:00</StartDate> <TaxTypeId>8</TaxTypeId> <UomId>sample string 7</UomId> <CutOffDay>1</CutOffDay> <Description>sample string 3</Description> <MinimumPax>2</MinimumPax> </AddRestaurantServicePrice>
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.