PUT api/ServicePrices/Edit/Accommodation/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EditAccommodationServicePrice
NameDescriptionTypeAdditional information
Id

integer

Required

CutOffDate

date

None.

CutOffDay

integer

None.

MinDays

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.

MinimumPax

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CutOffDate": "2025-06-26T14:22:31.1357263+00:00",
  "CutOffDay": 2,
  "MinDays": 3,
  "Description": "sample string 4",
  "Cost": 5.0,
  "StartDate": "2025-06-26T14:22:31.1357263+00:00",
  "EndDate": "2025-06-26T14:22:31.1357263+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:
<EditAccommodationServicePrice 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-26T14:22:31.1357263+00:00</EndDate>
  <MinimumPax>13</MinimumPax>
  <Rank>11</Rank>
  <ServiceItemId>12</ServiceItemId>
  <ServicePriceType>NotSet</ServicePriceType>
  <StartDate>2025-06-26T14:22:31.1357263+00:00</StartDate>
  <TaxTypeId>9</TaxTypeId>
  <UomId>sample string 8</UomId>
  <CutOffDate>2025-06-26T14:22:31.1357263+00:00</CutOffDate>
  <CutOffDay>2</CutOffDay>
  <Description>sample string 4</Description>
  <MinDays>3</MinDays>
  <Id>1</Id>
</EditAccommodationServicePrice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServicePriceViewBindingModel
NameDescriptionTypeAdditional 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.