If you want to expose Parent /& Child reservations to an external website or mobile app, it starts with creating a reservation blueprint, this Reservation Blueprint. This basically determines what the actual parent and child reservation combination consists of and creates the possible combinations for the API to consider and which fields should be set on which reservation.
Info |
---|
Try to make these templates as specific as possible, as they determine how many combinations will need to be conflict checked. This is a very performance demanding task for Salesforce, so try to keep the options as limited as possible. Extending the number of staff/resources and or sub-reservations multiplies very quickly. |
...
The blueprint offers you the possibility to determine in which order a parent/child reservation combination should be made and how long it takes. You can set a duration and use the Order field to control the sequence in which the child reservations should take place. If you want some buffer time between child reservations, give them a reservation type Reservation Type which has a buffer.
Fields to set
The blueprints also offers the possibility to determine which “fields fields to set” set on the parent or child reservation. Allowing This lets you to specify what Reservation type Type it needs to have, if it needs a staff Staff and or resourceResource for example.
It The blueprint offers 5 methods to set the fields:
Method to get value | Description | Example Usage |
---|---|---|
Copy from parent resource | Allows you to copy the value from the parent resource | Add all reservations to the same resource |
Literal value | Allows you to put a literal value or id in a field | Give the same note/title Title to every parent/child reservation |
Record by name | Allows you to set a record by name in the field | Set a reservation type |
Child of Parent Resource | Allows you to specify that the Resource in the child reservation needs to be a child of the parent reservation resource. | Allows you to specify that the Resource in the child reservation needs to be a child of the parent reservation resource. |
Available at Parent Resource | Allows you to specify staff or or other dimension should be available using in the Parent Resource using a Multi-Dimensional Availabilities | Only staff members available in Amsterdam should be considered. |
...