POST api/ServicePrices/Add/FlightTicket

Request Information

URI Parameters

None.

Body Parameters

AddFlightTicketServicePrice
NameDescriptionTypeAdditional information
CutOffDay

integer

None.

MinimumPax

integer

None.

Description

string

None.

CutOffDate

date

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",
  "CutOffDate": "2025-06-26T13:05:31.7332345+00:00",
  "Cost": 4.0,
  "StartDate": "2025-06-26T13:05:31.7332345+00:00",
  "EndDate": "2025-06-26T13:05:31.7332345+00:00",
  "UomId": "sample string 7",
  "TaxTypeId": 8,
  "Currency": "sample string 9",
  "Rank": 10,
  "ServiceItemId": 11,
  "ServicePriceType": 0
}

application/xml, text/xml

Sample:
<AddFlightTicketServicePrice 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-26T13:05:31.7332345+00:00</EndDate>
  <MinimumPax>0</MinimumPax>
  <Rank>10</Rank>
  <ServiceItemId>11</ServiceItemId>
  <ServicePriceType>NotSet</ServicePriceType>
  <StartDate>2025-06-26T13:05:31.7332345+00:00</StartDate>
  <TaxTypeId>8</TaxTypeId>
  <UomId>sample string 7</UomId>
  <CutOffDate>2025-06-26T13:05:31.7332345+00:00</CutOffDate>
  <CutOffDay>1</CutOffDay>
  <Description>sample string 3</Description>
  <MinimumPax>2</MinimumPax>
</AddFlightTicketServicePrice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.