Calendar

Returns prices and availability per day of one property for a booking calendar.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns one row per day from date_from to date_until (both included). Use it to draw a booking calendar on your website.

A day can be booked when is_booked is N. A day is is_booked = Y when no stock is left, the day is closed (enable = N), there is no price or the price is 0, or the day is not a change-over day (change_over_day = N) and a reservation already uses it. Days without a price row still appear, with price = 0.

Example: GET https://api.my-rent.net/object_prices/get_calendar?object_id=2345&date_from=2026-07-01&date_until=2026-12-31&item_id=-1

Headers: user_guid and token. See Web API - Guide.

Responses

CodeMeaning
200Array of days, ordered by date.
404Missing or invalid user_guid / token.
Query Params
int32
required

MyRent property ID.

string
required

First day, yyyy-MM-dd.

string
required

Last day, yyyy-MM-dd. This day is included.

int32
required
Defaults to -1

Unit (room type) ID. Send -1 for the whole property.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json