Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • type – to determine appropriate content in the dynamic template, one of values:

    • bookingConfirmation – Customer created booking

    • bookingRescheduled

    • bookingRescheduledToAdmin - Customer rescheduled booking date/time. Send update to manager. Handling not required for AD flow

    • bookingRescheduledToCustomer - Customer rescheduled booking date/time. Send an update to customer

    • remindedAboutBooking – Booking reminder for customer

    • bookingActivated – Booking is activate and is a queue ticket now

    • Cancellation:

      • positionCancelled – staff removed future booking created by the customer (old)

      • positionCancelledByCustomer - Customer cancelled position

    • notifiedToApproach - notify customer that it’s his/her turn soon

    • positionCalled – Position called by staff

    • positionRetry – staff pressed ‘Retry’ because customer did not show up

    • positionRejected – staff pressed ‘Reject’ to remove ticket

      • (old)

      • positionCancelledByAdminToCustomer

      • positionCancelledByCustomerToAdmin - customer cancelled position. Use case - update queue manager about the change. We will attach ics file if possible

      • positionCancelledByCustomerToCustomer - customer cancelled position. Use case - update customer’s calendar if previously he had got ics file from our system.

      • positionCancelledByAdminToCustomer - staff removed future booking created by the customer. Send an email to customer will link to rebook

      • positionCancelledByAdminToAdmin - send an email with ics file attached for updating calendar (if ics file was provided previously)

    • notifiedToApproach - notify customer that it’s his/her turn soon

    • positionCalled – Position called by staff

    • positionRetry – staff pressed ‘Retry’ because customer did not show up

    • positionRejected – staff pressed ‘Reject’ to remove ticket

    • feedbackRequested- an email with reminder to provide feedback (if not provided yet)

  • position – Position model schema

  • actionLink – link to present to customer, link depends on email type (see below)

...

NOTES:

  1. For getting phone number it’s better to you can get it from notification or from registration field (in case if notification way is changed only registration field keeps phone number information). Query like position?.notification?.settings?.to ?? position?.registrationData?.phone?.value should be used

  2. For latest position model please visit Position model

Info

Changelog 09-08-2021:

  1. Added new types

  2. Breaking change: Renamed with split positionCancelledByCustomer to positionCancelledByCustomerToAdmin and positionCancelledByCustomerToCustomer

  3. Breaking change: positionCancelled was split to admin / customer, please see examples.

  4. Breaking change: bookingRescheduled was split into admin / customer, please check examples

  5. Breaking change: phone number from registration is prohibited and shouldn’t be used anymore.

Info

Changelog 22-02-2021:

  1. Added stations schema

  2. Warning! We won’t update position example here, we will only update Position model link

  3. We won’t update change log section any more, please look into Page history for checking what was changed

...

Info

Changelog 24-12-2020:

  1. Added “recipient” field into notification.setting for “phoneNumber” notification type (if email specified)

Template by type:

...

  1. setting for “phoneNumber” notification type (if email specified)

