Frappoint's front ends talk to the server only through whitelisted Python methods. You can call the same methods from your own integrations with the Frappe REST API:
POST /api/method/<module path>.<method>
Authorization: token <api key>:<api secret>
Content-Type: application/json
{"stay": "SR-SAMPLE-26-00337"}
The method path is the module in the headings below plus the method name, for example frappoint.vuna_hospitality.api.front_desk.check_in.
- Calls run as the user whose API key you use, with that user's roles and property access.
- Hotel methods (
frappoint.vuna_hospitality.api.*) refuse to run while hospitality is disabled.
- Methods marked Guest can be called without logging in. They serve the public parts of the customer portal: the service catalogue, availability, branding and sign-up.
- Arguments that take lists or objects accept JSON.
This reference is generated from the code: each method's first docstring line. For details, read the method and the service it calls.
Appointments and spa
frappoint.frappoint.api.booking_desk
| Method |
Arguments |
Guest |
What it does |
validate_checkout_coupon |
booking_id, coupon_code |
|
— |
apply_checkout_coupon |
booking_id, coupon_code |
|
— |
remove_checkout_coupon |
booking_id, coupon_code |
|
— |
apply_appointment_coupon |
booking_id, appointment_id, coupon_code |
|
Apply a coupon to a single appointment only. Enforces non-stacking. |
remove_appointment_coupon |
booking_id, appointment_id |
|
Remove the coupon from a single appointment. |
get_checkout_summary |
booking_id |
|
— |
confirm_checkout_without_payment |
booking_id |
|
— |
get_checkout_payment_methods |
booking_id |
|
— |
get_checkout_offline_payment_methods |
booking_id |
|
— |
get_checkout_online_payment_gateways |
booking_id |
|
— |
create_checkout_payment_link |
booking_id, payment_gateway, redirect_to, phone_number, amount, payment_type, coupon_code, final_amount_reference |
|
— |
record_manual_checkout_payment |
booking_id, amount, mode_of_payment, reference_no |
|
— |
create_draft_service_booking |
customer, items, booked_by, is_couple, guest_1, guest_2, service_type_1, service_type_2, selected_time_slot, preferred_provider_1, preferred_provider_2, couple_assignment, isCouple |
|
— |
upsert_draft_couple_appointments |
booking_id, couple_assignment, guest_1, guest_2, service_type_1, service_type_2, selected_time_slot, preferred_provider_1, preferred_provider_2, bookingId |
|
Create or update the two linked draft appointments as one atomic reservation. |
upsert_draft_service_appointment |
booking_id, assignment, appointment_id, bookingId |
|
— |
update_draft_service_appointment_notes |
appointment_id, notes, appointmentId |
|
— |
get_draft_service_booking |
booking_id |
|
— |
get_booking_details |
booking_id |
|
— |
get_appointment_details |
appointment_id |
|
— |
perform_appointment_action |
appointment_id, action, new_appointment_date, new_start_time, new_end_time, new_provider, new_slot_ids, new_service_unit, actual_start_time, actual_end_time, cancellation_reasons, cancel_couple, couple_update |
|
— |
get_service_bookings_workspace |
search_text, customer_query, statuses, payment_statuses, from_date, to_date, page, page_size |
|
— |
get_booking_desk_cache_version |
— |
|
— |
create_booking |
customer, guests |
|
— |
frappoint.frappoint.api.branding
| Method |
Arguments |
Guest |
What it does |
get_booking_desk_branding |
— |
Yes |
Return the public, presentation-only Booking Desk branding settings. |
get_hospitality_branding |
— |
Yes |
Return the public, presentation-only Hospitality app branding settings. |
frappoint.frappoint.api.partner_commission
| Method |
Arguments |
Guest |
What it does |
create_partner_supplier |
sales_partner |
|
Link the partner to a Supplier, creating one with the partner's name if none exists. |
get_partner_commission_summary |
sales_partner |
|
Unbilled commission for one partner, per company (for the Sales Partner form). |
create_commission_invoice |
sales_partner, company, to_date, from_date |
|
Bill one partner's unbilled commission as a draft Purchase Invoice. Returns its name. |
create_all_commission_invoices |
company, to_date, from_date, sales_invoices |
|
Bill unbilled commission: one draft Purchase Invoice per partner. |
frappoint.frappoint.api.service_appointment
| Method |
Arguments |
Guest |
What it does |
create_service_appointment |
service_type, appointment_date, appointment_time, customer_name, customer_email, customer_mobile, provider, start_time, details |
Yes |
Create a new service appointment Use case: Booking form submission |
get_cancellation_reasons |
— |
Yes |
Get all active cancellation reasons |
reserve_appointment_allocations |
appointment_name, allocations, booking_name |
|
Reserve capacity atomically and create resource allocations for an appointment. |
confirm_allocations |
appointment_name |
|
Confirm held allocations and mark appointment confirmed where allowed. |
change_appointment_status |
appointment_name, to_status, reason |
|
Validate and apply appointment status transition via state machine. |
cancel_appointment_with_release |
appointment_name, reason |
|
Cancel appointment and release resource allocations atomically. |
reschedule_appointment_with_allocations |
appointment_name, new_appointment_data, new_allocations, reason |
|
Reschedule appointment while releasing/re-reserving resource allocations atomically. |
frappoint.frappoint.api.service_booking
| Method |
Arguments |
Guest |
What it does |
create_booking_with_appointments |
booking_payload |
|
Create a Service Booking and linked Service Appointment(s). |
get_booking_pricing_summary |
booking_id |
|
— |
frappoint.frappoint.api.service_provider
| Method |
Arguments |
Guest |
What it does |
get_providers_for_service |
service_type, company |
Yes |
Get all providers who can deliver a specific service Use case: Provider selection on booking form |
get_provider_details |
provider |
|
Get detailed provider information Use case: Provider profile page |
frappoint.frappoint.api.service_type
| Method |
Arguments |
Guest |
What it does |
get_service_type_image |
service_type |
Yes |
Serve the image configured on an active Service Type, including private files. |
get_service_types |
company, active_only, search_term, item_group, page, page_size, sort_by, min_price, max_price |
Yes |
Get all available service types with pagination Use case: Display services on booking page |
get_price_range |
company, item_group |
Yes |
Get the minimum and maximum price across all service types Use case: Set slider limits for price range filter |
get_service_type_details |
service_type |
Yes |
Get detailed information about a specific service type Use case: Service detail page, booking form |
frappoint.frappoint.api.slot_availability
| Method |
Arguments |
Guest |
What it does |
get_available_dates |
service_type, duration, provider, gender, days_ahead, start_date, end_date, service_type_1, service_type_2, duration_1, duration_2, provider_1, provider_2, service_unit_1, service_unit_2, gender_1, gender_2, exclude_appointment_id_1, exclude_appointment_id_2 |
Yes |
Get dates that have availability Use case: Calendar view, date picker |
get_available_time_slots |
service_type, duration, provider, date, gender, days_ahead, use_counter_engine, start_date, end_date, service_type_1, service_type_2, duration_1, duration_2, provider_1, provider_2, service_unit_1, service_unit_2, gender_1, gender_2, exclude_appointment_id_1, exclude_appointment_id_2, max_candidates_per_start |
Yes |
Get available time slots Use case: Main booking interface |
get_couple_available_dates |
service_type_1, service_type_2, provider_1, provider_2, duration_1, duration_2, service_unit_1, service_unit_2, gender_1, gender_2, days_ahead, start_date, end_date, exclude_appointment_id_1, exclude_appointment_id_2 |
Yes |
Return dates on which both couple services can start together. |
get_couple_available_time_slots |
service_type_1, service_type_2, provider_1, provider_2, duration_1, duration_2, service_unit_1, service_unit_2, date, gender_1, gender_2, days_ahead, use_counter_engine, start_date, end_date, exclude_appointment_id_1, exclude_appointment_id_2, max_candidates_per_start |
Yes |
Return provider/unit pair candidates for simultaneous couple services. |
check_slot_availability |
slot_ids |
Yes |
Check if specific slots are still available before booking Use case: Pre-booking validation |
frappoint.frappoint.api.user
| Method |
Arguments |
Guest |
What it does |
get_user_details |
— |
|
— |
create_user |
— |
Yes |
— |
update_user_profile |
— |
|
Update user profile information (name, phone) |
update_user_password |
— |
|
Update user password |
update_user_image |
— |
|
Update user profile image |
get_logged_in_customer |
— |
|
— |
frappoint.payments
| Method |
Arguments |
Guest |
What it does |
get_payment_link |
reference_doctype, reference_docname, payment_gateway, redirect_to, amount, payment_type, coupon_code |
|
Handles both Service Booking and Service Appointment |
frappoint.sample_data.api
| Method |
Arguments |
Guest |
What it does |
get_status |
— |
|
— |
generate |
scope |
|
Start making the sample: the services, or a hotel with the services. |
remove |
— |
|
Start removing the sample data and its company. |
Hospitality
frappoint.vuna_hospitality.api.cashiering
| Method |
Arguments |
Guest |
What it does |
get_cashier |
property |
|
The user's open shift (blind), tenders, and, for supervisors, closed shifts to review. |
open_shift |
property, opening_float, workstation |
|
— |
close_shift |
shift, declared, reasons |
|
Close the shift blind: declared maps Mode of Payment to the counted amount. |
review_shift |
shift, notes, handover_to |
|
— |
take_payment |
property, splits, mode_of_payment, payment_gateway, phone, reference_no, request_id, tendered_amount, rate, rate_reason |
|
Take a payment split across folios. Send the same request_id on a retry. Foreign-currency cash takes tendered_amount (and a supervisor's rate with… |
get_payment |
payment |
|
A payment's status, for the screen waiting on a phone payment. |
cancel_payment |
payment, reason |
|
Give up on a pending phone payment, for example when the guest declined the prompt. |
refund_payment |
payment, amounts, reason, mode_of_payment, reference_no |
|
Refund part or all of a received payment. amounts maps each folio to the amount. |
frappoint.vuna_hospitality.api.deposits
| Method |
Arguments |
Guest |
What it does |
get_deposit |
deposit |
|
— |
take_deposit |
deposit, amount, mode_of_payment, payment_gateway, phone, reference_no, request_id, tendered_amount, rate, rate_reason |
|
Take the deposit, or part of it. An M-Pesa deposit waits for the guest to pay on the phone. Send the same request_id on a retry so it is taken once.… |
waive_deposit |
deposit, reason |
|
Let the stay check in without its deposit. |
frappoint.vuna_hospitality.api.folios
| Method |
Arguments |
Guest |
What it does |
get_stay_folios |
stay |
|
The Folio Workspace for one stay: its folios, lines, pending nights and totals. |
search_items |
folio_name, text |
|
Items staff can post to this folio: sales Items that a charge code covers. |
get_item_rate |
folio_name, item |
|
The default rate for an Item on this folio, and the charge code it will post with. |
post_charge |
folio_name, item, quantity, rate, description, stay_guest, notes, request_id, reason |
|
Post a charge by Item. Send the same request_id on a retry so it posts once. A late charge after check-out needs a Front Desk Manager and a reason (F12). |
reverse_transaction |
transaction, reason, notes |
|
Reverse a posted line with a reason. Reversing it again returns the same reversal. |
rebuild_folio_balance |
folio_name |
|
Recompute a folio's cached totals from its transactions and report any drift. |
add_folio |
stay, label, payee_customer, payee_guest_profile |
|
Open another folio on the stay, for a company, a companion, or the guest's extras. |
set_folio_payee |
folio_name, payee_customer, payee_guest_profile |
|
— |
transfer_charge |
transaction, to_folio, amount, reason, request_id |
|
Move a charge, or amount of it, to another folio. Send the same request_id on a retry. |
settle_folio |
folio_name, transfer_to_ar, override_reason |
|
Invoice the folio. With transfer_to_ar, the balance stays on the company's invoice. |
release_settlement |
folio_name, reason |
|
Reopen a folio whose invoice was rejected, to correct it. |
issue_credit_note |
transaction, reason |
|
Credit an invoiced charge: a reversal on the folio and a credit note in ERPNext. |
add_routing_rule |
stay, target_folio, route, charge_code, item_group, notes, stay_guest |
|
Send the stay's automatic charges (night audit, fees, services) of one kind to one of its folios. With stay_guest, only the charges that guest consumed. |
remove_routing_rule |
rule, reason |
|
— |
get_house_accounts |
property |
|
— |
create_house_account |
property, account_name, account_type, payee_customer, valid_from, valid_to, notes |
|
— |
get_house_account_folios |
account |
|
The Folio Workspace for a House Account: its current folio and the last settled ones. |
get_group_master_folios |
block |
|
The Folio Workspace for a group block's master folio (R2-2). |
open_house_account_folio |
account |
|
Start the account's next folio after the last one was settled. |
close_house_account |
account, reason |
|
— |
frappoint.vuna_hospitality.api.front_desk
| Method |
Arguments |
Guest |
What it does |
get_front_desk_today |
property |
|
Arrivals, in-house stays and departures for the property's business date. |
get_stay |
stay |
|
Reservation 360 for one stay. |
get_assignable_rooms |
stay |
|
Rooms of the stay's type, with availability and readiness. |
get_ranked_rooms |
stay |
|
The same rooms ranked for the stay's guests, each with matched and missed preferences. |
get_move_reasons |
— |
|
— |
assign_room |
stay, room, lock, preference_override_reason |
|
Assign a room. One that misses a Required preference needs preference_override_reason. |
unassign_room |
stay, reason |
|
— |
set_room_lock |
stay, locked, reason |
|
— |
move_room |
stay, room, move_reason, notes, preference_override_reason |
|
— |
check_in |
stay, room, override_reason, waive_early_fee, early_fee_reason |
|
Check in. A room housekeeping hasn't released needs a Front Desk Manager's override_reason. Before the check-in time, the early check-in fee posts unless… |
preview_late_check_out |
stay, until |
|
What keeping the room until until on the departure day would cost, or why it can't. |
set_late_check_out |
stay, until, waive_fee, waive_reason |
|
Keep the room for the guest until until on the departure day; its fee posts unless waived. |
check_out |
stay, override_reason |
|
Check out. With a balance on a folio, a Front Desk Manager must give override_reason. |
preview_departure_change |
stay, departure |
|
What moving the departure would add or give up, cost, and break, before doing it. |
change_departure |
stay, departure, override_reason |
|
Extend or shorten the stay. A broken restriction needs a manager's override_reason. |
depart_early |
stay |
|
The guest leaves today, before the booked departure: post the early-departure fee and give the remaining nights back, so the fee can be paid before check-out. |
add_stay_guest |
stay, guest_profile, age_category, guardian |
|
— |
remove_stay_guest |
stay_guest, reason |
|
— |
set_primary_guest |
stay_guest, reason |
|
— |
register_guest |
stay_guest, arrived_from, next_destination, acceptance_reference |
|
Register a guest. The optional details are kept for the guest register (F20). |
check_in_guest |
stay_guest |
|
— |
frappoint.vuna_hospitality.api.front_office
| Method |
Arguments |
Guest |
What it does |
get_wake_up_calls |
property, date |
|
The wake-up call work list: scheduled calls (due first) and the day's finished ones. |
schedule_wake_up_call |
stay, call_at, recurrence, stay_guest, notes |
|
— |
record_wake_up_call |
call, answered, notes |
|
Record one attempt: answered, or not (tried again until the last attempt). |
cancel_wake_up_call |
call, reason |
|
— |
get_front_office_stays |
property |
|
Booked and in-house stays with their guests and rooms, for the desk's forms. |
get_lost_and_found |
property, status, text |
|
— |
get_lost_and_found_custody |
item |
|
— |
log_lost_item |
property, description, storage_location, category, value_class, found_at, found_location, room, found_by_name, stay, photo, notes |
|
— |
move_lost_item |
item, to_location, notes |
|
— |
claim_lost_item |
item, claimed_by, verification, contact, stay |
|
— |
release_lost_item_claim |
item, reason |
|
— |
hand_back_lost_item |
item, method, handed_to, shipping_reference, notes |
|
— |
dispose_lost_item |
item, outcome, notes |
|
— |
get_incidents |
property, status, category |
|
— |
get_incident |
incident |
|
— |
report_incident |
property, title, category, severity, occurred_at, location, stay, description, assigned_to, restricted |
|
— |
update_incident |
incident, text, assigned_to |
|
— |
compensate_incident |
incident, transaction, amount, reason, request_id |
|
— |
charge_incident_damage |
incident, item, amount, description, request_id |
|
— |
resolve_incident |
incident, resolution |
|
— |
reopen_incident |
incident, reason |
|
— |
get_relocations |
property |
|
Overbooked nights ahead, the stays that could be walked, and past relocations. |
relocate_guest |
stay, partner_property, reason, reason_notes, partner_contact, partner_confirmation, nights, room_cost, transport_cost, transport, guest_communication |
|
Walk a booked guest to a partner hotel: the hotel pays, and the stay is cancelled as Relocated. |
frappoint.vuna_hospitality.api.groups
| Method |
Arguments |
Guest |
What it does |
get_group_blocks |
property, status |
|
The property's group blocks, soonest first, with their pickup, and the new-block form's options. |
get_group_block |
block |
|
A block's terms, its allotment with pickup per night, its stays and its master folio. |
create_group_block |
property, block_name, start_date, end_date, rate_plan, cutoff_date, booking_source, allotment, details |
|
Open an Inquiry block. allotment is {room type: rooms each night}. |
update_group_block |
block, values |
|
Change the block's terms or dates. |
set_group_block_allotment |
block, rows |
|
Set rooms allotted: rows of {room_type, block_date or from_date and to_date, allotted}. |
set_group_block_status |
block, status, reason |
|
Move the block to Inquiry, Tentative, Definite or Cancelled. |
release_group_block |
block, reason |
|
Give every unpicked room back to general sale now. |
book_from_group_block |
block, stays, booking, override_reason |
|
Hold stays from the block, in its master booking unless another booking of the block is given. |
open_group_master_folio |
block |
|
Open the group's master folio, billed to its Customer. |
preview_rooming_list |
block, rows, filename, content |
|
Check a rooming list (rows, or an uploaded CSV or Excel file) without writing anything. |
apply_rooming_list |
block, rows, place_valid_only, override_reason |
|
Load a checked rooming list into the block in one transaction. |
rooming_list_template |
— |
|
A blank rooming list (CSV) with its columns and an example row. |
frappoint.vuna_hospitality.api.guest_communication
| Method |
Arguments |
Guest |
What it does |
get_guest_messages |
stay |
|
The stay's messages, traces, and the notifications its guests were sent. |
take_message |
stay, message, sender, stay_guest |
|
— |
close_message |
message, delivered, channel, notes |
|
— |
add_trace |
stay, department, due_date, text, due_time |
|
— |
close_trace |
trace, resolved, notes |
|
— |
get_traces_due |
property, department |
|
Open traces due by the property's business date, for a department or all. |
email_folio |
folio |
|
Email the folio to its payee by the property's Folio Emailed rules. |
frappoint.vuna_hospitality.api.guest_register
| Method |
Arguments |
Guest |
What it does |
reveal_document_number |
entry |
|
The full document number on one register entry, for an authorized role. Recorded. |
export_guest_register |
property, from_date, to_date |
|
Download the register with full document numbers as CSV. Recorded with who and the range. |
frappoint.vuna_hospitality.api.guests
| Method |
Arguments |
Guest |
What it does |
search_guests |
text, limit |
|
Find guests by name, phone, or email. |
create_guest |
first_name, last_name, email, mobile_no, is_provisional, force |
|
Create a guest, or return existing guests with the same email or phone (unless force). |
link_customer |
guest_profile, customer |
|
Link a paying Customer to the guest, creating an individual Customer if none is given. |
reveal_id_document |
guest_profile |
|
Show the guest's full ID number. Each call is recorded in the event log. |
get_relationships |
guest_profile, include_ended |
|
Everyone related to the guest, from either side of each relationship. |
get_duplicate_guests |
— |
|
Profiles that may be the same person, and the latest merges. |
find_duplicate_guests |
— |
|
Look for new look-alike profiles now (a daily job does it too). |
compare_duplicate_guests |
duplicate |
|
Both profiles side by side, with what matched. |
merge_guests |
duplicate, keep, reason |
|
Merge the pair, keeping keep. Audited, and can be undone. |
mark_not_duplicate |
duplicate, reason |
|
— |
unmerge_guests |
merge, reason |
|
Undo a merge: exactly what it moved goes back. |
frappoint.vuna_hospitality.api.housekeeping
| Method |
Arguments |
Guest |
What it does |
get_housekeeping_board |
property |
|
Rooms, today's tasks and staff, discrepancies, and maintenance requests. |
plan_stayovers |
property |
|
A stayover task for every occupied room whose guest stays tonight. |
create_task |
room, task_type, priority, notes, assigned_to |
|
— |
assign_task |
task, employee |
|
— |
start_task |
task |
|
— |
finish_task |
task, room_found, notes |
|
— |
mark_do_not_disturb |
task |
|
— |
inspect_task |
task, passed, notes |
|
— |
cancel_task |
task, reason |
|
— |
report_maintenance |
property, issue, room, asset, severity, description, room_impact, out_from, back_in_service_on, attachment |
|
Report a fault; with a room impact, the room leaves sale (Out of Order after approval). |
approve_maintenance |
request |
|
— |
start_maintenance |
request |
|
— |
resolve_maintenance |
request, resolution |
|
— |
cancel_maintenance |
request, reason |
|
— |
frappoint.vuna_hospitality.api.night_audit
| Method |
Arguments |
Guest |
What it does |
get_night_audit |
property |
|
Tonight's audit for the property: its run and stages, a preview, and recent runs. |
start_night_audit |
property, overrides |
|
Close the property's business date in the background. A failed run restarts where it stopped. |
get_audit_report |
run |
|
The figures a completed audit kept for its business date. |
frappoint.vuna_hospitality.api.preferences
| Method |
Arguments |
Guest |
What it does |
get_guest_insights |
guest_profile, stay |
|
Declared preferences, this stay's requests, and observed suggestions with evidence. |
get_preference_options |
— |
|
What the preference form offers: categories, priorities and room features. |
add_guest_preference |
guest_profile, category, value, priority, room_feature, reference_doctype, reference_name, sensitive, this_property_only, stay, notes |
|
— |
retire_guest_preference |
preference, reason, stay |
|
— |
add_stay_request |
stay, category, value, priority, room_feature, reference_doctype, reference_name, notes |
|
— |
close_stay_request |
request, status, notes |
|
— |
copy_request_to_profile |
request, sensitive |
|
Keep a this-stay request on the guest's profile for every stay. |
apply_suggestion |
stay, key, evidence |
|
Use a suggestion for this stay only. It becomes an open request; nothing is booked or charged. |
save_suggestion |
guest_profile, key, evidence, stay |
|
— |
dismiss_suggestion |
guest_profile, key, evidence, stay |
|
— |
get_history_matches |
limit |
|
Appointment guests proposed as Guest Profiles, waiting for someone to confirm them. |
find_history_matches |
— |
|
Look for more appointment guests whose email or phone identifies one profile. |
review_history_match |
match, confirm |
|
— |
frappoint.vuna_hospitality.api.quote
| Method |
Arguments |
Guest |
What it does |
get_quote |
property, arrival, departure, room_type, rate_plan, adults, children, child_ages |
|
Price one room type on one rate plan. Nothing is held or stored. |
search_availability |
property, arrival, departure, adults, children, rate_plan, room_type, child_ages, day_use |
|
Quote every room type and rate plan for the stay; offered options first, cheapest first. With day_use, the Day Use plans for a day-use stay on arrival… |
frappoint.vuna_hospitality.api.rates
| Method |
Arguments |
Guest |
What it does |
get_rate_grid |
property, rate_plan, start, days |
|
Rates and restrictions of one rate plan, per room type and night, for the grid page. |
set_rates |
rate_plan, room_types, from_date, to_date, weekdays, rate, adjust_percent, adjust_amount, reason |
|
Set, or adjust, the rate for each room type and night. On a derived plan this sets manual overrides; the plans derived from this one follow in the background. |
reset_rates |
rate_plan, room_types, from_date, to_date, weekdays |
|
Give hand-set nights on a derived plan back their derived rate. |
regenerate_rates |
rate_plan |
|
Work out a derived plan's rates again from its parent, in the background. |
set_restrictions |
property, from_date, to_date, weekdays, rate_plan, room_types, values, clear, notes |
|
Set or clear restrictions for the nights, for one plan (or all) and the room types (or all). |
frappoint.vuna_hospitality.api.reservations
| Method |
Arguments |
Guest |
What it does |
get_booking_desk_context |
— |
|
What the new-reservation screen needs: the user's properties, booking sources, and limits. |
hold_stays |
property, stays, booking, booking_details |
|
Hold rooms for one or more stays (all or none). Returns the booking with its stays. |
confirm_stay |
stay |
|
Confirm a held stay. |
confirm_booking |
booking |
|
Confirm every held stay on a booking. |
cancel_stay |
stay, reason, waive_fee, waive_reason |
|
Cancel a held or confirmed stay and release its rooms. Inside the policy's penalty window the cancellation fee is charged, unless a Front Desk Manager… |
cancel_booking |
booking, reason, waive_fee, waive_reason |
|
Cancel every held or confirmed stay on a booking. |
reinstate_stay |
stay, reason |
|
Bring a cancelled or no-show stay back, if its rooms can be taken again. |
amend_stay |
stay, arrival, departure, room_type, rate_plan, adults, children, child_ages, restriction_override_reason |
|
Change a stay that hasn't arrived: dates, room type, rate plan or guests. It is priced again at the current rates; a full night or a broken restriction… |
get_room_share |
stay |
|
Who shares the stay's room and how its charge is split, and what the user may change. |
get_share_candidates |
stay |
|
Stays this one could share a room with: same room type, at least one night together. |
share_room |
stay, with_stay, method, percent, payer |
|
Put the stay (not arrived yet) in the room of with_stay; each keeps its own bill. |
set_room_share_method |
stay, method, percent, payer |
|
Change how the shared room's charge is split; only nights not yet charged change. |
separate_room_share |
stay, reason |
|
A sharer who hasn't arrived takes a room of their own again. |
get_booking |
booking |
|
A booking and its stays. |
get_recent_bookings |
property, limit |
|
The property's latest bookings, newest first, with the lead guest and dates of their stays so the list can be scanned without opening each one. |
frappoint.vuna_hospitality.api.service_orders
| Method |
Arguments |
Guest |
What it does |
get_service_orders |
property, status, order_type, stay |
|
The property's service orders, newest first, with the form's choices. |
get_orderable_stays |
property |
|
In-house stays and their guests, for a new order. |
create_service_order |
stay, order_type, lines, requested_by, warehouse, external_reference, notes, authorization_reason, fulfil_now |
|
Take an order; with fulfil_now, deliver it at once (a minibar count, for example). |
fulfil_service_order |
order |
|
Deliver the order: charge the folio and issue the stock. |
cancel_service_order |
order, reason |
|
Cancel the order; a delivered one takes its charges off the folio and puts its stock back. |
search_order_items |
text |
|
Items an order can include: sales Items that a charge code covers. |
get_order_item |
property, item |
|
An Item's default rate at the property, and whether it is a stock item. |
frappoint.vuna_hospitality.api.services
| Method |
Arguments |
Guest |
What it does |
search_stays |
text, property |
|
Confirmed and in-house stays to charge services to, with their guests and open folios. |
get_booking_room_charge |
booking |
|
— |
charge_booking_to_room |
booking, stay, assignments, confirm |
|
Charge the booking to the stay's guests and, with confirm, confirm its appointments. |
release_booking_to_desk |
booking, reason |
|
Stop charging the booking to the room: it is paid and invoiced at the services desk again. |
retry_service_posting |
appointment |
|
Post the participants of a completed appointment whose charge failed. |
waive_service_fee |
participant, reason |
|
— |
get_stay_services |
stay |
|
The services charged to a stay's guests. |
frappoint.vuna_hospitality.api.session
| Method |
Arguments |
Guest |
What it does |
get_session_context |
— |
|
What the hospitality app needs on load: is the module on, and what may this user do. |
frappoint.vuna_hospitality.api.tape_chart
| Method |
Arguments |
Guest |
What it does |
get_tape_chart |
property, start, days, room_type |
|
Rooms against dates for the window: assignments, outages and stays still without a room. |
check_drop |
stay, room |
|
Whether dropping the stay on room (or on the unassigned lane) is allowed, before doing it. |
drop_stay |
stay, room, move_reason, notes, preference_override_reason |
|
Assign the stay to room, move it there now, or (no room) take its room off. A room that misses a Required preference needs preference_override_reason. |