11.10.4 • Published 7 months ago

akaris_travels_air v11.10.4

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 months ago

akaris_travels_air

AkarisTravelsAir - JavaScript client for akaris_travels_air No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 11.10.4
  • Package version: 11.10.4
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install akaris_travels_air --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var AkarisTravelsAir = require('akaris_travels_air');
var defaultClient = AkarisTravelsAir.ApiClient.instance;

// Configure OAuth2 access token for authorization: OAuth2
var OAuth2 = defaultClient.authentications['OAuth2'];
OAuth2.accessToken = "YOUR ACCESS TOKEN"

var api = new AkarisTravelsAir.BrandApi()
var body = new AkarisTravelsAir.BrandQueryBuildCompleteInfoFromOffer(); // {BrandQueryBuildCompleteInfoFromOffer} 
var opts = { 
  'traceId': "traceId_example", // {String} Identifier used to correlate API invocations across long-running or multi-call business flows.
  'XAUTH_TRAVELPORT_ACCESSGROUP': "XAUTH_TRAVELPORT_ACCESSGROUP_example", // {String} Identifies the Travelport access group with which the caller is associated
  'travelportPlusSessionID': "travelportPlusSessionID_example" // {String} Travelport Plus Session ID used to maintain an established agency session
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createBrand(body, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://api.pp.travelport.com/11/air

ClassMethodHTTP requestDescription
AkarisTravelsAir.BrandApicreateBrandPOST /brandfullinfo/brands/buildcompleteinfofromofferFollow-on request for full brand pricing
AkarisTravelsAir.EMDApieMDGetByLocatorGET /emds/getbylocatorRetrieve EMD by locator
AkarisTravelsAir.EMDApigetEMDGET /emds/{Identifier}Retrieve an EMD
AkarisTravelsAir.EMDApiupdateEMDPUT /emds/{Identifier}Void an EMD
AkarisTravelsAir.FareRulesApigetRulesFromCatalogOfferingsGET /farerule/farerules/fromcatalogofferingsReturn standalone fare rules with reference to CatalogOfferings
AkarisTravelsAir.FareRulesApigetRulesFromCatalogProductOfferingsGET /farerule/farerules/fromcatalogproductofferingsReturn standalone fare rules with reference to CatalogProductOfferings
AkarisTravelsAir.FareRulesApigetRulesFromOfferGET /farerule/farerules/fromofferReturn standalone fare rules with reference to an Offer
AkarisTravelsAir.FareRulesApigetRulesFromReservationGET /farerule/farerules/fromreservationReturn standalone fare rules with reference to a Reservation
AkarisTravelsAir.FareRulesApigetRulesFromReservationWorkbenchGET /farerule/farerules/fromreservationworkbenchReturn standalone fare rules with reference to a Reservation workbench
AkarisTravelsAir.PriceAirApiofferBuildFromCatalogOfferingsPOST /price/offers/buildfromcatalogofferingsPrice by reference to a low fare search response
AkarisTravelsAir.PriceAirApiofferBuildFromCatalogProductOfferingsPOST /price/offers/buildfromcatalogproductofferingsPrice request with reference payload
AkarisTravelsAir.PriceAirApiofferBuildFromProductsPOST /price/offers/buildfromproductsPrice request with full payload
AkarisTravelsAir.ReservationApibuildReservationPOST /book/reservation/reservations/buildSingle payload booking request
AkarisTravelsAir.ReservationApicancelReservationOfferPUT /book/reservation/reservations/{reservationIdentifier}/cancelofferCancel an Offer within a Reservation
AkarisTravelsAir.ReservationApicommitReservationPOST /book/reservation/reservations/{Identifier}Commit workbench
AkarisTravelsAir.ReservationApicreateReservationPOST /book/reservation/reservationsCreate a reservation
AkarisTravelsAir.ReservationApidividePOST /book/reservation/reservations/divideDivide a reservation
AkarisTravelsAir.ReservationApifindReservationPOST /book/reservation/reservations/findFind a reservation
AkarisTravelsAir.ReservationApigetReservationByLocatorGET /book/reservation/reservations/getbylocatorRetrieve a reservation by locator
AkarisTravelsAir.ReservationApiretrieveReservationGET /book/reservation/reservations/{Identifier}Retrieve a Reservation
AkarisTravelsAir.ReservationApiupdateReservationPUT /book/reservation/reservations/{Identifier}Update a reservation
AkarisTravelsAir.ReservationReceiptApibuildReceiptsFromLocatorPOST /receipt/reservations/{ReservationResource_Identifier}/receipts/buildfromlocatorReceiptResource - BuildFromLocator
AkarisTravelsAir.ReservationReceiptApibuildReceiptsFromPaymentPOST /receipt/reservations/{ReservationResource_Identifier}/receipts/buildfrompaymentReceiptResource - BuildFromPayment
AkarisTravelsAir.ReservationReceiptApicancelReservationPOST /receipt/reservations/{ReservationResource_Identifier}/receiptsReceiptResource - CancelReservation
AkarisTravelsAir.ReservationReceiptApigetReceiptsGET /receipt/reservations/{ReservationResource_Identifier}/receiptsReceiptResource - Get
AkarisTravelsAir.SearchAirApibuildNextAirSearchPOST /catalog/search/catalogproductofferings/buildnextSearch for flights on next leg
AkarisTravelsAir.SearchAirApibuildOptionsAirSearchPOST /catalog/search/catalogproductofferings/buildoptionsReturn all upsells on a specific flight
AkarisTravelsAir.SearchAirApicreateAirSearchPOST /catalog/search/catalogproductofferingsInitial flight search
AkarisTravelsAir.SearchAirApigetPageAirSearchGET /catalog/search/catalogproductofferingsReturn additional search results (pagination)
AkarisTravelsAir.TicketApigetTicketGET /ticket/tickets/{Identifier}Retrieve a single ticket
AkarisTravelsAir.TicketApiticketGetByLocatorGET /ticket/tickets/getbylocatorRetrieve tickets by locator
AkarisTravelsAir.TicketApiupdateTicketPUT /ticket/tickets/{Identifier}Void ticket for GDS
AkarisTravelsAir.WorkbenchManageAccountingRemarksApicreateAccountingPOST /book/accounting/reservationworkbench/{ReservationResource_Identifier}/accountingsAdd accounting remarks
AkarisTravelsAir.WorkbenchManageAccountingRemarksApideleteAccountingDELETE /book/reservationworkbench/{ReservationResource_Identifier}/accountings/{id}/namevaluepairsDelete accounting remarks
AkarisTravelsAir.WorkbenchManageAccountingRemarksApiupdateAccountingPUT /book/accounting/reservationworkbench/{ReservationResource_Identifier}/accountingsUpdate accounting remarks
AkarisTravelsAir.WorkbenchManageAgencyServiceFeesApiaddAgencyServiceFeePOST /book/reservationworkbench/{ReservationResource_Identifier}/agencyservicefeesAdd Agency ServiceFee
AkarisTravelsAir.WorkbenchManageAgencyServiceFeesApideleteAgencyServiceFeeDELETE /book/reservationworkbench/{ReservationResource_Identifier}/agencyservicefees/{id}AgencyServiceFee - Delete
AkarisTravelsAir.WorkbenchManageDocumentOverridesApicreateDocumentOverridesPOST /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverridesAdd document override remark
AkarisTravelsAir.WorkbenchManageDocumentOverridesApideleteDocumentOverridesDELETE /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverrides/{id}Delete document overrides
AkarisTravelsAir.WorkbenchManageDocumentOverridesApiupdateDocumentOverridesPUT /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverrides/{id}Update document overrides
AkarisTravelsAir.WorkbenchManageFormOfPaymentApiaddFormOfPaymentPOST /payment/reservationworkbench/{ReservationResource_Identifier}/formofpaymentAdd form of payment
AkarisTravelsAir.WorkbenchManageFormOfPaymentApiaddFormOfPaymentsPOST /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayments/listAdd multiple form of payments
AkarisTravelsAir.WorkbenchManageFormOfPaymentApideleteFormOfPaymentDELETE /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayment/{Identifier}Delete form of payment
AkarisTravelsAir.WorkbenchManageFormOfPaymentApiupdateFormOfPaymentPUT /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayment/{Identifier}Update form of payments
AkarisTravelsAir.WorkbenchManageOffersApibuildFromOfferPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferReprice and existing offer in the workbench
AkarisTravelsAir.WorkbenchManageOffersApibuildFromOfferListPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlistAdd an offer with reference to a Price response
AkarisTravelsAir.WorkbenchManageOffersApibuildFromShoppingCartProductsPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromshoppingcartproductsCreate offer from unpriced products in the shopping cart
AkarisTravelsAir.WorkbenchManageOffersApicancelWorkbenchOfferPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/cancelofferCreate a cancel offer quote
AkarisTravelsAir.WorkbenchManageOffersApicancelWorkbenchOffersPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/canceloffersCancel one or more offers within the workbench without refund quote
AkarisTravelsAir.WorkbenchManageOffersApicreateManualOfferPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offersCreate refund or passive offer
AkarisTravelsAir.WorkbenchManageOffersApiworkbenchBuildAncillaryOffersFromCatalogOfferingsPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildancillaryoffersfromcatalogofferingsAdd ancillary offer (ancillary book)
AkarisTravelsAir.WorkbenchManageOffersApiworkbenchBuildFromCatalogOfferingsPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferingsAdd offer to booking - reference payload.
AkarisTravelsAir.WorkbenchManageOffersApiworkbenchBuildFromCatalogProductOfferingsPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogproductofferingsAdd offer to booking - reference payload.
AkarisTravelsAir.WorkbenchManageOffersApiworkbenchBuildFromProductsPOST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromproductsAdd offer to booking - full payload
AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApiaddOrganizationLoyaltyProgramPOST /book/reservationworkbench/{ReservationResource_Identifier}/organizationloyaltyprogramsAdd an Organization Loyalty Program
AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApiaddOrganizationLoyaltyProgramsPOST /book/reservationworkbench/{ReservationResource_Identifier}/organizationloyaltyprograms/listAdd multiple Organization Loyalty Program
AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApideleteOrganizationLoyaltyProgramDELETE /book/reservationworkbench/{ReservationResource_Identifier}/OrganizationLoyaltyPrograms/{id}Delete an Organization Loyalty Program
AkarisTravelsAir.WorkbenchManagePaymentApiaddPaymentPOST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/paymentsAdd payment
AkarisTravelsAir.WorkbenchManagePaymentApiaddPaymentsPOST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/listAdd multiple payments
AkarisTravelsAir.WorkbenchManagePaymentApicancelPaymentPOST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/{id}Cancel a payment and void documents
AkarisTravelsAir.WorkbenchManagePaymentApideletePaymentDELETE /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/{id}Delete a payment
AkarisTravelsAir.WorkbenchManagePaymentApiupdatePaymentPUT /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/paymentsUpdate payment
AkarisTravelsAir.WorkbenchManagePrimaryContactApiaddPrimaryContactPOST /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontactsAdd a primary contact
AkarisTravelsAir.WorkbenchManagePrimaryContactApiaddPrimaryContactsPOST /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts/listAdd multiple primary contacts
AkarisTravelsAir.WorkbenchManagePrimaryContactApideletePrimaryContactDELETE /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts/{id}Delete a primary contact
AkarisTravelsAir.WorkbenchManagePrimaryContactApiupdatePrimaryContactPUT /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontactsUpdate primary contact
AkarisTravelsAir.WorkbenchManageProductsApideleteProductDELETE /book/products/reservationworkbench/{ReservationResource_Identifier}/Products/{id}Delete unpriced products
AkarisTravelsAir.WorkbenchManageProductsApigetProductGET /book/products/reservationworkbench/{ReservationResource_Identifier}/Products/{id}Retrieve unpriced products
AkarisTravelsAir.WorkbenchManageProductsApiproductBuildFromCatalogProductOfferingsPOST /book/products/reservationworkbench/{ReservationResource_Identifier}/shoppingcart/products/buildfromcatalogproductofferingsAdd unpriced products to the workbench by reference to an availability
AkarisTravelsAir.WorkbenchManageProductsApiproductBuildFromProductsPOST /book/products/reservationworkbench/{ReservationResource_Identifier}/shoppingcart/products/buildfromproductsAdd unpriced products to the workbench using full payload
AkarisTravelsAir.WorkbenchManageReservationCommentsApiaddReservationCommentsPOST /book/remarks/reservationworkbench/{ReservationResource_Identifier}/reservationcomments/listAdd Reservation Comments
AkarisTravelsAir.WorkbenchManageReservationCommentsApideleteReservationCommentsDELETE /reservationworkbench/{ReservationResource_Identifier}/reservationcomments/{id}/commentsDelete Reservation Comments
AkarisTravelsAir.WorkbenchManageReservationCommentsApiupdateReservationCommentsPUT /book/remarks/reservationworkbench/{ReservationResource_Identifier}/reservationcommentsUpdate Reservation Comments
AkarisTravelsAir.WorkbenchManageSpecialServicesApiaddSpecialServicesPOST /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices/list%27Add special services
AkarisTravelsAir.WorkbenchManageSpecialServicesApideleteSpecialServicesDELETE /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices/{id}%27Delete a special service
AkarisTravelsAir.WorkbenchManageSpecialServicesApiupdateSpecialServicesPUT /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices%27Update special service
AkarisTravelsAir.WorkbenchManageTravelAgencyApiaddAgencyAddressPOST /reservationworkbench/{ReservationResource_Identifier}/travelagency/addaddressAdd Agency Address
AkarisTravelsAir.WorkbenchManageTravelAgencyApideleteAgencyAddressDELETE /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/deleteaddress/{id}Delete Agency Address
AkarisTravelsAir.WorkbenchManageTravelAgencyApiupdateAgencyAddressPUT /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/updateaddressUpdate Agency Address
AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApiaddCorporateCodePOST /reservationworkbench/{ReservationResource_Identifier}/travelagency/addcorporatecodeAdd Corporate Code
AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApideleteCorporateCodeDELETE /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/deletecorporatecodeDelete Corporate Code
AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApiupdateCorporateCodePUT /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/updatecorporatecodeUpdate Corporate Code
AkarisTravelsAir.WorkbenchManageTravelersApiaddTravelerPOST /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelersAdd traveler and traveler remarks to booking
AkarisTravelsAir.WorkbenchManageTravelersApiaddTravelersPOST /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/listAdd multiple travelers
AkarisTravelsAir.WorkbenchManageTravelersApideleteTravelerDELETE /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id}Delete traveler
AkarisTravelsAir.WorkbenchManageTravelersApigetTravelerGET /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id}Retrieve Traveler
AkarisTravelsAir.WorkbenchManageTravelersApigetTravelersGET /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelersretrieve multiple travelers
AkarisTravelsAir.WorkbenchManageTravelersApiupdateFromTravelerUpdatedItemsPUT /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/updatefromtravelerupdateditems/{id}Modify traveler information after Updatable Items
AkarisTravelsAir.WorkbenchManageTravelersApiupdateTravelerPUT /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id}Update traveler
AkarisTravelsAir.WorkbenchManagementApicreateReservationWorkbenchPOST /book/session/reservationworkbenchCreate a workbench for new booking
AkarisTravelsAir.WorkbenchManagementApicreateReservationWorkbenchFromIdentifierPOST /book/session/reservationworkbench/buildfromidentifier/{Identifier}Create a workbench for existing booking
AkarisTravelsAir.WorkbenchManagementApicreateReservationWorkbenchFromLocatorPOST /book/session/reservationworkbench/buildfromlocatorCreate a workbench for existing booking
AkarisTravelsAir.WorkbenchManagementApiignoreReservationWorkbenchDELETE /book/session/reservationworkbench/{Identifier}Discard workbench
AkarisTravelsAir.WorkbenchManagementApiretrieveReservationWorkbenchGET /book/session/reservationworkbench/{Identifier}Retrieve workbench details
AkarisTravelsAir.WorkbenchTravelerUpdatableItemsApibuildFromTravelerPOST /book/updateableitem/reservationworkbench/{ReservationResource_Identifier}/travelerupdatableitems/buildfromtravelerRetrieve updatable items by traveler

Documentation for Models

11.10.4

7 months ago