Template by type:

  1. bookingConfirmation:

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }
            },
            "status": "draft",
            "label": "", // label will generated when time comes
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "bookingConfirmation",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

    Code Block
    <html><head><title></title></head>
      <body>
      <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
        
        <p>        
        {{#equals position.locale "ar"}}
            حجزك لـ ‪{{position.date}}‬ مؤكد الآن.
            تذكرة: ‪{{actionLink}}‬
        {{else}}
            Your booking for {{position.booking.start}} is now confirmed. Ticket: {{actionLink}}
        {{/equals}}
        </p>        
        
      </div>
    </body>
    </html>

  2. bookingRescheduledToAdmin

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "email",
                "settings": {
                    "from": "",
                    "recipient": "test-manager@email.com"
                },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }
            },
            "status": "draft",
            "label": "", // label will generated when time comes
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "bookingRescheduledToAdmin",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

  3. bookingRescheduledToCustomer

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "email",
                "settings": {
                    "from": "",
                    "recipient": "test-manager@email.com"
                },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }
            },
            "status": "draft",
            "label": "", // label will generated when time comes
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "bookingRescheduledToCustomer",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }


    Code Block
    <html><head><title></title></head>
      <body>
      <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
        
        <p>        
        {{#equals position.locale "ar"}}
            some text on ar‬
        {{else}}
            Booking for {{position.booking.start}} is was rescheduled. Queue: {{actionLink}}
        {{/equals}}
        </p>        
        
      </div>
    </body>
    </html>

  4. remindedAboutBooking:

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }
            },
            "status": "draft",
            "label": "", // label will generated when time comes
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "bookingReminder",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

    Code Block
    
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
          
            <p>        
            {{#equals position.locale "ar"}}
                لا تنس حجزك في 
            {{else}}
                Don't forget your booking in 15 minutes
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
    

  5. bookingActivated:

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
    
           "station": {
              "label": "A"
            },
            "registrationData": {
       
          "phone": { value: "+48888888888" },
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }
            },
            "status": "draftpending",
            "label": "B1", // label will generated when time comes
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "bookingConfirmationbookingActivated",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

    Code Block
    
      <html>
        <head>
          

    }

    Code Block
    <html><head><title></title></head><title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
            حجزك لـ"رقم موعدك: ‪{{position.datelabel}}‬. مؤكديرجى الآن.الحضور في خلال 15 دقيقة لتجنب إلغاء  الموعد تذكرة: ‪{{actionLink}}‬" 
            {{else}}
                Your booking forposition: {{position.booking.startlabel}} is now confirmed. Please come within 15 minutes to avoid cancellation of your appointment. Ticket: {{actionLink}}
            {{/equals}}
            </p>
                
          </div>div>
        </body>
      </html>
    remindedAboutBooking:
    
    

  6. positionCancelledByAdminToAdmin
    actionLink will lead to queue admin.

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumberemail",
                "settings": {
                    "from": "",
                    "recipient": "test-manager@email.com"
                },
            },
            "station": {
              "tolabel": "+phoneNumber"A"
            },
            "booking": {
                "start"recipient": "test@email.com"
        : "yyyy-MM-dd HH:mm", // with respect to timezone
           },      "end":   }"yyyy-MM-dd HH:mm", // with respect to timezone
       "registrationData": {           "phonevirtualAppointment": {
    value: "+48888888888" },         },     eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
       "station": {           "label"isEnabled: "A"true
            },        managerEmail: "booking": {virtual-booking@some-domen.com"
                  "start"managerId: "yyyy-MM-dd HH:mm", // with respect to timezone9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
        "end": "yyyy-MM-dd HH:mm", // with respect to timezone }
            },
      "virtualAppointment": {     "status": "draft",
            eventId"label": "AAMkADExYWZmYjI4LTMxMjIt......="B1",
            "queue": "_queue_id_",
        isEnabled: true   "createdAt": "2020-05-26T08:47:37.1700000Z",
              managerEmail"rejectedAt": "virtual2020-booking@some-domen.com"05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            managerId: "9cd376b6-......."QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "positionCancelledByCustomerToAdmin",
        url"actionLink": "https://teamsqueue.qa.microsoftombori.com/ombori-demo/l/meetup-join/19....."
       queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/admin"    
    }

  7. positionCancelledByAdminToCustomer:

    Code Block
    {
       } "position":
           },{
            "statusid": "draft_id_",
            "labellocation": "",{
    // label will generated when time comes         "queuelocationName": "_queue_id_Ombori Street",
              "createdAtorganizationTitle": "2020-05-26T08:47:37.1700000Z",Ombori Title"
            "bookingReminderAt": null},
            "QRCodeCheckInPositionIdtype": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
    booking",
            "priority": 100,
       },     "typelocale": "bookingReminderen",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"   "notification": {
    }
    Code Block
       
    <html>
         
    <head>
        "type": "phoneNumber",
     
    <title></title>
         
    </head>
         
    <body>
     "settings": {
        
    <div
     
    data-role="module-unsubscribe"
     
    class="module"
     
    role="module"
     
    data-type="unsubscribe"
     
    style="color:#444444;
     
    font-size:12px;
     
    line-height:20px;
     
    padding:16px
     
    16px
     
    16px
     
    16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
     "from": "",
                    
    <p>
    "to": "+phoneNumber",
                   
    {{#equals position.locale "ar"}}
     "recipient": "test@email.com"
                },
            },
            "station": {
    
    لا
     
    تنس
     
    حجزك
     
    في
           "label": "A"
     
    {{else}}
           },
         
    Don't
     
    forget
     
    your
     "booking
    in
    ": 
    15
    {
    
    minutes
             
    {{/equals}}
       "start": "yyyy-MM-dd HH:mm", // with respect 
    </p>
    to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect 
    </div>
    to timezone
       
    </body>
       
    </html>
     

    bookingActivated:

    Code Block
    {     "positionvirtualAppointment": {
         {         "id"eventId: "_id_",AAMkADExYWZmYjI4LTMxMjIt......="
                  "location": {isEnabled: true
                  "locationName"managerEmail: "Ombori Street",virtual-booking@some-domen.com"
              "organizationTitle": "Ombori Title"  managerId: "9cd376b6-......."
         },         "type"url: "booking",https://teams.microsoft.com/l/meetup-join/19....."
              "priority": 100, }
           "locale": "en" },
            "notificationstatus": {
       "draft",
            "typelabel": "phoneNumberB1",
     
              "settingsqueue": {
           "_queue_id_",
            "fromcreatedAt": "2020-05-26T08:47:37.1700000Z",
          
             "torejectedAt": "+phoneNumber2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "recipientQRCodeCheckInPositionId": "test@email.com"
     "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
              },
            }"type": "positionCancelledByAdminToCustomer",
            "registrationData": {"actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/book"    
    }

    Code Block
    
      <html>
       

    "phone":

     

    {

    <head>
    

    value:

     

    "+48888888888"

     

    },

        <title></title>
        

    },

    </head>
        <body>
      

    "station":

     

    {

       <div data-role="module-unsubscribe" 

    "label": "A" },

    class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
           

    "booking":

     

    {

    <p>        
        

    "start":

     

    "yyyy-MM-dd

     

    HH:mm",

     

    //

     

    with respect to timezone

    {{#equals position.locale "ar"}}
                تم 

    "end": "yyyy-MM-dd HH:mm", // with respect to timezone

    إلغاء الحجز. {{position.label}} برجاء زيارة {{actionLink}} إذا كنت ترغب في حجز موعد جديد
           

    "virtualAppointment":

     {{else}}
                

    eventId: "AAMkADExYWZmYjI4LTMxMjIt......=" isEnabled: true

    Position {{position.label}} was cancelled. Visit {{actionLink}} if you would like to request a new position.
           

    managerEmail: "virtual-booking@some-domen.com"

     {{/equals}}
            

    </p>
        

    managerId:

     

    "9cd376b6-......."

           
          

    url: "https://teams.microsoft.com/l/meetup-join/19....."

    </div>
        </body>
      </html>
    

  8. positionCancelledByCustomerToCustomer

    Code Block
    {
       } "position":
           },{
            "statusid": "pending_id_",
            "labellocation": "B1",{
              "queuelocationName": "_queue_id_Ombori Street",
              "createdAtorganizationTitle": "2020-05-26T08:47:37.1700000Z",Ombori Title"
            "bookingReminderAt": null},
            "QRCodeCheckInPositionIdtype": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"booking",
        },     "typepriority": "bookingActivated"100,
         "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    "locale": "en",
       }
    Code Block
       
    <html>
      "notification": {
     
    <head>
           
    <title></title>
        
    </head>
    "type": "phoneNumber",
        
    <body>
           
    <div
     
    data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
    "settings": {
                    "from": "",
                    
    <p>
    "to": "+phoneNumber",
                  
    {{#equals
     
    position.locale
     "
    ar
    recipient"
    }} "رقم موعدك: ‪{{position.label}}‬. يرجى الحضور في خلال 15 دقيقة لتجنب إلغاء الموعد تذكرة: ‪{{actionLink}}‬"
    : "test@email.com"
                },
            },
            "station": 
    {
    {
    else}}
    
              "label": "A"
    
    Your
      
    position:
     
    {{position.label}}.
     
    Please
     
    come
     
    within
     
    15
     
    minutes
    },
    
    to
     
    avoid
     
    cancellation
     
    of
     
    your
     
    appointment.
     
    Ticket:
     
    {{actionLink}}
     "booking": {
          
    {{/equals}}
          "start": "yyyy-MM-dd HH:mm", 
    <
    //
    p>
     with respect to timezone
                "end": "yyyy-MM-dd HH:mm", 
    </div>
    // with respect to timezone
      
    </body>
        
    </html>
     

    positionCancelled:

    Code Block
    {     "positionvirtualAppointment": {
         {         "id"eventId: "_id_",AAMkADExYWZmYjI4LTMxMjIt......="
                  "location": {isEnabled: true
                  "locationName"managerEmail: "Ombori Street",virtual-booking@some-domen.com"
              "organizationTitle": "Ombori Title"  managerId: "9cd376b6-......."
         },         "type"url: "booking",https://teams.microsoft.com/l/meetup-join/19....."
              "priority": 100, }
           "locale": "en" },
            "notificationstatus": {
       "draft",
            "typelabel": "phoneNumberB1",
               "queue": "settings": {_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "fromrejectedAt": "2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "toQRCodeCheckInPositionId": "+phoneNumber",
                    "recipient": "test@email.com"
           {"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
            }"type": "positionCancelledByAdminToCustomer",
            "station": {
         "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/positions/poisition-id"    
    }


  9. positionCancelledByCustomerToAdmin
    actionLink will lead to queue admin.

    Code Block
    {
        "labelposition":
    "A"         },{
            "registrationDataid": {
     "_id_",
            "phonelocation": { value: "+48888888888" },
          
     },         "bookinglocationName": {"Ombori Street",
               "startorganizationTitle": "yyyy-MM-dd HH:mm", // with respect to timezoneOmbori Title"
                   "end": "yyyy-MM-dd HH:mm", // with respect to timezone
       },
            "type": "booking",
            "virtualAppointmentpriority": 100,
    {        "locale": "en",
         eventId:   "AAMkADExYWZmYjI4LTMxMjIt......="
    notification": {
                 isEnabled"type": true"email",
                "settings": {
    managerEmail: "virtual-booking@some-domen.com"               managerId"from": "9cd376b6-......."",
                   url "recipient": "https://teams.microsoft.com/l/meetup-join/19.....test-manager@email.com"
                },
            },
            "statusstation": "draft",{
              "label": "B1"A"
            },
            "queuebooking": "_queue_id_", {
                "createdAtstart": "2020yyyy-05MM-26T08:47:37.1700000Z",
    dd HH:mm", // with respect to timezone
                "rejectedAtend": "2020yyyy-05MM-26T15:30:37.1700000Zdd HH:mm", // with respect to timezone
       "bookingReminderAt": null,         "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
      "virtualAppointment": {
       },     "type": "positionCancelled",     "actionLink"eventId: "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/bookAAMkADExYWZmYjI4LTMxMjIt......="
        }
    Code Block
       
    <html>
         
    <head>
      isEnabled: true
       
    <title></title>
         
    </head>
         
    <body>
     
    managerEmail: "virtual-booking@some-domen.com"
     
    <div
     
    data-role="module-unsubscribe"
     
    class="module"
     
    role="module"
     
    data-type="unsubscribe"
     
    style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
      
    <p>
              }
          
    {{#equals
     
    position.locale
     
    "ar"
    }
    }
    ,
            "status": "draft",
      
    تم
     
    إلغاء
     
    الحجز.
     
    {{position.label}}
     
    برجاء
     
    زيارة {{actionLink}} إذا كنت ترغب في حجز موعد جديد
     "label": "B1",
            "queue": "_queue_id_",
       
    {{else}}
         "createdAt": "2020-05-26T08:47:37.1700000Z",
          
    Position
     
    {{position.label}} was cancelled. Visit {{actionLink}} if you would like to request a new position.
     "rejectedAt": "2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": 
    {{/equals}}
    "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
       
    </p>
     "type": "positionCancelledByCustomerToAdmin",
        
    </div>
    "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/admin"    
    
    </body> </html>
    }

  10. notifiedToApproach

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "email",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
    
           },         "registrationDatarecipient": {"test@email.com"
              "phone": { value: "+48888888888" },
            },
           "station": {
              "label": "A"
            },        
            "booking": { // could be exist or could be missed
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }            
            },
            "status": "draft",
            "label": "B1",
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "calledAt": "2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "notifiedToApproach",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/_id_"    
    }


    Code Block
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
                سيحل دورك قريباً. من فضلك توجه إلى المدخل.
            {{else}}
                It will be your turn soon. Please go to the entrance.
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
  11. positionCalled

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "registrationData":
    {           "phone": { value: "+48888888888" },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }            
            },
            "status": "pending",
            "label": "B1",
            "queue": "_queue_id_",
            "calledAt": "2020-05-26T15:30:37.1700000Z",              
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "positionCalled",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

    Code Block
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
                حان دورك الآن.
            {{else}}
                It is your turn now.
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
    

  12. positionRetry

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "registrationData": {
    
             "phone": { value: "+48888888888" },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }            
            },
            "status": "pending",
            "label": "B1",
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "calledAt": "2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "positionRetry",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }

    Code Block
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
                تم الوصول لدورك، لكنك لم تدخل. سنحاول مرة أخرى في غضون دقائق قليلة. الرجاء الإقتراب من المدخل
            {{else}}
                We called your ticket, but did not find you. We will try again in few minutes. Please approach the entrance.
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
    

  13. feedbackRequested

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "registrationData": {
              "phone": { value: "+48888888888" },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }            
            },
            "status": "pending",
            "label": "B1",
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "calledAt": "2020-05-26T15:30:37.1700000Z",
            "fullfilledAt": "2020-05-26T20:30:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "feedbackRequested",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92/positions/1c645e74-edd8-48ed-b5c7-3c48fa715c8a"    
    }


    Note: url_to_feedback is actionLink and by default it is a link to our ticket with feedback form.

    Code Block
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
                كيف كانت تجربتك اليوم؟ يرجى إرسال ملاحظاتك إلينا حول حجزك: {{url_to_feedback}}
            {{else}}
                How was your experience today? Please give us feedback about your booking: {{url_to_feedback}}
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
    

  14. positionReject

    Code Block
    {
        "position":
          {
            "id": "_id_",
            "location": {
              "locationName": "Ombori Street",
              "organizationTitle": "Ombori Title"
            },
            "type": "booking",
            "priority": 100,
            "locale": "en",
            "notification": {
                "type": "phoneNumber",
                "settings": {
                    "from": "",
                    "to": "+phoneNumber",
                    "recipient": "test@email.com"
                },
            },
            "registrationData": {
    
             "phone": { value: "+48888888888" },
            },
            "station": {
              "label": "A"
            },
            "booking": {
                "start": "yyyy-MM-dd HH:mm", // with respect to timezone
                "end": "yyyy-MM-dd HH:mm", // with respect to timezone
                "virtualAppointment": {
                  eventId: "AAMkADExYWZmYjI4LTMxMjIt......="
                  isEnabled: true
                  managerEmail: "virtual-booking@some-domen.com"
                  managerId: "9cd376b6-......."
                  url: "https://teams.microsoft.com/l/meetup-join/19....."
                }            
            },
            "status": "cancelled",
            "label": "B1",
            "queue": "_queue_id_",
            "createdAt": "2020-05-26T08:47:37.1700000Z",
            "calledAt": "2020-05-26T17:15:59.6100000Z",
            "rejectedAt": "2020-05-26T15:30:37.1700000Z",
            "bookingReminderAt": null,
            "QRCodeCheckInPositionId": "{"type":"check-in-position","positionId":"ce4a66df-51ff-47af-bf5e-4e26f82d266b"}"
        },
        "type": "positionReject",
        "actionLink": "https://queue.qa.ombori.com/ombori-demo/queues/36a4bdd7-7145-48f9-be92-0fd659f96f92"    
    }

    Code Block
      <html>
        <head>
          <title></title>
        </head>
        <body>
          <div data-role="module-unsubscribe" class="module" role="module" data-type="unsubscribe" style="color:#444444; font-size:12px; line-height:20px; padding:16px 16px 16px 16px; text-align:Center;" data-muid="4e838cf3-9892-4a6d-94d6-170e474d21e5">
            
            <p>        
            {{#equals position.locale "ar"}}
                تم إلغاء الحجز. {{position.label}} برجاء زيارة {{actionLink}} إذا كنت ترغب في حجز موعد جديد
            {{else}}
                Position {{position.label}} was cancelled. Visit {{actionLink}} if you would like to request a new position.
            {{/equals}}
            </p>
                
          </div>
        </body>
      </html>
    

...