Poplidays REST API v2 Resources

Tour Operator Methodology

Resource Description
Tour Operator methodology Communication schema and elements for External partner methodology

Lodgings

Lodging (or a holiday accommodation) is a type of residential accommodation.

Resource Description
GET /v2/lodgings Returns a list of available lodgings. Body response contains only lodging summary data (no availability nor pricing).
GET /v2/lodgings/lastUpdates/{min} Returns a list of all lodgings updated from less than the selected period.
GET /v2/lodgings/lastIndexed/{min} Returns a list of all lodgings indexed from less than the selected period.
GET /v2/lodgings/{id} Returns all descriptive data of specified lodging.
GET /v2/lodgings/{id}/availabilities Returns all available stays of specified lodging.
GET /v2/lodgings/{id}/avail-saturday-weekly Returns available saturday arrival and departure stays and prices of specified lodging.
GET /v2/lodgings/{id}/estimated-daily-price Returns all available days and estimated price for them.
GET /v2/lodgings/{id}/extras Returns all selectable extras (housework, ...) for specified lodging.
GET /v2/lodgings/{id}/stays/{arrival}-{departure}/extras Returns all selectable extras (housework, ...) for specified stay informations.
GET /v2/lodgings/{id}/stays/{arrival}-{departure} Returns stay for specified lodging.
GET /v2/lodgings/{id}/stays/{arrival}-{departure}/discountcodes/{code} Returns discount detail for specified coupon code.
GET /v2/lodgings/{id}/stays/suggests/{arrival}-{departure} Returns suggestions which may correspond to stay date and duration. Suggestions are sorted by relevance.
GET /v2/lodgings/{id}/localoperator Returns Reception information and receptiv terms for the lodgings.
GET /v2/lodgings/{id}/icalendar Returns icalendar of all unavailable stays of specified lodging.

Stays

The term Stay refers to a period of residence.

Resource Description
GET /v2/stays/search Returns relevant stays that match a specified query and parameters (date, features, …).

Bookings

The term Booking refers to a reservation made by a customer.

Resource Description
POST /v2/bookings Performs booking operation.
POST /v2/bookings/{id}/quote Creates quotation for specified booking.
POST /v2/bookings/{id}/comm Creates communication message related to specified booking.
GET /v2/bookings/{id}/comm Returns all communication messages related to specified booking.
POST /v2/bookings/{id}/occupants Creates occupants related to specified booking.
GET /v2/bookings/{id}/occupants Returns all occupants related to specified booking.
POST /v2/bookings/easy Perform easy booking operation.
POST /v2/bookings/finalPayment Return payment link for booking.
POST /v2/bookings/{id}/client Changes file's client
POST /v2/bookings/{id}/modify Changes booking file

Properties

Resource Description
POST /v2/properties/insert Creates new property or updates existent.

Contracts

Resource Description
POST /v2/contracts/insert Creates new contract or updates existent.
POST /v2/contracts/status Changes the status of the contract.