Hi everyone
Bit of a long post this but here goes.
Our web developer asked the following question a while ago:-
'When users have added tickets to their cart, we return their cart to display in a mini basket throughout the site. In order to return the cart we are calling a Tessitura API method “GetCart”.At the moment it does not look like that method returns “ProductionID” of the shows in the cart, it only returns the “PerformanceId”. Is there anyway we can get the “ProductionID” back at the same time for each show that is in the cart?'
With my extremely limited knowledge of the API, I suggested that they use one of the GetProductionDetail methods. Was this a sensible suggestion?
Now they've asked this:-
I have taken a look at the productions set up using the “GetPerformanceDetails” method on the additional api, however, I am slightly confused, what comes back is
<?xml version="1.0" encoding="UTF-8" ?>-<ProductionDetails ID="15412"> -<Performance ID="15397" PerformanceDate="18 May 2012 19:45" SeatsAvailable="115" AvailableForSale="Y" TheaterNo="4"> <AccessibilityOption ID="6" Description="Drama" /> </Performance> -<Performance ID="15399" PerformanceDate="19 May 2012 19:45" SeatsAvailable="114" AvailableForSale="Y" TheaterNo="4"> <AccessibilityOption ID="6" Description="Drama" /> </Performance>
As you can see the accessbilityoption ID is 6.
The confusion is because we have Accessibility Options setup in TR_TKW_CATEGORY as ID = 3 while the GetPerformanceDetails method returns Accessibility Options as ID = 6. The question is which ID should they use to determine whether a production has Accessibility Options.
Any help appreciated.
Thanks
Alan Stratton