• Venue and event management in the cloud

How Can We Help?


Venues: Search Venues

In this article


Search Venues

POST /v2/venue/get

Returns a list of venues matching the search parameters provided in your request. By default, only the first 50 searched venues will be returned.

Parameter
StateDate    DateTime

The start date and time range of the venues to be searched.

EndDate    DateTime

The end date and time range of the venues to be searched.

NextPageDirection    String

What direction you would like to page for your next set of results. The only values allowed are forward or reverse .

LastPageVenueId    Long

The venue id of the last venue on your current set of results to be used as the reference point for your next set of results.

OnlyAvailable    Boolean

true if you would like to search for venues that are available to be booked.
false to not restrict the search by availability.

OnlyReserved    Boolean

true if you would like to search for venues that are already booked.
false to not restrict the search by reserved venues.

PageNo    Integer

The Page Number of the Venue list results.

Offset    Integer

If Offset is specified then it will fetch the next number of records after offset and skip the previous records, for e.g If there are 50 records and offset is 10 then records will be fetched from 11 to 50.

RecordsPerPage    Integer

The number of records per page.

SortingOrder    Object Array

The sorting of data as per the ColoumnName provided. If IsAscending is true, sorts the result in the ascending order else in the descending order.

NOTE: Sorting order cannot be passed along with NextPageDirection and LastPageVenueId

{
    "StartDate": "01/07/2018 15:30:00",
    "EndDate": "01/08/2018 15:30:00",
    "OnlyAvailable": "false",
    "OnlyReserved": "false",
    "NextPageDirection": "Forward",
    "LastPageVenueId": 18963,
"PageNo": "1",
"Offset": "0",
"RecordsPerPage": "10", "SortingOrder": [ { "ColumnName": "VenueName", "IsAscending": true } ] }

Response:

List of venues satisfying the search criteria.

{
   "success": true,
   "result": [{
         "ParentGroupName": "Corporate ",
         "Position": 2,
         "VenueName": "UWA Watersports",
         "ParentGroupId": 5584,
         "Inactive": false,
         "VenueId": 18962,
         "MinCapacity": 75,
         "MaxCapacity": 150
      },
      {
         "ParentGroupName": "Corporate ",
         "Position": 3,
         "VenueName": "Allendale Square Conference Suite",
         "ParentGroupId": 5584,
         "Inactive": false,
         "VenueId": 18961,
         "MinCapacity": 0,
         "MaxCapacity": 0
      },
      {
         "ParentGroupName": "Event Venues ",
         "Position": 1,
         "VenueName": "Supreme Court Gardens",
         "ParentGroupId": 5585,
         "Inactive": false,
         "VenueId": 18964,
         "MinCapacity": 500,
         "MaxCapacity": 5000
      },
      {
         "ParentGroupName": "Event Venues ",
         "Position": 2,
         "VenueName": "Quarry Ampitheatre",
         "ParentGroupId": 5585,
         "Inactive": false,
         "VenueId": 18960,
         "MinCapacity": 140,
         "MaxCapacity": 700
      }
   ]
}