apaleo

App · 26 actions

Manage hotel reservations, bookings, units and companies in apaleo, and watch for new, changed and checked-in reservations.

Actions

ActionWhat it does
Assign a unit to a reservationAssign a specific unit (room) to a reservation.
Cancel a reservationCancel a confirmed reservation.
Check in a reservationCheck the guest in.
Check out a reservationCheck the guest out.
Create a bookingBook a stay for one guest on a rate plan, one reservation for the whole stay.
Create a companyCreate a company for corporate rates and invoicing.
Delete a companyDelete a company.
Find available offersFind the rate plans and prices available for a stay.
Get a bookingGet one booking with its booker and reservations.
Get a companyGet one company's details.
Get a propertyGet one property's details.
Get a rate planGet one rate plan's details.
Get a reservationGet one reservation with its guest, stay and balance.
Get a unitGet one unit's details and status.
Get a unit groupGet one unit group's details.
List bookingsList bookings, the groups of reservations made together.
List companiesList the companies set up for corporate rates and invoicing.
List propertiesList the properties (hotels) in the apaleo account.
List rate plansList rate plans, optionally for one property.
List reservationsList reservations, filtered by property, status and dates.
List unit groupsList unit groups (room types), optionally for one property.
List unitsList units (rooms), with their occupancy and housekeeping condition.
Mark a reservation as no-showMark a reservation whose guest did not arrive as no-show.
Update a companyChange a company's name, invoicing email, phone, tax ID or account checkout.
Update a reservationChange a reservation's comments, travel purpose or pre-check-in flag.
Update a unitChange a unit's housekeeping condition, name or capacity.

Assign a unit to a reservation

Assign a specific unit (room) to a reservation.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.
Unitunit_idtextRequired
The unit (room) to assign.
Lock unitlock_unittrue/false
Lock the unit so it is not moved automatically.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "unit": {
      "description": "example",
      "id": "example",
      "name": "example",
      "unitGroupId": "example"
    }
  }
}

Cancel a reservation

Cancel a confirmed reservation. Cancellation fees may apply.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Check in a reservation

Check the guest in. The reservation needs a unit assigned.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Check out a reservation

Check the guest out.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Create a booking

Book a stay for one guest on a rate plan, one reservation for the whole stay.

Inputs

Rate planrate_plan_idtextRequired
The rate plan to book for every night.
ArrivalarrivaldateRequired
Arrival date.
DeparturedeparturedateRequired
Departure date, after the arrival date.
AdultsadultsnumberRequired
Number of adults.At least 1.
Channel codechannel_codetext
The sales channel. Direct unless another applies.One of: Direct, BookingCom, Ibe, ChannelManager, Expedia, Homelike, Hrs, AltoVita, DesVu, Gimsi. Default: Direct.
Guarantee typeguarantee_typetext
How the reservation is guaranteed. Leave blank for the rate plan's own.One of: PM6Hold, CreditCard, Prepayment, Company.
Booker first namebooker_first_nametext
The booker's first name.
Booker last namebooker_last_nametextRequired
The booker's last name. The booker is also the guest.
Booker emailbooker_emailtext
The booker's email address.
Booker phonebooker_phonetext
The booker's phone number.
Commentcommenttext
A note for the hotel staff.
Guest commentguest_commenttext
A comment from the guest.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "id": "example",
    "reservationIds": []
  }
}

Create a company

Create a company for corporate rates and invoicing.

Inputs

Propertyproperty_idtextRequired
The property (hotel).
CodecodetextRequired
A short code for the company, unique in the property.
NamenametextRequired
The company's name.
Address line 1address_line_1textRequired
First line of the company's address.
Address line 2address_line_2text
Second line of the company's address.
Postal codepostal_codetextRequired
The postal code.
CitycitytextRequired
The city.
Country codecountry_codetextRequired
Two-letter country code, such as DE.
Can check out on arcan_check_out_on_artrue/falseRequired
Whether guests of this company can check out on account (invoice).
Invoicing emailinvoicing_emailtext
The email address for invoices.
Phonephonetext
The company's phone number.
Tax IDtax_idtext
The company's tax ID.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "id": "example"
  }
}

