PUT api/ServicePrices/Edit/Restaurant/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
EditRestaurantServicesPrice| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| 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:
{
"Id": 1,
"CutOffDay": 2,
"MinimumPax": 3,
"Description": "sample string 4",
"Cost": 5.0,
"StartDate": "2025-12-13T23:32:46.3195982+00:00",
"EndDate": "2025-12-13T23:32:46.3195982+00:00",
"UomId": "sample string 8",
"TaxTypeId": 9,
"Currency": "sample string 10",
"Rank": 11,
"ServiceItemId": 12,
"ServicePriceType": 0
}
application/xml, text/xml
Sample:
<EditRestaurantServicesPrice 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-12-13T23:32:46.3195982+00:00</EndDate> <MinimumPax>0</MinimumPax> <Rank>11</Rank> <ServiceItemId>12</ServiceItemId> <ServicePriceType>NotSet</ServicePriceType> <StartDate>2025-12-13T23:32:46.3195982+00:00</StartDate> <TaxTypeId>9</TaxTypeId> <UomId>sample string 8</UomId> <CutOffDay>2</CutOffDay> <Description>sample string 4</Description> <MinimumPax>3</MinimumPax> <Id>1</Id> </EditRestaurantServicesPrice>
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.