SAAM Documentation English
مرجع واجهة البرمجة
هذه المقالة غير مترجمة بعد، وتظهر بالإنجليزية.

Make

The SAAM PMS app on Make connects SAAM to the other apps in your Make scenarios, with no code. It is built on this API and works the same way as the Zapier app.

Connect

  1. In a Make scenario, add a SAAM PMS module and click Create a connection.
  2. Sign in to SAAM with the login the scenario should act as, and allow access.
  3. The connection is named after the login's email and hotel.

Every module acts as that login, in that login's hotel, with that login's roles. Payroll, for example, is for Finance and HR only (see Authentication).

Modules

Triggers (start a scenario). Each run picks up the rows added since the last run:

Module Picks up
Watch new reservations Bookings, including cancelled and no-show ones with their status
Watch check-ins Guests who checked in, with their room and balance
Watch new payments Payments taken, processing fees included
Watch new expenses Money paid out, including refunds
Watch new fixed costs Charges produced by fixed costs
Watch new variable costs Variable costs recorded
Watch new payroll Payroll issued

Actions:

Module Does
Create a payment Records a payment from an in-house guest into the open Front Desk till. Kind: Accommodation, Food and beverage or Other. Method: Cash, Card or Wallet. Card and Wallet need a Reference.
Create a charge Adds a charge to an in-house guest's bill, due at check-out. Kind: Food and beverage or Other.
Make an API call Calls any address below with the connection's sign-in

Payments and charges made by Make show Make in SAAM where the employee's name would be.

Addresses

The Make app calls https://api.saampms.com/make/v1/.... Its addresses and fields are the same as version 2's, with make/v1 in place of zapier/v2:

Make Same as
GET /make/v1/me the connection: login, hotel and roles
GET /make/v1/new-reservations Reservations
GET /make/v1/check-ins Reservations
GET /make/v1/income Billing
GET /make/v1/expenses Billing
POST /make/v1/add-income Billing
POST /make/v1/add-debt Billing
GET /make/v1/fixed Finance
GET /make/v1/variable Finance
GET /make/v1/payroll Finance
GET /make/v1/rooms rooms with a guest in house (the Room list)
GET /make/v1/currencies the hotel's currencies, base first (the Currency list)

Errors are the same as everywhere in this API (see Errors and limits). A refused call says why, and the message names Make. For example: "There is no open Front Desk till."