Delete a company

Delete a company. It is also removed from rate plans that have not used it.

Inputs

Companycompany_idtextRequired
The company to delete.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Find available offers

Find the rate plans and prices available for a stay.

Inputs

Propertyproperty_idtextRequired
The property (hotel).
ArrivalarrivaldateRequired
Arrival date.
DeparturedeparturedateRequired
Departure date.
AdultsadultsnumberRequired
Number of adults.At least 1.
Channel codechannel_codetext
Only offers for this sales channel.One of: Direct, BookingCom, Ibe, ChannelManager, Expedia, Homelike, Hrs, AltoVita, DesVu, Gimsi.
Unit groupsunit_group_idslist
Only offers for these unit groups.
Include unavailableinclude_unavailabletrue/false
Also return offers that restrictions make unbookable.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "offers": [],
    "property": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    }
  }
}

Get a booking

Get one booking with its booker and reservations.

Inputs

Booking IDbooking_idtextRequired
The booking ID.

Outputs

dataobject
A booking holds all shared metadata for a set of reservations
Example output
{
  "data": {
    "booker": {
      "address": {},
      "birthDate": "example",
      "birthPlace": "example",
      "company": {},
      "email": "example",
      "firstName": "example",
      "gender": "Female",
      "identificationExpiryDate": "example",
      "identificationIssueDate": "example",
      "identificationNumber": "example",
      "identificationType": "SocialInsuranceNumber",
      "lastName": "example",
      "middleInitial": "example",
      "nationalityCountryCode": "example",
      "phone": "example",
      "preferredLanguage": "example",
      "title": "Mr"
    },
    "bookerComment": "example",
    "comment": "example",
    "created": "example",
    "groupId": "example",
    "hasActivePaymentAccount": false,
    "id": "example",
    "modified": "example",
    "paymentAccount": {
      "accountHolder": "example",
      "accountNumber": "example",
      "expiryMonth": "example",
      "expiryYear": "example",
      "inactiveReason": "example",
      "isActive": false,
      "isVirtual": false,
      "payerEmail": "example",
      "payerReference": "example",
      "paymentMethod": "example"
    },
    "propertyValues": [],
    "registeredCard": {
      "cardHolder": "example",
      "cardNumber": "example",
      "expiryMonth": "example",
      "expiryYear": "example",
      "isVirtual": false,
      "note": "example",
      "payerEmail": "example",
      "paymentMethod": "example"
    },
    "reservations": []
  }
}

Get a company

Get one company's details.

Inputs

Companycompany_idtextRequired
The company.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "additionalTaxId": "example",
    "additionalTaxId2": "example",
    "address": {
      "addressLine1": "example",
      "addressLine2": "example",
      "city": "example",
      "countryCode": "example",
      "postalCode": "example",
      "regionCode": "example"
    },
    "canCheckOutOnAr": false,
    "code": "example",
    "id": "example",
    "invoiceNetworkIdentity": {
      "id": "example",
      "network": "Peppol"
    },
    "invoicingEmail": "example",
    "name": "example",
    "phone": "example",
    "propertyId": "example",
    "ratePlans": [],
    "taxId": "example"
  }
}

Get a property

Get one property's details.

Inputs

Propertyproperty_idtextRequired
The property (hotel).

Outputs

dataobject
With this request you can create a new property
Example output
{
  "data": {
    "actions": [],
    "bankAccount": {
      "bank": "example",
      "bic": "example",
      "iban": "example"
    },
    "code": "example",
    "commercialRegisterEntry": "example",
    "companyName": "example",
    "created": "example",
    "currencyCode": "example",
    "description": {},
    "id": "example",
    "isArchived": false,
    "isTemplate": false,
    "location": {
      "addressLine1": "example",
      "addressLine2": "example",
      "city": "example",
      "countryCode": "example",
      "postalCode": "example",
      "regionCode": "example"
    },
    "managingDirectors": "example",
    "name": {},
    "paymentTerms": {},
    "propertyTemplateId": "example",
    "status": "Test",
    "taxId": "example",
    "timeZone": "example"
  }
}

