Skip to main content

calculatePrice

query calculatePrice($rfqPricing: RfqPricingInput!) {
sales {
getRfqPricing(rfqInput: $rfqPricing) {
... on RfqPricing {
registration
pricing {
aircraftPrices {
name
quantity
totalPrice
unitPrice
}
airportPrices {
name
airport {
code {
icao
}
}
quantity
unitPrice
totalPrice
}
currency
quoteRoundedTo
quoteRoundedPrice
}
__typename
}
... on Error {
message
__typename
}
}
}
}

Variables

{
"rfqPricing": {
"itinerary": [
{"date": "2020-09-26", "adep": "WAW", "ades": "KRK", "paxNumber": 3, "departureOrArrival": "departure", "time": "10:00"},
{"date": "2020-09-28", "adep": "KRK", "ades": "EPWA", "paxNumber": 3, "departureOrArrival": "arrival", "time": "10:00"}
],
"aircraftRegistrationList": ["B-ARTI","D-LEON"]
}
}