Sending Your Own Confirmation Email

Sending Your Own Confirmation Email

Overview

The booking process through the RCM Web API will by default send out a confirmation email to the customer. Some Rental Car Companies may want to send out their own customised version of a confirmation email rather than the standard one provided by RCM.

This is something that can be achieved and we offer the following suggestion for how you are able to do this. It is important to note that this will only work if you are using V3.2 of the API.

Process

The process to send your own customised confirmation email is quite simple. It are as follows:
  1. When you call the booking method, pass in a value of 0 for the emailoption parameter.
  2. When you call either the confirmpayment or vaultentry method, pass in a value of 0 for the emailoption parameter. If you are creating quotes rather than bookings, then you do not need to call either of these two methods.
  3. Call the bookinginfo method to get the full booking details.
  4. Construct and send out the confirmation email.

API Methods

Each of the API methods that you will call and how to call them to send your own customised email are listed below. More detailed information about any of these API methods can be found in the Developer's Sandbox.

booking Method

When you call the booking method you will need to pass in a value of 0 as the emailoption parameter, see below for a description of this parameter.
If you do not pass a value in as the emailoption, then the default behaviour for sending emails through the API will occur. This means a confirmation email will be sent after a credit card or payment has been recorded for the booking. If you are creating a quote, the default behaviour is to automatically send the confirmation email out once the quote has been created in RCM.


confirmpayment/vaultentry methods

When you call either the confirmpayment or vaultentry method you will need to pass in a value of 0 as the emailoption parameter, see below for a description of this parameter.

If you do not pass a value in as the emailoption, then the default behaviour for sending emails through the API will occur. This means a confirmation email will be sent after this method has successfully saved either a credit card or a apyment against the booking.





bookinginfo method

Calling the bookinginfo method will return all of the information about the booking which you can then use to build the customised confirmation email you are sending out.

A full listing of the information returned by this method can be found in the Developer's Sandbox.


    Important Articles


      • Related Articles

      • API V3.2 Booking Process

        Overview The RCM API and Agent API allow you to make unallocated bookings for a specified vehicle category, for a specified pickup and drop off date. An unallocated booking is a booking that has been made for a particular category (e.g. small car), ...
      • Relocation Specials Process

        Overview The Relocation Specials function allows Rental Car Companies to setup relocation special deals within Rental Car Manager (RCM) and have them available for booking on their websites.  The Web API can be used to both obtain a listing of ...
      • Identification Service

        Overview Rental Car Manage (RCM) allows for integration into a Identification Service. An Identification Service is normally something provided by a third-party company where they will validate the customer information and return a status of either ...
      • Getting Started with API V3.2

        Overview Rental Car Manager (RCM) provides a Web API through which you are able to use to build a set of booking steps which you can plug into your website. This API also allows for Agents to have access and search for availability of vehicles and to ...
      • Post Booking API Process

        Overview The RCM Post Booking API allows you to retrieve booking information and also update bookings that already exist within RCM.  The following information cannot be changed on the booking using the Post Booking API: Pickup/drop off locations ...