GET api/FlightTicket/FareCallendar?OriginLocation={OriginLocation}&DestinationLocation={DestinationLocation}&PointofsaleCountry={PointofsaleCountry}&startDepatureDate={startDepatureDate}&endDepatureDate={endDepatureDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginLocation | string |
Required |
|
| DestinationLocation | string |
Required |
|
| PointofsaleCountry | string |
Required |
|
| startDepatureDate | date |
Required |
|
| endDepatureDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
FlightFareTicketCallendarViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginLocation | string |
None. |
|
| DestinationLocation | string |
None. |
|
| FareInfo | Collection of FlightFare |
None. |
Response Formats
application/json, text/json
Sample:
{
"OriginLocation": "sample string 1",
"DestinationLocation": "sample string 2",
"FareInfo": [
{
"Fare": 1.0,
"CurrencyCode": "sample string 2",
"DepartureDateTime": "2025-12-14T02:02:02.4453472+00:00",
"IsCheapest": true,
"IsBellowAverageFarePrice": true
},
{
"Fare": 1.0,
"CurrencyCode": "sample string 2",
"DepartureDateTime": "2025-12-14T02:02:02.4453472+00:00",
"IsCheapest": true,
"IsBellowAverageFarePrice": true
}
]
}
application/xml, text/xml
Sample:
<FlightFareTicketCallendarViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<DestinationLocation>sample string 2</DestinationLocation>
<FareInfo>
<FlightFareTicketCallendarViewModels.FlightFare>
<CurrencyCode>sample string 2</CurrencyCode>
<DepartureDateTime>2025-12-14T02:02:02.4453472+00:00</DepartureDateTime>
<Fare>1</Fare>
<IsBellowAverageFarePrice>true</IsBellowAverageFarePrice>
<IsCheapest>true</IsCheapest>
</FlightFareTicketCallendarViewModels.FlightFare>
<FlightFareTicketCallendarViewModels.FlightFare>
<CurrencyCode>sample string 2</CurrencyCode>
<DepartureDateTime>2025-12-14T02:02:02.4453472+00:00</DepartureDateTime>
<Fare>1</Fare>
<IsBellowAverageFarePrice>true</IsBellowAverageFarePrice>
<IsCheapest>true</IsCheapest>
</FlightFareTicketCallendarViewModels.FlightFare>
</FareInfo>
<OriginLocation>sample string 1</OriginLocation>
</FlightFareTicketCallendarViewModels>