Documentation
    Preparing search index...

    This file was auto-generated by openapi-typescript. Do not make direct changes to the file.

    interface paths {
        "/v1/offers/price": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header?: never;
                    path?: never;
                    query?: never;
                };
                requestBody?: {
                    content: {
                        "application/json": {
                            diags?: string[];
                            params?: {
                                formOfPayment?: {
                                    binNumber?: string;
                                    cardType?: string;
                                    id: string;
                                    subCode: string;
                                }[];
                            };
                            passengers?: {
                                frequentFlyer?: {
                                    accountNumber?: string;
                                    airline?: string;
                                    programCode?: string;
                                    programName?: string;
                                    providerName?: string;
                                    signInID?: string;
                                    tierCode?: string;
                                    tierName?: string;
                                    tierPriority?: string;
                                }[];
                                id: string;
                                type?: string;
                            }[];
                            query: {
                                formOfPayment: string;
                                offerItemId: string[];
                                passengerId?: string[];
                            }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                id?: string;
                                messages?: {
                                    code: number;
                                    message: string;
                                    service: string;
                                    system?: string;
                                    type: string;
                                }[];
                                payloadAttributes?: {
                                    host?: string;
                                    timeStamp?: string;
                                    trxID?: string;
                                } & { [key: string]: string };
                                response?: {
                                    offers: {
                                        commission?: { amount?: string; percentage?: string };
                                        id: string;
                                        offerExpirationDateTime: string;
                                        offerItems: { id: ...; mandatoryInd?: ...; passengers: ... }[];
                                        paymentTimeLimitDateTime?: string;
                                        price?: {
                                            baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                            originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                            taxes?: { breakdown?: ...; total: ... };
                                            totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                        };
                                        purchaseTimeLimitDateTime?: string;
                                        source: string;
                                        totalPrice: {
                                            baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                            equivAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                            totalAmount: { amount: ...; curCode: ...; taxable?: ... };
                                            totalTaxes?: { amount: ...; curCode: ...; taxable?: ... };
                                        };
                                        ttl: number;
                                    }[];
                                    promotions?: {
                                        remarks?: string[];
                                        rules?: { discount?: ...; id?: ...; type?: ... }[];
                                        tag?: string;
                                        tourCode?: string;
                                    }[];
                                };
                                version: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
    }
    Index

    Properties

    Properties

    "/v1/offers/price": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        diags?: string[];
                        params?: {
                            formOfPayment?: {
                                binNumber?: string;
                                cardType?: string;
                                id: string;
                                subCode: string;
                            }[];
                        };
                        passengers?: {
                            frequentFlyer?: {
                                accountNumber?: string;
                                airline?: string;
                                programCode?: string;
                                programName?: string;
                                providerName?: string;
                                signInID?: string;
                                tierCode?: string;
                                tierName?: string;
                                tierPriority?: string;
                            }[];
                            id: string;
                            type?: string;
                        }[];
                        query: {
                            formOfPayment: string;
                            offerItemId: string[];
                            passengerId?: string[];
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: string;
                            messages?: {
                                code: number;
                                message: string;
                                service: string;
                                system?: string;
                                type: string;
                            }[];
                            payloadAttributes?: {
                                host?: string;
                                timeStamp?: string;
                                trxID?: string;
                            } & { [key: string]: string };
                            response?: {
                                offers: {
                                    commission?: { amount?: string; percentage?: string };
                                    id: string;
                                    offerExpirationDateTime: string;
                                    offerItems: { id: ...; mandatoryInd?: ...; passengers: ... }[];
                                    paymentTimeLimitDateTime?: string;
                                    price?: {
                                        baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                        originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                        taxes?: { breakdown?: ...; total: ... };
                                        totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                    };
                                    purchaseTimeLimitDateTime?: string;
                                    source: string;
                                    totalPrice: {
                                        baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                        equivAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                        totalAmount: { amount: ...; curCode: ...; taxable?: ... };
                                        totalTaxes?: { amount: ...; curCode: ...; taxable?: ... };
                                    };
                                    ttl: number;
                                }[];
                                promotions?: {
                                    remarks?: string[];
                                    rules?: { discount?: ...; id?: ...; type?: ... }[];
                                    tag?: string;
                                    tourCode?: string;
                                }[];
                            };
                            version: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header?: never;
              path?: never;
              query?: never;
          };
          requestBody?: {
              content: {
                  "application/json": {
                      diags?: string[];
                      params?: {
                          formOfPayment?: {
                              binNumber?: string;
                              cardType?: string;
                              id: string;
                              subCode: string;
                          }[];
                      };
                      passengers?: {
                          frequentFlyer?: {
                              accountNumber?: string;
                              airline?: string;
                              programCode?: string;
                              programName?: string;
                              providerName?: string;
                              signInID?: string;
                              tierCode?: string;
                              tierName?: string;
                              tierPriority?: string;
                          }[];
                          id: string;
                          type?: string;
                      }[];
                      query: {
                          formOfPayment: string;
                          offerItemId: string[];
                          passengerId?: string[];
                      }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          id?: string;
                          messages?: {
                              code: number;
                              message: string;
                              service: string;
                              system?: string;
                              type: string;
                          }[];
                          payloadAttributes?: {
                              host?: string;
                              timeStamp?: string;
                              trxID?: string;
                          } & { [key: string]: string };
                          response?: {
                              offers: {
                                  commission?: { amount?: string; percentage?: string };
                                  id: string;
                                  offerExpirationDateTime: string;
                                  offerItems: { id: ...; mandatoryInd?: ...; passengers: ... }[];
                                  paymentTimeLimitDateTime?: string;
                                  price?: {
                                      baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                      originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                      taxes?: { breakdown?: ...; total: ... };
                                      totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  };
                                  purchaseTimeLimitDateTime?: string;
                                  source: string;
                                  totalPrice: {
                                      baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                      equivAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                      totalAmount: { amount: ...; curCode: ...; taxable?: ... };
                                      totalTaxes?: { amount: ...; curCode: ...; taxable?: ... };
                                  };
                                  ttl: number;
                              }[];
                              promotions?: {
                                  remarks?: string[];
                                  rules?: { discount?: ...; id?: ...; type?: ... }[];
                                  tag?: string;
                                  tourCode?: string;
                              }[];
                          };
                          version: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Price offers from the NDC, ATPCO, and LCC content sources.

      Shop and price air offers, distributed through the New Distribution Capability (NDC) standard, from NDC, LCC, or ATPCO in one transaction. The response contains one integrated pricing response from all sources.

      • parameters: { cookie?: never; header?: never; path?: never; query?: never }
      • OptionalrequestBody?: {
            content: {
                "application/json": {
                    diags?: string[];
                    params?: {
                        formOfPayment?: {
                            binNumber?: string;
                            cardType?: string;
                            id: string;
                            subCode: string;
                        }[];
                    };
                    passengers?: {
                        frequentFlyer?: {
                            accountNumber?: string;
                            airline?: string;
                            programCode?: string;
                            programName?: string;
                            providerName?: string;
                            signInID?: string;
                            tierCode?: string;
                            tierName?: string;
                            tierPriority?: string;
                        }[];
                        id: string;
                        type?: string;
                    }[];
                    query: {
                        formOfPayment: string;
                        offerItemId: string[];
                        passengerId?: string[];
                    }[];
                };
            };
        }

        Price offers from the NDC, ATPCO and LCC content sources.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: string;
                        messages?: {
                            code: number;
                            message: string;
                            service: string;
                            system?: string;
                            type: string;
                        }[];
                        payloadAttributes?: {
                            host?: string;
                            timeStamp?: string;
                            trxID?: string;
                        } & { [key: string]: string };
                        response?: {
                            offers: {
                                commission?: { amount?: string; percentage?: string };
                                id: string;
                                offerExpirationDateTime: string;
                                offerItems: { id: ...; mandatoryInd?: ...; passengers: ... }[];
                                paymentTimeLimitDateTime?: string;
                                price?: {
                                    baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                    originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                    taxes?: { breakdown?: ...; total: ... };
                                    totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                };
                                purchaseTimeLimitDateTime?: string;
                                source: string;
                                totalPrice: {
                                    baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                    equivAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                    totalAmount: { amount: ...; curCode: ...; taxable?: ... };
                                    totalTaxes?: { amount: ...; curCode: ...; taxable?: ... };
                                };
                                ttl: number;
                            }[];
                            promotions?: {
                                remarks?: string[];
                                rules?: { discount?: ...; id?: ...; type?: ... }[];
                                tag?: string;
                                tourCode?: string;
                            }[];
                        };
                        version: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      id?: string;
                      messages?: {
                          code: number;
                          message: string;
                          service: string;
                          system?: string;
                          type: string;
                      }[];
                      payloadAttributes?: { host?: string; timeStamp?: string; trxID?: string } & {
                          [key: string]: string;
                      };
                      response?: {
                          offers: {
                              commission?: { amount?: string; percentage?: string };
                              id: string;
                              offerExpirationDateTime: string;
                              offerItems: { id: ...; mandatoryInd?: ...; passengers: ... }[];
                              paymentTimeLimitDateTime?: string;
                              price?: {
                                  baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  taxes?: { breakdown?: ...; total: ... };
                                  totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                              };
                              purchaseTimeLimitDateTime?: string;
                              source: string;
                              totalPrice: {
                                  baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  equivAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  totalAmount: { amount: ...; curCode: ...; taxable?: ... };
                                  totalTaxes?: { amount: ...; curCode: ...; taxable?: ... };
                              };
                              ttl: number;
                          }[];
                          promotions?: {
                              remarks?: string[];
                              rules?: { discount?: ...; id?: ...; type?: ... }[];
                              tag?: string;
                              tourCode?: string;
                          }[];
                      };
                      version: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Success

    • Optionalput?: never
    • Optionaltrace?: never