Get a rate plan

Get one rate plan's details.

Inputs

Rate planrate_plan_idtextRequired
The rate plan.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "accountingConfigs": [],
    "ageCategories": [],
    "bookingPeriods": [],
    "cancellationPolicy": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "periodPriorToArrival": {}
    },
    "channelCodes": [],
    "code": "example",
    "companies": [],
    "derivationLevel": 1,
    "description": {},
    "id": "example",
    "includedServices": [],
    "isArchived": false,
    "isBookable": false,
    "isDerived": false,
    "isSubjectToCityTax": false,
    "marketSegment": {
      "code": "example",
      "id": "example",
      "name": "example"
    },
    "minGuaranteeType": "PM6Hold",
    "name": {},
    "noShowPolicy": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    },
    "priceCalculationMode": "Truncate",
    "pricingRule": {
      "baseRatePlan": {},
      "type": "Absolute",
      "value": 1.0
    },
    "promoCodes": [],
    "property": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    },
    "ratesRange": {
      "from": "example",
      "to": "example"
    },
    "restrictions": {
      "lateBookingUntil": "example",
      "maxAdvance": {},
      "minAdvance": {}
    },
    "surcharges": [],
    "timeSliceDefinition": {
      "checkInTime": "example",
      "checkOutTime": "example",
      "id": "example",
      "name": "example",
      "template": "DayUse"
    },
    "unitGroup": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "type": "BedRoom"
    }
  }
}

Get a reservation

Get one reservation with its guest, stay and balance.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "actions": [],
    "additionalGuests": [],
    "adults": 1,
    "allFoliosHaveInvoice": false,
    "arrival": "example",
    "assignedUnits": [],
    "balance": {
      "amount": 1.0,
      "currency": "example"
    },
    "blockId": "example",
    "booker": {
      "address": {},
      "birthDate": "example",
      "birthPlace": "example",
      "company": {},
      "email": "example",
      "firstName": "example",
      "gender": "Female",
      "identificationExpiryDate": "example",
      "identificationIssueDate": "example",
      "identificationNumber": "example",
      "identificationType": "SocialInsuranceNumber",
      "lastName": "example",
      "middleInitial": "example",
      "nationalityCountryCode": "example",
      "phone": "example",
      "preferredLanguage": "example",
      "title": "Mr"
    },
    "bookingId": "example",
    "cancellationFee": {
      "code": "example",
      "description": "example",
      "dueDateTime": "example",
      "fee": {},
      "id": "example",
      "name": "example"
    },
    "cancellationTime": "example",
    "channelCode": "Direct",
    "checkInTime": "example",
    "checkOutTime": "example",
    "childrenAges": [],
    "comment": "example",
    "commission": {
      "beforeCommissionAmount": {},
      "commissionAmount": {}
    },
    "company": {
      "canCheckOutOnAr": false,
      "code": "example",
      "id": "example",
      "name": "example"
    },
    "corporateCode": "example",
    "created": "example",
    "departure": "example",
    "externalCode": "example",
    "externalReferences": {
      "centralReservationSystemId": "example",
      "channelManagerId": "example",
      "globalDistributionSystemId": "example",
      "legacyId": "example",
      "onlineBookingToolId": "example",
      "onlineTravelAgencyId": "example"
    },
    "groupName": "example",
    "guaranteeType": "PM6Hold",
    "guestComment": "example",
    "hasActivePaymentAccount": false,
    "hasCityTax": false,
    "id": "example",
    "isOpenForCharges": false,
    "isPreCheckedIn": false,
    "isUnitAssignmentLocked": false,
    "marketSegment": {
      "code": "example",
      "id": "example",
      "name": "example"
    },
    "modified": "example",
    "noShowFee": {
      "code": "example",
      "description": "example",
      "fee": {},
      "id": "example",
      "name": "example"
    },
    "noShowTime": "example",
    "payableAmount": {
      "guest": {}
    },
    "paymentAccount": {
      "accountHolder": "example",
      "accountNumber": "example",
      "expiryMonth": "example",
      "expiryYear": "example",
      "inactiveReason": "example",
      "isActive": false,
      "isVirtual": false,
      "payerEmail": "example",
      "payerReference": "example",
      "paymentMethod": "example"
    },
    "primaryGuest": {
      "address": {},
      "birthDate": "example",
      "birthFirstName": "example",
      "birthLastName": "example",
      "birthPlace": "example",
      "borderCrossingDate": "example",
      "borderCrossingPlace": "example",
      "company": {},
      "email": "example",
      "firstName": "example",
      "gender": "Female",
      "identificationAdditionalNumber": "example",
      "identificationExpiryDate": "example",
      "identificationIssueDate": "example",
      "identificationIssuePlace": "example",
      "identificationNumber": "example",
      "identificationType": "SocialInsuranceNumber",
      "lastName": "example",
      "middleInitial": "example",
      "motherFirstName": "example",
      "motherLastName": "example",
      "nationalityCountryCode": "example",
      "nextDestination": "example",
      "personalTaxId": "example",
      "phone": "example",
      "preferredLanguage": "example",
      "relationshipToPrimaryGuest": "Grandparent",
      "secondLastName": "example",
      "title": "Mr",
      "vehicleRegistration": {}
    },
    "promoCode": "example",
    "property": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    },
    "ratePlan": {
      "code": "example",
      "description": "example",
      "id": "example",
      "isSubjectToCityTax": false,
      "name": "example"
    },
    "registeredCard": {
      "cardHolder": "example",
      "cardNumber": "example",
      "expiryMonth": "example",
      "expiryYear": "example",
      "isVirtual": false,
      "note": "example",
      "payerEmail": "example",
      "paymentMethod": "example"
    },
    "services": [],
    "source": "example",
    "status": "Confirmed",
    "taxDetails": [],
    "timeSlices": [],
    "totalGrossAmount": {
      "amount": 1.0,
      "currency": "example"
    },
    "travelPurpose": "Business",
    "unit": {
      "description": "example",
      "id": "example",
      "name": "example",
      "unitGroupId": "example"
    },
    "unitGroup": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "type": "BedRoom"
    },
    "validationMessages": []
  }
}

