• Venue and event management in the cloud

How Can We Help?


Opportunity Venue Booking Prices: Venue Booking prices based on Smart Pricing

In this article


Find venue booking prices based on Smart Pricing

POST v2/priceSchedule/opp/vb/getMatching

This API returns the best possible combination of smart pricing's based on user inputs.

Parameter
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.

Opportunity    JsonObject
  • Number Long (Opportunity Number)
  • OpportunitySource JsonObject
  • EventType JsonObject
  • ContactType JsonObject
  • Contact JsonObject

Note: In the Opportunity object either the opportunity number must be entered or 4 nested objects should be entered(OpportunitySource, EventType, ContactType, Contact). Either of them is mandatory.

JSON

{
"VenueId": 100176348,
"VenueName": "Function Room 1",
"StartDate": "26/04/2021 09:00",
"EndDate": "26/04/2021 17:30",
"Opportunity": {
"Number": "56"
}
}
Response:
{
"result": {
"PriceSchedule": [
{
"TotalCost": "60.00",
"TotalPrice": "990.00",
"PriceScheduleRates": [
{
"Abbreviation": "SP",
"Venue": {
"Id": 100176348,
"Name": "Function Room 1"
},
"EndDate": "26\/04\/2021 17:30",
"DiscountAmount": "0.00",
"StartDate": "26\/04\/2021 09:00",
"UnitCost": "60.00",
"BookingUnit": "Full Day",
"UnitPrice": "990.00",
"DiscountType": "P",
"Qty": "1",
"Total": "990.00",
"PSCatalogueItem": true,
"DiscountValue": "0.00"
}
],
"Id": 2,
"Name": "Weekday Rate"
}
]
},
"AdditionalInfo": {
"TotalCost": "60.00",
"TotalPrice": "990.00",
"DoNotOverwritePSRate": false
},
"success": true
}