apaleo
App · 26 actions
Manage hotel reservations, bookings, units and companies in apaleo, and watch for new, changed and checked-in reservations.
Actions
| Action | What it does |
|---|---|
| Assign a unit to a reservation | Assign a specific unit (room) to a reservation. |
| Cancel a reservation | Cancel a confirmed reservation. |
| Check in a reservation | Check the guest in. |
| Check out a reservation | Check the guest out. |
| Create a booking | Book a stay for one guest on a rate plan, one reservation for the whole stay. |
| Create a company | Create a company for corporate rates and invoicing. |
| Delete a company | Delete a company. |
| Find available offers | Find the rate plans and prices available for a stay. |
| Get a booking | Get one booking with its booker and reservations. |
| Get a company | Get one company's details. |
| Get a property | Get one property's details. |
| Get a rate plan | Get one rate plan's details. |
| Get a reservation | Get one reservation with its guest, stay and balance. |
| Get a unit | Get one unit's details and status. |
| Get a unit group | Get one unit group's details. |
| List bookings | List bookings, the groups of reservations made together. |
| List companies | List the companies set up for corporate rates and invoicing. |
| List properties | List the properties (hotels) in the apaleo account. |
| List rate plans | List rate plans, optionally for one property. |
| List reservations | List reservations, filtered by property, status and dates. |
| List unit groups | List unit groups (room types), optionally for one property. |
| List units | List units (rooms), with their occupancy and housekeeping condition. |
| Mark a reservation as no-show | Mark a reservation whose guest did not arrive as no-show. |
| Update a company | Change a company's name, invoicing email, phone, tax ID or account checkout. |
| Update a reservation | Change a reservation's comments, travel purpose or pre-check-in flag. |
| Update a unit | Change a unit's housekeeping condition, name or capacity. |
Assign a unit to a reservation
Assign a specific unit (room) to a reservation.
Inputs
- Reservation ID
reservation_idtextRequired - The reservation ID, such as ABCDEF-1.
- Unit
unit_idtextRequired - The unit (room) to assign.
- Lock unit
lock_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 ID
reservation_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 ID
reservation_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 ID
reservation_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 plan
rate_plan_idtextRequired - The rate plan to book for every night.
- Arrival
arrivaldateRequired - Arrival date.
- Departure
departuredateRequired - Departure date, after the arrival date.
- Adults
adultsnumberRequired - Number of adults.At least 1.
- Channel code
channel_codetext - The sales channel. Direct unless another applies.One of:
Direct,BookingCom,Ibe,ChannelManager,Expedia,Homelike,Hrs,AltoVita,DesVu,Gimsi. Default:Direct. - Guarantee type
guarantee_typetext - How the reservation is guaranteed. Leave blank for the rate plan's own.One of:
PM6Hold,CreditCard,Prepayment,Company. - Booker first name
booker_first_nametext - The booker's first name.
- Booker last name
booker_last_nametextRequired - The booker's last name. The booker is also the guest.
- Booker email
booker_emailtext - The booker's email address.
- Booker phone
booker_phonetext - The booker's phone number.
- Comment
commenttext - A note for the hotel staff.
- Guest comment
guest_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
- Property
property_idtextRequired - The property (hotel).
- Code
codetextRequired - A short code for the company, unique in the property.
- Name
nametextRequired - The company's name.
- Address line 1
address_line_1textRequired - First line of the company's address.
- Address line 2
address_line_2text - Second line of the company's address.
- Postal code
postal_codetextRequired - The postal code.
- City
citytextRequired - The city.
- Country code
country_codetextRequired - Two-letter country code, such as DE.
- Can check out on ar
can_check_out_on_artrue/falseRequired - Whether guests of this company can check out on account (invoice).
- Invoicing email
invoicing_emailtext - The email address for invoices.
- Phone
phonetext - The company's phone number.
- Tax ID
tax_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
- Company
company_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
- Property
property_idtextRequired - The property (hotel).
- Arrival
arrivaldateRequired - Arrival date.
- Departure
departuredateRequired - Departure date.
- Adults
adultsnumberRequired - Number of adults.At least 1.
- Channel code
channel_codetext - Only offers for this sales channel.One of:
Direct,BookingCom,Ibe,ChannelManager,Expedia,Homelike,Hrs,AltoVita,DesVu,Gimsi. - Unit groups
unit_group_idslist - Only offers for these unit groups.
- Include unavailable
include_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 ID
booking_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
- Company
company_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
- Property
property_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 plan
rate_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 ID
reservation_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
- Unit
unit_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 group
unit_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 ID
reservation_idtext - Only the booking holding this reservation.
- Text search
text_searchtext - Search booker name, email and company.
- Channel code
channel_codelist - Only bookings from these channels.One or more of:
Direct,BookingCom,Ibe,ChannelManager,Expedia,Homelike,Hrs,AltoVita,DesVu,Gimsi. - Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Property
property_idtext - The property (hotel).
- Text search
text_searchtext - Only companies whose name contains this text.
- Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Status
statuslist - Only properties with these statuses.One or more of:
Test,Live. - Include archived
include_archivedtrue/false - Include archived properties.
- Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Property
property_idtext - The property (hotel).
- Channel codes
channel_codeslist - Only rate plans sold through these channels.One or more of:
Direct,BookingCom,Ibe,ChannelManager,Expedia,Homelike,Hrs,AltoVita,DesVu,Gimsi. - Include archived
include_archivedtrue/false - Include archived rate plans.
- Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Properties
property_idslist - Only reservations at these properties.
- Status
statuslist - Only reservations with these statuses.One or more of:
Confirmed,InHouse,CheckedOut,Canceled,NoShow. - Date filter
date_filtertext - Which date From and To filter on.One of:
Arrival,Departure,Stay,Creation,Modification,Cancellation. - From
start_timedate and time - Start of the date range for the date filter.
- To
end_timedate and time - End of the date range for the date filter.
- Booking ID
booking_idtext - Only reservations in this booking.
- Text search
text_searchtext - Search guest and booker names, emails and reservation IDs.
- Sort
sortlist - Sort order.One or more of:
arrival:asc,arrival:desc,departure:asc,departure:desc,created:asc,created:desc,updated:asc,updated:desc. - Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Property
property_idtext - The property (hotel).
- Unit group types
unit_group_typeslist - Only these kinds of unit group.One or more of:
BedRoom,MeetingRoom,EventSpace,ParkingLot,Other. - Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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
- Property
property_idtext - The property (hotel).
- Unit groups
unit_group_idslist - Only units in these unit groups.
- Is occupied
is_occupiedtrue/false - Only occupied units (true) or vacant units (false).
- Condition
conditiontext - Only units in this housekeeping condition.One of:
Clean,CleanToBeInspected,Dirty. - Maintenance type
maintenance_typetext - Only units with this kind of maintenance.One of:
OutOfService,OutOfOrder,OutOfInventory. - Text search
text_searchtext - Only units whose name contains this text.
- Page number
page_numbernumber - Page to return, starting at 1.At least 1.
- Page size
page_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 ID
reservation_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
- Company
company_idtextRequired - The company to change.
- Name
nametext - The company's new name.
- Invoicing email
invoicing_emailtext - The new email address for invoices.
- Phone
phonetext - The new phone number.
- Tax ID
tax_idtext - The new tax ID.
- Can check out on ar
can_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 ID
reservation_idtextRequired - The reservation ID, such as ABCDEF-1.
- Comment
commenttext - A new note for the hotel staff.
- Guest comment
guest_commenttext - A new comment from the guest.
- Travel purpose
travel_purposetext - Whether the trip is for business or leisure.One of:
Business,Leisure. - Is pre checked in
is_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
- Unit
unit_idtextRequired - The unit (room) to change.
- Condition
conditiontext - The unit's new housekeeping condition.One of:
Clean,CleanToBeInspected,Dirty. - Name
nametext - The unit's new name.
- Max persons
max_personsnumber - The most people the unit can hold.At least 1.
Outputs
dataobject- The response from apaleo.
Example output
{
"data": {}
}