
as_reservations_list
Description
Returns reservations list with itineraries and extras. Available to user accounts with a ‘Staff relationship’ only i.e. only internal users that have no agent link, or is not an agent can have access.
as_reservations_list accepts 6 optional arguments:
- page (string, default=’1′)
- limit (string, default=’1000′)
- startDate (string, default=”, format=’YYYY-MM-DD’)
- endDate (string, default=”, format=’YYYY-MM-DD’)
- creationDate(string, default=”)
- lastEditDate(string, default=”)
page and limit specifies how records to return per response/page, and which page of the recordset to return. Maximum value for limit is 1000. Limit value above 1000 is ignored and 1000 value will be used.
If both creationDate and lastEditDate are empty, then the reservation arrival and departure dates will be used for filtering, according to the date range.
If either creationDate lastEditDate are populated, the results will be filtered by either the reservation creation date, or the last edit date, according to the date range.
If both creationDate and lastEditDate are populated, the results will be filtered by both, according to the date range.
Example:
Request
{
"method": "as_reservations_list",
"params": [
{
"bridge_username":"username",
"bridge_password":"password",
"link_id":"4"
},
"1",
"500",
"2025-01-01",
"2025-01-31",
"1",
"1"
],
"id": 1
}
Response
{
"page": 100,
"per_page": 10,
"total_items": 9999,
"total_pages": 1000,
"items": [
{
"item_number": 1001,
"reservation_number": "ABC123",
"reservation_name": "ResName",
"total_amount": "123.49",
"agent": "0",
"consultant": "AB1",
"originator": "AB2",
"status": "30",
"rate_type": "AB3",
"source": null,
"nationality_country": "",
"rv_commission_perc": "27.00",
"confirmation_date": "1970-01-01",
"prov_date": "0000-00-00",
"provision_expiry_date": "0000-00-00",
"date_created": "1970-01-01",
"last_change_date": "1970-01-01",
"itineraries": [
{
"date_in": "1970-01-01",
"date_out": "1970-01-01",
"property": "AB4",
"total_gross_amount": "313.00",
"accommodation_type": "AB5",
"rate_type": "AB6",
"commission": "27.00",
"rate_groups": [
{
"id": "RS1",
"qty": "1"
}
]
}
],
"extras": [
{
"service_date": "1970-01-01",
"internal_property": "",
"type": "1",
"category": "AB7",
"extra_description": "Helicopter Rides",
"quantity": "2",
"unit_price": "123.00",
"tax_rate": "VAT @ 15%",
"amount": "123.00",
"currency": "US Dollars",
"exchange_rate": "1.00000000000000000000",
"discount": "0.00"
}
]
}
]
}
Keep up to date with us
Menu
Visit our website
ResRequest Modules
- Business Intelligence
- Central Reservations
- Channel Management
- Customer Relationship Management
- Developer
- Email Series 2022
- Email Series 2023
- Financial Management
- Marketing tools
- Payment Gateways
- Point of sale
- Product
- Professional Services
- Property Management
- ResConnect
- ResInsite
- ResNova
- System Setup
- Technical Alerts
- Technical Tips
- Telephone Management
- Webinars Index

