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.