1.0.5 • Published 2 months ago

@optimiser/apaleo v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

apaleo_api

ApaleoApi - JavaScript client for apaleo_api Resources and methods to manage apaleo. This SDK is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: v1
  • Build package: org.openapitools.codegen.languages.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 apaleo_api --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your apaleo_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

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 ApaleoApi = require('apaleo_api');

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

var api = new ApaleoApi.AgeCategoryApi()
var id = "id_example"; // {String} The id of the age category.
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.settingsAgeCategoriesByIdDelete(id, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
ApaleoApi.AgeCategoryApisettingsAgeCategoriesByIdDeleteDELETE /settings/v1/age-categories/{id}Delete an age category
ApaleoApi.AgeCategoryApisettingsAgeCategoriesByIdGetGET /settings/v1/age-categories/{id}Get an age category
ApaleoApi.AgeCategoryApisettingsAgeCategoriesByIdPatchPATCH /settings/v1/age-categories/{id}Allows to modify properties of an age category
ApaleoApi.AgeCategoryApisettingsAgeCategoriesGetGET /settings/v1/age-categoriesGet an age category list
ApaleoApi.AgeCategoryApisettingsAgeCategoriesPostPOST /settings/v1/age-categoriesCreate an age category
ApaleoApi.BlockApibookingBlocksByIdDeleteDELETE /booking/v1/blocks/{id}Delete a specific block
ApaleoApi.BlockApibookingBlocksByIdGetGET /booking/v1/blocks/{id}Returns a specific block.
ApaleoApi.BlockApibookingBlocksByIdHeadHEAD /booking/v1/blocks/{id}Check if a block exists
ApaleoApi.BlockApibookingBlocksByIdPatchPATCH /booking/v1/blocks/{id}Allows to modify the block DEPRECATED
ApaleoApi.BlockApibookingBlocksGetGET /booking/v1/blocksReturns a list of blocks
ApaleoApi.BlockApibookingBlocksPostPOST /booking/v1/blocksCreates a block
ApaleoApi.BlockApibookingBlockscountGetGET /booking/v1/blocks/$countReturns number of blocks
ApaleoApi.BlockActionsApibookingBlockActionsByIdAmendPutPUT /booking/v1/block-actions/{id}/amendAllow to modify a block
ApaleoApi.BlockActionsApibookingBlockActionsByIdCancelPutPUT /booking/v1/block-actions/{id}/cancelCancel a block.
ApaleoApi.BlockActionsApibookingBlockActionsByIdConfirmPutPUT /booking/v1/block-actions/{id}/confirmConfirm a block.
ApaleoApi.BlockActionsApibookingBlockActionsByIdReleasePutPUT /booking/v1/block-actions/{id}/releaseRelease a block.
ApaleoApi.BlockActionsApibookingBlockActionsByIdWashPutPUT /booking/v1/block-actions/{id}/washWash a block.
ApaleoApi.BookingApibookingBookingsByIdGetGET /booking/v1/bookings/{id}Returns a specific booking.
ApaleoApi.BookingApibookingBookingsByIdPatchPATCH /booking/v1/bookings/{id}Allows to modify certain booking properties
ApaleoApi.BookingApibookingBookingsByIdReservationsPostPOST /booking/v1/bookings/{id}/reservationsAdd one or multiple reservations to an existing booking.
ApaleoApi.BookingApibookingBookingsByIdReservationsforcePostPOST /booking/v1/bookings/{id}/reservations/$forceAdd one or multiple reservations to an existing booking regardless of availability or restrictions.
ApaleoApi.BookingApibookingBookingsGetGET /booking/v1/bookingsReturns a list of all bookings, filtered by the specified parameters.
ApaleoApi.BookingApibookingBookingsPostPOST /booking/v1/bookingsCreates a booking for one or more reservations.
ApaleoApi.BookingApibookingBookingsforcePostPOST /booking/v1/bookings/$forceCreates a booking for one or more reservations regardless of availability or restrictions.
ApaleoApi.CancellationPolicyApirateplanCancellationPoliciesByIdDeleteDELETE /rateplan/v1/cancellation-policies/{id}Delete a cancellation policy
ApaleoApi.CancellationPolicyApirateplanCancellationPoliciesByIdGetGET /rateplan/v1/cancellation-policies/{id}Get a specific cancellation policy.
ApaleoApi.CancellationPolicyApirateplanCancellationPoliciesByIdPatchPATCH /rateplan/v1/cancellation-policies/{id}Allows to modify properties of a cancellation policy
ApaleoApi.CancellationPolicyApirateplanCancellationPoliciesGetGET /rateplan/v1/cancellation-policiesGet all cancellation policies.
ApaleoApi.CancellationPolicyApirateplanCancellationPoliciesPostPOST /rateplan/v1/cancellation-policiesCreate a cancellation policy.
ApaleoApi.CapturePoliciesApisettingsCapturePoliciesByIdGetGET /settings/v1/capture-policies/{id}Get a specific capture policy.
ApaleoApi.CapturePoliciesApisettingsCapturePoliciesByIdPatchPATCH /settings/v1/capture-policies/{id}Allows to modify properties of a capture policy.
ApaleoApi.CapturePoliciesApisettingsCapturePoliciesGetGET /settings/v1/capture-policiesGet all capture policies.
ApaleoApi.CityTaxApisettingsCityTaxByIdDeleteDELETE /settings/v1/city-tax/{id}Delete a city tax
ApaleoApi.CityTaxApisettingsCityTaxByIdGetGET /settings/v1/city-tax/{id}Get a specific city tax.
ApaleoApi.CityTaxApisettingsCityTaxByIdPatchPATCH /settings/v1/city-tax/{id}Allows to modify city tax
ApaleoApi.CityTaxApisettingsCityTaxGetGET /settings/v1/city-taxGet all city taxes.
ApaleoApi.CityTaxApisettingsCityTaxPostPOST /settings/v1/city-taxCreate a city tax.
ApaleoApi.CompanyApirateplanCompaniesByIdDeleteDELETE /rateplan/v1/companies/{id}Delete a company
ApaleoApi.CompanyApirateplanCompaniesByIdGetGET /rateplan/v1/companies/{id}Get a company
ApaleoApi.CompanyApirateplanCompaniesByIdPatchPATCH /rateplan/v1/companies/{id}Modify a company
ApaleoApi.CompanyApirateplanCompaniesGetGET /rateplan/v1/companiesGet a list of companies
ApaleoApi.CompanyApirateplanCompaniesPostPOST /rateplan/v1/companiesCreate a company
ApaleoApi.CorporateCodesApirateplanCorporateCodesCodesGetGET /rateplan/v1/corporate-codes/codesReturns a list of corporate codes.
ApaleoApi.CustomSubAccountsApisettingsSubAccountsByIdDeleteDELETE /settings/v1/sub-accounts/{id}Delete a custom sub-account
ApaleoApi.CustomSubAccountsApisettingsSubAccountsByIdGetGET /settings/v1/sub-accounts/{id}Returns one sub-account.
ApaleoApi.CustomSubAccountsApisettingsSubAccountsByIdHeadHEAD /settings/v1/sub-accounts/{id}Check if the sub-account exists.
ApaleoApi.CustomSubAccountsApisettingsSubAccountsByIdPatchPATCH /settings/v1/sub-accounts/{id}Allows to modify the name of the sub-account.
ApaleoApi.CustomSubAccountsApisettingsSubAccountsGetGET /settings/v1/sub-accountsReturns a list of all sub-accounts.
ApaleoApi.CustomSubAccountsApisettingsSubAccountsPostPOST /settings/v1/sub-accountsCreate a sub-account.
ApaleoApi.CustomSubAccountsApisettingsSubAccountscountGetGET /settings/v1/sub-accounts/$countReturns number of sub-accounts.
ApaleoApi.FeatureSettingsApisettingsFeaturesByPropertyIdGetGET /settings/v1/features/{propertyId}Get feature settings for a property.
ApaleoApi.FeatureSettingsApisettingsFeaturesByPropertyIdPatchPATCH /settings/v1/features/{propertyId}Allows to modify feature settings
ApaleoApi.FolioApifinanceFoliosByIdDeleteDELETE /finance/v1/folios/{id}Deletes a folio.
ApaleoApi.FolioApifinanceFoliosByIdGetGET /finance/v1/folios/{id}Returns one folio.
ApaleoApi.FolioApifinanceFoliosByIdHeadHEAD /finance/v1/folios/{id}Check if the folio exists.
ApaleoApi.FolioApifinanceFoliosByIdPatchPATCH /finance/v1/folios/{id}Allows to modify certain properties of a folio
ApaleoApi.FolioApifinanceFoliosGetGET /finance/v1/foliosReturns a list of all folios.
ApaleoApi.FolioApifinanceFoliosPostPOST /finance/v1/foliosCreate additional folios for a reservation, or new external folios
ApaleoApi.FolioApifinanceFolioscountGetGET /finance/v1/folios/$countReturns number of folios.
ApaleoApi.FolioActionsApifinanceFolioActionsBulkMovePutPUT /finance/v1/folio-actions/bulk-moveMove multiple charges from one folio to another. Multiple source folios and multiple target folios can be specified.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdAllowancesPostPOST /finance/v1/folio-actions/{folioId}/allowancesPosts an allowance for a folio
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdBulkAllowancesPostPOST /finance/v1/folio-actions/{folioId}/bulk-allowancesPosts allowances for a folio
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdCancellationFeePostPOST /finance/v1/folio-actions/{folioId}/cancellation-feeAdds and directly posts a cancellation fee to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added. If a routing instruction is defined for the cancellation fee service type, the fee will be moved to the destination folio.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdChargesByChargeIdAllowancesPostPOST /finance/v1/folio-actions/{folioId}/charges/{chargeId}/allowancesPosts an allowance for a charge
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdChargesByChargeIdSplitPostPOST /finance/v1/folio-actions/{folioId}/charges/{chargeId}/splitSplits a charge into two using the percent or amount provided Creates an allowance and two new charges.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdChargesPostPOST /finance/v1/folio-actions/{folioId}/chargesAdds and directly posts a charge to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdClosePutPUT /finance/v1/folio-actions/{folioId}/closeCloses a folio.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdCorrectPostPOST /finance/v1/folio-actions/{folioId}/correctCorrects a folio by moving some charges. This operation creates a new folio with the charges from the request. The payment, equal to the sum of charges, is also split to this new folio so that both folios will have 0 balance.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdMoveAllChargesPutPUT /finance/v1/folio-actions/{folioId}/move-all-chargesMove all charges and transitory charges from one folio to another.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdMoveChargesPutPUT /finance/v1/folio-actions/{folioId}/move-chargesMove multiple charges, allowances and transitory charges from one folio to another.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdMovePaymentsPutPUT /finance/v1/folio-actions/{folioId}/move-paymentsMove multiple payments from one guest/booking folio to another.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdNoShowFeePostPOST /finance/v1/folio-actions/{folioId}/no-show-feeAdds and directly posts a no-show fee to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added. If a routing instruction is defined for the no-show fee service type, the fee will be moved to the destination folio.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdPaymentsByPaymentIdSplitPostPOST /finance/v1/folio-actions/{folioId}/payments/{paymentId}/splitSplits a payment into two using the percent or amount provided Creates a refund and two new payments.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdPostChargesPutPUT /finance/v1/folio-actions/{folioId}/post-chargesPosts all unposted charges for the whole length of stay.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdReopenPutPUT /finance/v1/folio-actions/{folioId}/reopenReopens a folio.
ApaleoApi.FolioActionsApifinanceFolioActionsByFolioIdTransitoryChargesPostPOST /finance/v1/folio-actions/{folioId}/transitory-chargesAdds and directly posts a transitory charge to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByAuthorizationPostPOST /finance/v1/folios/{folioId}/payments/by-authorizationCaptures a specific amount from a pre-authorization and posts it to the folio.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByLinkPostPOST /finance/v1/folios/{folioId}/payments/by-linkCreates a link to a payment form where guests can pay.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByPaymentAccountPostPOST /finance/v1/folios/{folioId}/payments/by-payment-accountTrigger a payment using the payment account stored on the reservation.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByPaymentIdCancelPutPUT /finance/v1/folios/{folioId}/payments/{paymentId}/cancelCancels a payment.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByPaymentIdGetGET /finance/v1/folios/{folioId}/payments/{paymentId}Get a payment by ID.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByPaymentIdRefundsPostPOST /finance/v1/folios/{folioId}/payments/{paymentId}/refundsTrigger a refund for a specific payment.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsByTerminalPostPOST /finance/v1/folios/{folioId}/payments/by-terminalTrigger a payment on a card terminal for the folio.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsGetGET /finance/v1/folios/{folioId}/paymentsGet a list of payments.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdPaymentsPostPOST /finance/v1/folios/{folioId}/paymentsTrigger a custom payment for the folio.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdRefundsByRefundIdGetGET /finance/v1/folios/{folioId}/refunds/{refundId}Get a refund by ID.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdRefundsGetGET /finance/v1/folios/{folioId}/refundsGet a list of refunds.
ApaleoApi.FolioPaymentsApifinanceFoliosByFolioIdRefundsPostPOST /finance/v1/folios/{folioId}/refundsTrigger a refund for the folio.
ApaleoApi.GroupApibookingGroupsByIdDeleteDELETE /booking/v1/groups/{id}Delete a certain group booking
ApaleoApi.GroupApibookingGroupsByIdGetGET /booking/v1/groups/{id}Returns a specific group booking.
ApaleoApi.GroupApibookingGroupsByIdHeadHEAD /booking/v1/groups/{id}Check if a certain group booking exists
ApaleoApi.GroupApibookingGroupsByIdPatchPATCH /booking/v1/groups/{id}Allows to modify certain group booking properties
ApaleoApi.GroupApibookingGroupsByIdReservationsPostPOST /booking/v1/groups/{id}/reservationsAdd one or multiple reservations to an existing group booking using blocked inventory.
ApaleoApi.GroupApibookingGroupsGetGET /booking/v1/groupsReturns a list of all group bookings, filtered by the specified parameters.
ApaleoApi.GroupApibookingGroupsPostPOST /booking/v1/groupsCreates a group booking.
ApaleoApi.GroupApibookingGroupscountGetGET /booking/v1/groups/$countReturns number of group bookings
ApaleoApi.InvoiceApifinanceInvoicesByIdGetGET /finance/v1/invoices/{id}Gets invoice data.
ApaleoApi.InvoiceApifinanceInvoicesByIdPdfGetGET /finance/v1/invoices/{id}/pdfGets an invoice PDF file.
ApaleoApi.InvoiceApifinanceInvoicesGetGET /finance/v1/invoicesGets the list of all invoices (the metadata only, not the files).
ApaleoApi.InvoiceApifinanceInvoicesPostPOST /finance/v1/invoicesCreates an invoice for one specific folio.
ApaleoApi.InvoiceApifinanceInvoicesPreviewGetGET /finance/v1/invoices/previewGets an invoice preview for one specific folio.
ApaleoApi.InvoiceApifinanceInvoicesPreviewPdfGetGET /finance/v1/invoices/preview-pdfGets a preview invoice PDF for one specific folio.
ApaleoApi.InvoiceActionApifinanceInvoiceActionsByIdCancelPutPUT /finance/v1/invoice-actions/{id}/cancelCancels an invoice
ApaleoApi.InvoiceActionApifinanceInvoiceActionsByIdPayPutPUT /finance/v1/invoice-actions/{id}/payMarks an invoice as paid.
ApaleoApi.InvoiceAddressApisettingsInvoiceAddressGetGET /settings/v1/invoice-addressGet invoice addresses
ApaleoApi.InvoiceAddressApisettingsInvoiceAddressPatchPATCH /settings/v1/invoice-addressChange fields in the invoice address of one or more properties.
ApaleoApi.InvoiceAddressApisettingsInvoiceAddressPutPUT /settings/v1/invoice-addressCreate or update invoice addresses for one or more properties.
ApaleoApi.LanguagesApisettingsLanguagesGetGET /settings/v1/languagesGet the language settings for the account
ApaleoApi.LanguagesApisettingsLanguagesPutPUT /settings/v1/languagesReplaces the language settings for the account
ApaleoApi.MarketSegmentApisettingsMarketSegmentsByIdDeleteDELETE /settings/v1/market-segments/{id}Delete a market segment.
ApaleoApi.MarketSegmentApisettingsMarketSegmentsByIdGetGET /settings/v1/market-segments/{id}Get a market segment.
ApaleoApi.MarketSegmentApisettingsMarketSegmentsByIdHeadHEAD /settings/v1/market-segments/{id}Check if a market segment exists.
ApaleoApi.MarketSegmentApisettingsMarketSegmentsByIdPatchPATCH /settings/v1/market-segments/{id}Allows to modify market segment.
ApaleoApi.MarketSegmentApisettingsMarketSegmentsGetGET /settings/v1/market-segmentsReturns a list of all market segments, filtered by the specified parameters.
ApaleoApi.MarketSegmentApisettingsMarketSegmentsPostPOST /settings/v1/market-segmentsCreate a market segment
ApaleoApi.MarketSegmentApisettingsMarketSegmentscountGetGET /settings/v1/market-segments/$countReturns number of market segments.
ApaleoApi.NoShowPolicyApirateplanNoShowPoliciesByIdDeleteDELETE /rateplan/v1/no-show-policies/{id}Delete a no-show policy
ApaleoApi.NoShowPolicyApirateplanNoShowPoliciesByIdGetGET /rateplan/v1/no-show-policies/{id}Get a specific no-show policy.
ApaleoApi.NoShowPolicyApirateplanNoShowPoliciesByIdPatchPATCH /rateplan/v1/no-show-policies/{id}Allows to modify properties of a no-show policy
ApaleoApi.NoShowPolicyApirateplanNoShowPoliciesGetGET /rateplan/v1/no-show-policiesGet all no-show policies.
ApaleoApi.NoShowPolicyApirateplanNoShowPoliciesPostPOST /rateplan/v1/no-show-policiesCreate a no-show policy.
ApaleoApi.OfferApibookingOfferIndexGetGET /booking/v1/offer-indexReturns offers with rates and availabilities for the specified range.
ApaleoApi.OfferApibookingOffersGetGET /booking/v1/offersReturns offers for one specific stay.
ApaleoApi.OfferApibookingRatePlanOffersGetGET /booking/v1/rate-plan-offersReturns offers for a specific rate plan.
ApaleoApi.OfferApibookingServiceOffersGetGET /booking/v1/service-offersReturns service offers for one specific stay.
ApaleoApi.PromoCodesApirateplanPromoCodesCodesGetGET /rateplan/v1/promo-codes/codesReturns a list of promo codes.
ApaleoApi.PropertyApiinventoryPropertiesByIdGetGET /inventory/v1/properties/{id}Get a property
ApaleoApi.PropertyApiinventoryPropertiesByIdHeadHEAD /inventory/v1/properties/{id}Check if a property exists
ApaleoApi.PropertyApiinventoryPropertiesByIdPatchPATCH /inventory/v1/properties/{id}Allows to modify property
ApaleoApi.PropertyApiinventoryPropertiesGetGET /inventory/v1/propertiesGet a properties list
ApaleoApi.PropertyApiinventoryPropertiesPostPOST /inventory/v1/propertiesCreates a property
ApaleoApi.PropertyApiinventoryPropertiescountGetGET /inventory/v1/properties/$countReturn total count of properties
ApaleoApi.PropertyActionsApiinventoryPropertyActionsByIdArchivePutPUT /inventory/v1/property-actions/{id}/archiveArchive a property
ApaleoApi.PropertyActionsApiinventoryPropertyActionsByIdClonePostPOST /inventory/v1/property-actions/{id}/cloneClones a property
ApaleoApi.PropertyActionsApiinventoryPropertyActionsByIdResetPutPUT /inventory/v1/property-actions/{id}/resetReset a test property and delete all transactional data
ApaleoApi.PropertyActionsApiinventoryPropertyActionsByIdSetLivePutPUT /inventory/v1/property-actions/{id}/set-liveMove property to live
ApaleoApi.PropertySettingsApisettingsPropertiesByIdGetGET /settings/v1/properties/{id}Get property settings
ApaleoApi.RateApirateplanRatePlansByIdRatesDeleteDELETE /rateplan/v1/rate-plans/{id}/ratesDeletes the rates for the rate plan
ApaleoApi.RateApirateplanRatePlansByIdRatesGetGET /rateplan/v1/rate-plans/{id}/ratesReturns a list of rates.
ApaleoApi.RateApirateplanRatePlansByIdRatesPutPUT /rateplan/v1/rate-plans/{id}/ratesInitializes and changes the rates for the rate plan.
ApaleoApi.RateApirateplanRatePlansByIdRatescountGetGET /rateplan/v1/rate-plans/{id}/rates/$countReturns the number of rates for a specific rate plan within the specifed time range.
ApaleoApi.RateApirateplanRatesPatchPATCH /rateplan/v1/ratesAllows to patch the rates of multiple rate plans.
ApaleoApi.RatePlanApirateplanRatePlansByIdDeleteDELETE /rateplan/v1/rate-plans/{id}Delete a rate plan
ApaleoApi.RatePlanApirateplanRatePlansByIdGetGET /rateplan/v1/rate-plans/{id}Get a rate plan
ApaleoApi.RatePlanApirateplanRatePlansByIdHeadHEAD /rateplan/v1/rate-plans/{id}Check if a rate plan exists
ApaleoApi.RatePlanApirateplanRatePlansByIdPutPUT /rateplan/v1/rate-plans/{id}Replace a rate plan
ApaleoApi.RatePlanApirateplanRatePlansDeleteDELETE /rateplan/v1/rate-plansDelete multiple rate plans
ApaleoApi.RatePlanApirateplanRatePlansGetGET /rateplan/v1/rate-plansGet a rate plan list
ApaleoApi.RatePlanApirateplanRatePlansPatchPATCH /rateplan/v1/rate-plansAllows to patch one or more rate plans
ApaleoApi.RatePlanApirateplanRatePlansPostPOST /rateplan/v1/rate-plansCreate a rate plan
ApaleoApi.RatePlanApirateplanRatePlanscountGetGET /rateplan/v1/rate-plans/$countReturns number of rate plans
ApaleoApi.RatePlanCodesApirateplanRateplanCodesGetGET /rateplan/v1/rateplan-codesReturns a list of rate plan codes.
ApaleoApi.ReservationApibookingReservationsByIdGetGET /booking/v1/reservations/{id}Returns a specific reservation.
ApaleoApi.ReservationApibookingReservationsByIdOffersGetGET /booking/v1/reservations/{id}/offersReturns offers for one specific reservation.
ApaleoApi.ReservationApibookingReservationsByIdPatchPATCH /booking/v1/reservations/{id}Allows to modify certain reservation properties
ApaleoApi.ReservationApibookingReservationsByIdServiceOffersGetGET /booking/v1/reservations/{id}/service-offersReturns service offers for one specific reservation.
ApaleoApi.ReservationApibookingReservationsByIdServicesDeleteDELETE /booking/v1/reservations/{id}/servicesRemoves a service from a reservation.
ApaleoApi.ReservationApibookingReservationsByIdServicesGetGET /booking/v1/reservations/{id}/servicesReturns the services booked for a specific reservation.
ApaleoApi.ReservationApibookingReservationsGetGET /booking/v1/reservationsReturns a list of all reservations, filtered by the specified parameters.
ApaleoApi.ReservationApibookingReservationscountGetGET /booking/v1/reservations/$countReturns the number of reservations fulfilling the criteria specified in the parameters.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdAddCityTaxPutPUT /booking/v1/reservation-actions/{id}/add-city-taxAdds the city tax to a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdAmendPutPUT /booking/v1/reservation-actions/{id}/amendAllows you to amend the stay details of a reservation
ApaleoApi.ReservationActionsApibookingReservationActionsByIdAmendforcePutPUT /booking/v1/reservation-actions/{id}/amend/$forceAllows you to amend the stay details of a reservation regardless of availability or restrictions.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdAssignUnitByUnitIdPutPUT /booking/v1/reservation-actions/{id}/assign-unit/{unitId}Assign a specific unit to a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdAssignUnitPutPUT /booking/v1/reservation-actions/{id}/assign-unitAssign a unit to a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdBookServicePutPUT /booking/v1/reservation-actions/{id}/book-serviceBook the service for a specific reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdBookServiceforcePutPUT /booking/v1/reservation-actions/{id}/book-service/$forceBook the service for a specific reservation regardless of availability.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdCancelPutPUT /booking/v1/reservation-actions/{id}/cancelCancel a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdCheckinPutPUT /booking/v1/reservation-actions/{id}/checkinCheck-in of a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdCheckoutPutPUT /booking/v1/reservation-actions/{id}/checkoutCheck-out of a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdNoshowPutPUT /booking/v1/reservation-actions/{id}/noshowSet a reservation to No-show.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdRemoveCityTaxPutPUT /booking/v1/reservation-actions/{id}/remove-city-taxRemoves the city tax from a reservation.
ApaleoApi.ReservationActionsApibookingReservationActionsByIdUnassignUnitsPutPUT /booking/v1/reservation-actions/{id}/unassign-unitsUnassign units from a reservation.
ApaleoApi.ServiceApirateplanServicesByIdDeleteDELETE /rateplan/v1/services/{id}Delete a service
ApaleoApi.ServiceApirateplanServicesByIdGetGET /rateplan/v1/services/{id}Get a specific service.
ApaleoApi.ServiceApirateplanServicesByIdHeadHEAD /rateplan/v1/services/{id}Check if a service exists
ApaleoApi.ServiceApirateplanServicesByIdPatchPATCH /rateplan/v1/services/{id}Modify a service.
ApaleoApi.ServiceApirateplanServicesGetGET /rateplan/v1/servicesGet all services.
ApaleoApi.ServiceApirateplanServicesPostPOST /rateplan/v1/servicesCreate a service.
ApaleoApi.ServiceApirateplanServicescountGetGET /rateplan/v1/services/$countReturns number of services.
ApaleoApi.SubLedgerApifinanceAccountsAggregateDailyPostPOST /finance/v1/accounts/aggregate-dailyAggregates transactions by date (business day) for all accounts and a given period.
ApaleoApi.SubLedgerApifinanceAccountsAggregatePairsDailyPostPOST /finance/v1/accounts/aggregate-pairs-dailyAggregates transactions pairs by date (business day) for all accounts and a given period.
ApaleoApi.SubLedgerApifinanceAccountsAggregatePostPOST /finance/v1/accounts/aggregateAggregates transactions by timestamp for all accounts and a given period.
ApaleoApi.SubLedgerApifinanceAccountsByNumberGetGET /finance/v1/accounts/{number}Returns one account.
ApaleoApi.SubLedgerApifinanceAccountsChildAccountsGetGET /finance/v1/accounts/child-accountsReturns a list of child accounts for a specified parent account.
ApaleoApi.SubLedgerApifinanceAccountsExportDailyPostPOST /finance/v1/accounts/export-dailyReturns transactions filtered by date (business day) for a property for a given period.
ApaleoApi.SubLedgerApifinanceAccountsExportGrossDailyPostPOST /finance/v1/accounts/export-gross-dailyReturns gross transactions filtered by date (business day) for a property for a given period.
ApaleoApi.SubLedgerApifinanceAccountsExportPostPOST /finance/v1/accounts/exportReturns transactions filtered by timestamp for a property for a given period.
ApaleoApi.SubLedgerApifinanceAccountsSchemaGetGET /finance/v1/accounts/schemaReturns the chart of accounts of the subledger.
ApaleoApi.SubLedgerApifinanceExternalAccountsGetGET /finance/v1/external-accountsReturns a list of external accounts.
ApaleoApi.SubLedgerApifinanceGlobalAccountsGetGET /finance/v1/global-accountsReturns a list of global accounts.
ApaleoApi.SubLedgerApifinanceGuestAccountsGetGET /finance/v1/guest-accountsReturns a list of guest accounts.
ApaleoApi.TimeSliceDefinitionsApisettingsPropertiesByPropertyIdTimeSliceDefinitionsByIdDeleteDELETE /settings/v1/properties/{propertyId}/time-slice-definitions/{id}Delete a certain time slice definition
ApaleoApi.TimeSliceDefinitionsApisettingsPropertiesByPropertyIdTimeSliceDefinitionsByIdGetGET /settings/v1/properties/{propertyId}/time-slice-definitions/{id}Get a specific time slice definition
ApaleoApi.TimeSliceDefinitionsApisettingsPropertiesByPropertyIdTimeSliceDefinitionsByIdPatchPATCH /settings/v1/properties/{propertyId}/time-slice-definitions/{id}Modifies a specific time slice definition for the property
ApaleoApi.TimeSliceDefinitionsApisettingsPropertiesByPropertyIdTimeSliceDefinitionsGetGET /settings/v1/properties/{propertyId}/time-slice-definitionsGet time slice definitions
ApaleoApi.TimeSliceDefinitionsApisettingsPropertiesByPropertyIdTimeSliceDefinitionsPostPOST /settings/v1/properties/{propertyId}/time-slice-definitionsCreates a time slice definition
ApaleoApi.TypesApibookingTypesSourcesGetGET /booking/v1/types/sourcesReturns a list of supported sources.
ApaleoApi.TypesApifinanceTypesCurrenciesGetGET /finance/v1/types/currenciesReturns a list of all currencies.
ApaleoApi.TypesApifinanceTypesPaymentMethodsGetGET /finance/v1/types/payment-methodsReturns a list of all supported payment methods.
ApaleoApi.TypesApifinanceTypesServiceTypesGetGET /finance/v1/types/service-typesReturns a list of all supported service types.
ApaleoApi.TypesApifinanceTypesVatGetGET /finance/v1/types/vatReturns a list of all VAT types.
ApaleoApi.TypesApiinventoryTypesCountriesGetGET /inventory/v1/types/countriesReturns a list of supported countries.
ApaleoApi.UnitApiinventoryUnitsBulkPostPOST /inventory/v1/units/bulkCreate multiple units
ApaleoApi.UnitApiinventoryUnitsByIdDeleteDELETE /inventory/v1/units/{id}Delete a unit
ApaleoApi.UnitApiinventoryUnitsByIdGetGET /inventory/v1/units/{id}Get a unit
ApaleoApi.UnitApiinventoryUnitsByIdHeadHEAD /inventory/v1/units/{id}Check if a unit exists
ApaleoApi.UnitApiinventoryUnitsByIdPatchPATCH /inventory/v1/units/{id}Allows to patch unit
ApaleoApi.UnitApiinventoryUnitsGetGET /inventory/v1/unitsGet a units list
ApaleoApi.UnitApiinventoryUnitsPatchPATCH /inventory/v1/unitsAllows to patch one or more units
ApaleoApi.UnitApiinventoryUnitsPostPOST /inventory/v1/unitsCreate a unit
ApaleoApi.UnitApiinventoryUnitscountGetGET /inventory/v1/units/$countReturns number of units
ApaleoApi.UnitAttributeApiinventoryUnitAttributesByIdDeleteDELETE /inventory/v1/unit-attributes/{id}Deletes unit attribute
ApaleoApi.UnitAttributeApiinventoryUnitAttributesByIdGetGET /inventory/v1/unit-attributes/{id}Get unit attribute by id
ApaleoApi.UnitAttributeApiinventoryUnitAttributesByIdHeadHEAD /inventory/v1/unit-attributes/{id}Check if a unit attribute exists
ApaleoApi.UnitAttributeApiinventoryUnitAttributesByIdPatchPATCH /inventory/v1/unit-attributes/{id}Allows to modify unit attribute
ApaleoApi.UnitAttributeApiinventoryUnitAttributesGetGET /inventory/v1/unit-attributesGet unit attribute list
ApaleoApi.UnitAttributeApiinventoryUnitAttributesPostPOST /inventory/v1/unit-attributesCreate a unit attribute
ApaleoApi.UnitGroupApiinventoryUnitGroupsByIdDeleteDELETE /inventory/v1/unit-groups/{id}Delete a unit group
ApaleoApi.UnitGroupApiinventoryUnitGroupsByIdGetGET /inventory/v1/unit-groups/{id}Get a unit group
ApaleoApi.UnitGroupApiinventoryUnitGroupsByIdHeadHEAD /inventory/v1/unit-groups/{id}Check if a unit group exists
ApaleoApi.UnitGroupApiinventoryUnitGroupsByIdPutPUT /inventory/v1/unit-groups/{id}Replace a unit group
ApaleoApi.UnitGroupApiinventoryUnitGroupsGetGET /inventory/v1/unit-groupsGet all unit groups, or all unit groups for a property
ApaleoApi.UnitGroupApiinventoryUnitGroupsPostPOST /inventory/v1/unit-groupsCreate a unit group
ApaleoApi.UnitGroupApiinventoryUnitGroupscountGetGET /inventory/v1/unit-groups/$countReturns number of unit groups

Documentation for Models

1.0.5

2 months ago

1.0.4

2 months ago

1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago