Skip to content

Latest commit

 

History

History
89 lines (76 loc) · 3 KB

get-booking-attendee-by-hash.md

File metadata and controls

89 lines (76 loc) · 3 KB

Get Booking Attendee (By Hash)

{% swagger baseUrl="[PlatformAddress]/api/1.0/" path="venue?action=getBookingAttendeeByHash" method="post" summary="Get Booking ATttendee (By Hash)" %} {% swagger-description %} Get the details of a specific booking attendee to which the user has access. {% endswagger-description %}

{% swagger-parameter name="venueId" type="integer" in="path" %} The id of the venue {% endswagger-parameter %}

{% swagger-parameter name="bookingId" type="integer" in="path" %} The id of the booking {% endswagger-parameter %}

{% swagger-parameter name="hash" type="string" in="path" %} The hash of the booking attendee {% endswagger-parameter %}

{% swagger-response status="200" description="" %}

{
    "id": "10",
    "venueId": "1",
    "bookingId": "4407",
    "firstName": "First",
    "lastName": "Last",
    "phone": "123456789",
    "email": "[email protected]",
    "dietaryRequirement": "Specific requirement",
    "isFromCateringWebsite": true,
    "menuItems": [
        {
            "sessionId": "2447",
            "menuId": "225",
            "inventoryId": "14"
        },
        {
            "sessionId": "2447",
            "menuId": "226",
            "inventoryId": "18"
        },
        {
            "sessionId": "2448",
            "menuId": "227",
            "inventoryId": "20"
        }
    ]
}

{% endswagger-response %} {% endswagger %}

The result from this call will be the details of a specific booking attendee to which the user has access.

Example Request

{
	"venueId" : 1,
	"bookingId" : 4407,
	"hash": "a58cac7da5865295bec0a0136c618874"
}

Booking Attendee

Property Type Required Description
id integer optional The unique id of the booking attendee.
venueId integer required The id of the venue to which the booking attendee belongs
bookingId integer required The id of the booking.
firstName string required The first name of the booking attendee.
lastName string required The last name of the booking attendee.
phone string required The phone number of the booking attendee.
email string required The email address of the booking attendee.
isFromCateringWebsite boolean optional Whether or not booking attedee recorded from catering website
dietaryRequirement string optional The dietary requirements of the booking attendee.
menuItems array optional The list of menu items that is included in the booking attendee menu. See Menu Item section for details of each item

Menu Item

A menu item is an object with the following details.

Property Type Required Description
sessionId integer required The id of the session to which the booking menu belongs
menuId integer required The id of the attendee to which the booking attendee belongs
inventoryId integer required The id of the attendee to which the booking attendee belongs