Get a unit

Get one unit's details and status.

Inputs

Unitunit_idtextRequired
The unit (room).

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "actions": [],
    "archived": "example",
    "attributes": [],
    "connectedUnits": [],
    "connectingUnit": {
      "description": "example",
      "id": "example",
      "name": "example",
      "unitGroupId": "example"
    },
    "created": "example",
    "description": {},
    "id": "example",
    "isArchived": false,
    "maxPersons": 1,
    "name": "example",
    "property": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    },
    "status": {
      "condition": "Clean",
      "isOccupied": false,
      "maintenance": {}
    },
    "unitGroup": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "type": "BedRoom"
    }
  }
}

Get a unit group

Get one unit group's details.

Inputs

Unit groupunit_group_idtextRequired
The unit group (room type).

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "code": "example",
    "connectedUnitGroups": [],
    "description": {},
    "id": "example",
    "maxPersons": 1,
    "memberCount": 1,
    "name": {},
    "property": {
      "code": "example",
      "description": "example",
      "id": "example",
      "name": "example"
    },
    "rank": 1,
    "type": "BedRoom"
  }
}

List bookings

List bookings, the groups of reservations made together.

Inputs

Reservation IDreservation_idtext
Only the booking holding this reservation.
Text searchtext_searchtext
Search booker name, email and company.
Channel codechannel_codelist
Only bookings from these channels.One or more of: Direct, BookingCom, Ibe, ChannelManager, Expedia, Homelike, Hrs, AltoVita, DesVu, Gimsi.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "bookings": [],
    "count": 1
  }
}

List companies

List the companies set up for corporate rates and invoicing.

Inputs

Propertyproperty_idtext
The property (hotel).
Text searchtext_searchtext
Only companies whose name contains this text.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "companies": [],
    "count": 1
  }
}

List properties

List the properties (hotels) in the apaleo account.

Inputs

