Find venue booking prices based on Smart Pricing
POST v2/priceSchedule/getMatchingPSForVB
This API returns the best possible combination of smart pricing's based on user inputs.
Parameter
Number String
The unique number of an Event. Required when an event is to be updated. It will be empty, when a new event is created.
VenueId Long
The VenueId of the venue for which rates to be fetched.
VenueName String
The name of an venue for which rates to be fetched.
StartDate DateTime
The venue booking start date and time.
EndDate DateTime
The venue booking end date and time.
BookingType JsonObject
- Id Long (The Id of the booking type)
- Name String (The Name of the booking type)
- Colour String (The Colour code of the booking type)
- Inactive Boolean (The Inactive status either true or false)
- TextColour String (The TextColour code of the booking type)
- Position Integer (The position of the booking type)
BookingStatus JsonObject
- Type String (The type for the selected booking status)
- TextColour String (The TextColour code of the booking status)
- Position Integer (The position of the booking status)
- Colour String (The Colour code of the booking status)
- Id Long (The Id of the booking status)
- Name String (The Name of the booking status)
Event JsonObject
- Number Long (To be passed as null if event is not created)
- EventType JsonObject (Id,Name)
- EventStatus JsonObject (Id,Name)
- EventSource JsonObject (Id,Name)
- ContactType JsonObject (Id,Name)
- Contact JsonObject
Note: In the Event object either the event number must be entered or 4 nested objects should be entered(EventSource, EventType, ContactType, Contact, EventStatus). Either of them is mandatory.