• Venue and event management in the cloud

How Can We Help?


Venues: Block Venues

In this article


Block Venues

POST /v2/venue/add/booking

Allows you to block off up to 10 venues at a time so that these can be added to an event. Each booking is defined by the parameters below in an array

Parameter
VenueId    Long

The ID(s) of the venue you would like to block.

StateDate    DateTime

The start date and time range of the venue booking.

EndDate    DateTime

The end date and time range of the venue booking.

SetUpType    Object {Id, Name}

The Set Up being added. This Set Up must exist in your Priava account. Passed in JSON format where Id=the ID of the Set Up.
Name= the name of the Set Up

SetUpDuration    Integer

The duration of time required for set up in minutes.

SetDownType    Object {Id, Name}

The Set Down being added. This Set Down must exist in your Priava account. Passed in JSON format where Id=the ID of the Set Down.
Name= the name of the Set Down.

SetDownDuration     Integer

The duration of time required for set down in minutes.

VenuePax     Integer

The number of persons (PAX) which will be attending or present at the event/venue.

VenueBookingType     Object {Id, Name}

The Booking Type to be associated to this venue booking. The Booking Type must exist in your Priava Account. Passed in JSON format where; Id = the ID of the booking type.

Name = the name of the booking type.

VenueBookingStatus     Object {Id, Name}

The Event Status to be associated to this venue booking. The Event Status must exist in your Priava Account. Passed in JSON format where;
Id = the ID of the event status.

Name = the name of the event status.

VenueComment     String

The comment to be added to the venue booking.

 

{   
"VenueId" : 123,
 "StartDate" : "15/11/2018 12:00", "EndDate" : "15/11/2018 16:00", "SetUpType" : { "Id" : 1,         "Name" : "Set Up"             }, "SetUpDuration" : 15,  "SetDownType" : {              "Id" : 2,                "Name" : "Set Down"
},      "SetDownDuration" : 15,      "VenuePax" : 10,      "VenueBookingType" : {      "Id" : 1,    "Name" : "Primary Room"      },      "VenueBookingStatus" : {    "Id" : 3,    "Name" : "Confirmed"      },     "VenueComment" : "This room has an 80” LCD screen and Apple TV."   } ] }

Response:

In the response Blocked will be true if your request has been successful and the booking timeout in seconds will be provided in the BookingTimeout property. If your request fails Blocked will be false and the reason will be provided in the Reason property.

{

  "success" : true,
    "result" :
     [
   "VenueId": 123,       "StartDate": "15/11/2018 12:00",    "EndDate": "15/11/2018 16:00",  "IsSetUp": false,
   "IsSetDown": false,    "AssociatedBookingId": 0,   "VenueBlockId" : 1, "Blocked": true,    "Reason": "",    "Booking Timeout": 300
     } ]           }