Search request object.
object (rpcflightsindicativeIndicativeQuery) Query object for request. | |||||||||||
|
{- "query": {
- "market": "string",
- "locale": "string",
- "currency": "string",
- "queryLegs": [
- {
- "originPlace": {
- "queryPlace": {
- "iata": "string",
- "entityId": "string"
}, - "anywhere": true,
- "anywhereByCity": true
}, - "destinationPlace": {
- "queryPlace": {
- "iata": "string",
- "entityId": "string"
}, - "anywhere": true,
- "anywhereByCity": true
}, - "dateRange": {
- "startDate": {
- "month": 0,
- "year": 0
}, - "endDate": {
- "month": 0,
- "year": 0
}
}, - "fixedDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "anytime": true
}
], - "dateTimeGroupingType": "DATE_TIME_GROUPING_TYPE_UNSPECIFIED"
}
}
{- "status": "RESULT_STATUS_UNSPECIFIED",
- "content": {
- "results": {
- "quotes": {
- "property1": {
- "minPrice": {
- "amount": "string",
- "unit": "PRICE_UNIT_UNSPECIFIED",
- "updateStatus": "PRICE_UPDATE_STATUS_UNSPECIFIED"
}, - "isDirect": true,
- "outboundLeg": {
- "originPlaceId": "string",
- "destinationPlaceId": "string",
- "departureDateTime": {
- "year": 0,
- "month": 0,
- "day": 0,
- "hour": 0,
- "minute": 0,
- "second": 0
}, - "quoteCreationTimestamp": "string",
- "marketingCarrierId": "string"
}, - "inboundLeg": {
- "originPlaceId": "string",
- "destinationPlaceId": "string",
- "departureDateTime": {
- "year": 0,
- "month": 0,
- "day": 0,
- "hour": 0,
- "minute": 0,
- "second": 0
}, - "quoteCreationTimestamp": "string",
- "marketingCarrierId": "string"
}
}, - "property2": {
- "minPrice": {
- "amount": "string",
- "unit": "PRICE_UNIT_UNSPECIFIED",
- "updateStatus": "PRICE_UPDATE_STATUS_UNSPECIFIED"
}, - "isDirect": true,
- "outboundLeg": {
- "originPlaceId": "string",
- "destinationPlaceId": "string",
- "departureDateTime": {
- "year": 0,
- "month": 0,
- "day": 0,
- "hour": 0,
- "minute": 0,
- "second": 0
}, - "quoteCreationTimestamp": "string",
- "marketingCarrierId": "string"
}, - "inboundLeg": {
- "originPlaceId": "string",
- "destinationPlaceId": "string",
- "departureDateTime": {
- "year": 0,
- "month": 0,
- "day": 0,
- "hour": 0,
- "minute": 0,
- "second": 0
}, - "quoteCreationTimestamp": "string",
- "marketingCarrierId": "string"
}
}
}, - "carriers": {
- "property1": {
- "name": "string",
- "imageUrl": "string",
- "iata": "string",
- "icao": "string",
- "displayCode": "string"
}, - "property2": {
- "name": "string",
- "imageUrl": "string",
- "iata": "string",
- "icao": "string",
- "displayCode": "string"
}
}, - "places": {
- "property1": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0.1,
- "longitude": 0.1
}
}, - "property2": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0.1,
- "longitude": 0.1
}
}
}
}, - "groupingOptions": {
- "byRoute": {
- "quotesGroups": [
- {
- "originPlaceId": "string",
- "destinationPlaceId": "string",
- "quoteIds": [
- "string"
]
}
]
}, - "byDate": {
- "quotesInboundGroups": [
- {
- "monthYearDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "quoteIds": [
- "string"
]
}
], - "quotesOutboundGroups": [
- {
- "monthYearDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "quoteIds": [
- "string"
]
}
]
}
}
}
}