Skip to main content

Query: getFlightQuotationDocument

Generates a Flight Quotation document for a quote request. Automatically selects the first available template if not specified. If no realization list is provided, uses the used realization or falls back to the first realization of the request.. Requires access to resource GRAPHQL_SALES_QUOTE_REQUEST_SEE. Requires access to given quote request. Requires access to given quote realization

sales {
getFlightQuotationDocument(
quoteRequestNid: QuoteRequestNid!
documentTemplateNid: DocumentTemplateNid
quoteRealizationNidList: [QuoteRealizationNid!]
): DocumentFileDataValueOrErrorList!
}

Arguments

getFlightQuotationDocument.quoteRequestNid ● QuoteRequestNid! non-null scalar

Quote request identifier

getFlightQuotationDocument.documentTemplateNid ● DocumentTemplateNid scalar

Optional template identifier. If not provided, the first available published template is selected automatically. Template type must be 'flight_quotation_sales'.

getFlightQuotationDocument.quoteRealizationNidList ● [QuoteRealizationNid!] list scalar

Optional list of quote realization identifiers to include in the document. If not provided, the used realization is used; if none is set, the first realization of the request is used as a fallback. Empty list is not allowed.

Type

DocumentFileDataValueOrErrorList union