Tour-Operator Reservation System for Tailor-made Holidays
Contact

Documentation: Holidays - Snippets

Snippets are used as a template for a new quote, or to insert partial itineraries into existing quotes.

A snippet starts life as an ordinary quote, but instead of assigning it to a client, select 'Snippet' in the Holiday Status selector. You will be asked for an ID and a name. The ID can be up to 5 characters and may not already have been used for another snippet. The Name can be a slightly longer description.

Snippets support revisions so you can update the itinerary whilst still keeping a copy of previous itineraries - when you use a snippet, the last (highest numbered) revision is used. Changing a snippet does not affect any holiday that has used the snippet.
Note that if you have a free text description of the snippet itinerary (e..g on your website), you may need to update that to reflect the itinerary changes - you can reduce the chance of forgetting to do this either by adding a memo into the snippet indicating the external resource; and/or ensure the external resource uses only information provided by the API (e.g. number of nights, hotel names), instead of writing them by hand.

Using a snippet as a new holiday template

  1. Click 'Main' on the Application Tab
  2. To the left of the 'Add a new holiday' button is an entry box for the Snippet ID - type in the ID or select the name from the dropdown
  3. Click the 'Add a new holiday' button
  4. You will get an exact copy of the last revision in the snippet - including departure date
  5. You can now use the holiday as normal, including inserting snippets. The template snippet is not altered.  

Using a snippet as a partial itinerary insert

  1. Open an existing holiday or create a new holiday as described in the main Holiday documentation
  2. At any point, in the Snippet box on the Holiday Services tab, enter a snippet ID or select a snippet name from the dropdown
  3. click the "+" button 
  4. All manually created services in the last revision of the snippet will be copied into your current holiday. Services which are controlled by settings such as the Auto Travel and Auto Transfer controls or the base_fee preference will not be copied - use the controls to determine if they should be re-created for this itinerary.
  5. The service dates will be adjusted to suit your existing itinerary
  6. You can continue to use the holiday as normal, including inserting more snippets. 
The multi-centre pricing API supports including snippets - this allows you to easily display pricing for the itinerary on the website, and by using the same snippet id as a template or insert you immediately get exactly the same itinerary/price inside your quote. You can then go on to customise the quote to meet your clients exact needs. 

Edit an existing snippet

  1. Click 'Main' on the Application Tab
  2. To the left of the 'Add a new holiday' button is an entry box for the Snippet ID - type in the ID or select the name from the dropdown
  3. Right -Click the 'Add a new holiday' button
  4. The snippet will be opened. Alter and save as a normal quote. Changes will not affect quotes that have already used this snippet, only new quotes. 
  5. Note that when using a snippet, it is the last revision that is used, so you can create new revisions as usual in order to have a history of changes to the snippet itinerary.
  6. Be aware that the snippet may be in use e.g. by your website via the API - Changes you make may be reflected immediately (depending on your website).