Statusstatuslist
Only properties with these statuses.One or more of: Test, Live.
Include archivedinclude_archivedtrue/false
Include archived properties.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "count": 1,
    "properties": []
  }
}

List rate plans

List rate plans, optionally for one property.

Inputs

Propertyproperty_idtext
The property (hotel).
Channel codeschannel_codeslist
Only rate plans sold through these channels.One or more of: Direct, BookingCom, Ibe, ChannelManager, Expedia, Homelike, Hrs, AltoVita, DesVu, Gimsi.
Include archivedinclude_archivedtrue/false
Include archived rate plans.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "count": 1,
    "ratePlans": []
  }
}

List reservations

List reservations, filtered by property, status and dates.

Inputs

Propertiesproperty_idslist
Only reservations at these properties.
Statusstatuslist
Only reservations with these statuses.One or more of: Confirmed, InHouse, CheckedOut, Canceled, NoShow.
Date filterdate_filtertext
Which date From and To filter on.One of: Arrival, Departure, Stay, Creation, Modification, Cancellation.
Fromstart_timedate and time
Start of the date range for the date filter.
Toend_timedate and time
End of the date range for the date filter.
Booking IDbooking_idtext
Only reservations in this booking.
Text searchtext_searchtext
Search guest and booker names, emails and reservation IDs.
Sortsortlist
Sort order.One or more of: arrival:asc, arrival:desc, departure:asc, departure:desc, created:asc, created:desc, updated:asc, updated:desc.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "count": 1,
    "reservations": []
  }
}

List unit groups

List unit groups (room types), optionally for one property.

Inputs

Propertyproperty_idtext
The property (hotel).
Unit group typesunit_group_typeslist
Only these kinds of unit group.One or more of: BedRoom, MeetingRoom, EventSpace, ParkingLot, Other.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "count": 1,
    "unitGroups": []
  }
}

List units

List units (rooms), with their occupancy and housekeeping condition.

Inputs

Propertyproperty_idtext
The property (hotel).
Unit groupsunit_group_idslist
Only units in these unit groups.
Is occupiedis_occupiedtrue/false
Only occupied units (true) or vacant units (false).
Conditionconditiontext
Only units in this housekeeping condition.One of: Clean, CleanToBeInspected, Dirty.
Maintenance typemaintenance_typetext
Only units with this kind of maintenance.One of: OutOfService, OutOfOrder, OutOfInventory.
Text searchtext_searchtext
Only units whose name contains this text.
Page numberpage_numbernumber
Page to return, starting at 1.At least 1.
Page sizepage_sizenumber
Records per page, up to 500.From 1 to 500.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {
    "count": 1,
    "units": []
  }
}

Mark a reservation as no-show

Mark a reservation whose guest did not arrive as no-show. No-show fees may apply.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Update a company

Change a company's name, invoicing email, phone, tax ID or account checkout.

Inputs

Companycompany_idtextRequired
The company to change.
Namenametext
The company's new name.
Invoicing emailinvoicing_emailtext
The new email address for invoices.
Phonephonetext
The new phone number.
Tax IDtax_idtext
The new tax ID.
Can check out on arcan_check_out_on_artrue/false
Whether guests of this company can check out on account.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Update a reservation

Change a reservation's comments, travel purpose or pre-check-in flag.

Inputs

Reservation IDreservation_idtextRequired
The reservation ID, such as ABCDEF-1.
Commentcommenttext
A new note for the hotel staff.
Guest commentguest_commenttext
A new comment from the guest.
Travel purposetravel_purposetext
Whether the trip is for business or leisure.One of: Business, Leisure.
Is pre checked inis_pre_checked_intrue/false
Mark the reservation as pre-checked-in.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

Update a unit

Change a unit's housekeeping condition, name or capacity.

Inputs

Unitunit_idtextRequired
The unit (room) to change.
Conditionconditiontext
The unit's new housekeeping condition.One of: Clean, CleanToBeInspected, Dirty.
Namenametext
The unit's new name.
Max personsmax_personsnumber
The most people the unit can hold.At least 1.

Outputs

dataobject
The response from apaleo.
Example output
{
  "data": {}
}

On this page