POST api/GetPerformanceWithEntitlements
Request Information
URI Parameters
None.
Body Parameters
GetPerformanceRequestName | Description | Type | Additional information |
---|---|---|---|
PerformanceId | integer |
Required |
|
ModeOfSale | integer | ||
SessionKey | string |
Request Formats
application/json, text/json
Sample:
{ "PerformanceId": 1, "ModeOfSale": 1, "SessionKey": "sample string 2" }
application/xml, text/xml
Sample:
<GetPerformanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Performance"> <ModeOfSale>1</ModeOfSale> <PerformanceId>1</PerformanceId> <SessionKey>sample string 2</SessionKey> </GetPerformanceRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiSuccessOfGetPerformanceWithEntitlementsResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetPerformanceWithEntitlementsResult |
Response Formats
application/json
Sample:
{ "Success": true, "Data": { "MemberCompTicketQuantityData": { "SessionKey": "QoMQ1TpAV3xf2ei7Po8uGEBARiK6GRg0KGL+VoAJpk4OvVvn95yrT/XyMhaRMw2vmIgytfJLIQbblkbDwEvSSop84rkiWxmGOrzzX++r9TI=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "PerformanceCompTicketQty": 6, "CompTicketsRemaining": 7 }, "MemberCompSeasonTicketQuantityData": { "SessionKey": "JQxQu3qlgLMjeM3QGRjuazYqhQ3KpvKcY8XRRrVJp1pWXtXPvfm6nYhex52vS1E2qrBuVfMFCGUfCYlb33pxw46T/8JLvLUiBEuXZwCcH60=", "CustomerId": 2, "MemberLevel": "sample string 3", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "SeasonCompTicketQty": 5, "CompTicketsRemaining": 6 }, "CompareMemberExpirationToPerformanceData": { "SessionKey": "kaiemi2vKBWOQvAHkbgwlUBxVhMB4IiNPUScv1qbvbeUmnDHwoqYo49dqVqcvXhVZhFPkdN5DnZKMJqaQiz1BK7s+4Hi3ByPEUDUffrokjU=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "MemberEntitled": 6 }, "ExpirationDateAfterPerformanceDate": true, "Performance": { "ID": 1, "Title": "sample string 2", "Date": "2025-03-17T21:41:29.5504953+00:00", "StartDate": "2025-03-17T21:41:29.5504953+00:00", "EndDate": "2025-03-17T21:41:29.5504953+00:00", "Facility": 6, "FacilityDescription": "sample string 7", "OnSale": true, "PerformanceType": 9, "PerformanceTypeDescription": "sample string 10", "IsSeated": true, "ProductionSeason": 12, "Season": 13, "Status": 14, "StatusDescription": "sample string 15", "IsGeneralAdmission": true, "Timeslots": [ { "ZoneId": 1, "Description": "sample string 2", "Time": "2025-03-17T21:41:29.5504953+00:00", "IsAvailable": true, "AvailableCount": 5, "Pricetypes": [ { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" }, { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" } ] }, { "ZoneId": 1, "Description": "sample string 2", "Time": "2025-03-17T21:41:29.5504953+00:00", "IsAvailable": true, "AvailableCount": 5, "Pricetypes": [ { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" }, { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" } ] } ], "WebContentList": [ { "ID": 1, "Value": "sample string 2" }, { "ID": 1, "Value": "sample string 2" } ] }, "ModeOfSaleOffers": [ { "ID": 1, "MaxSeats": 2, "OverrideDefaultPriceTypeIndicator": true, "Rank": 4, "AppealId": 5, "ModeOfSaleId": 6, "PerformanceId": 7, "PackageId": 8, "PriceTypeId": 9, "StartDateTime": "2025-03-17T21:41:29.5504953+00:00", "EndDateTime": "2025-03-17T21:41:29.5504953+00:00" }, { "ID": 1, "MaxSeats": 2, "OverrideDefaultPriceTypeIndicator": true, "Rank": 4, "AppealId": 5, "ModeOfSaleId": 6, "PerformanceId": 7, "PackageId": 8, "PriceTypeId": 9, "StartDateTime": "2025-03-17T21:41:29.5504953+00:00", "EndDateTime": "2025-03-17T21:41:29.5504953+00:00" } ] } }
text/json
Sample:
{ "Success": true, "Data": { "MemberCompTicketQuantityData": { "SessionKey": "HTyhUR2NzMIi5T/QWybVKKEKQrxb/exS7b4EHthR0gj+XG320Xhz2SweHSuY26BiMpIEka9Qe8IfmJawE/PGxOYF9zFQK26ny9bXhNqBNv0=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "PerformanceCompTicketQty": 6, "CompTicketsRemaining": 7 }, "MemberCompSeasonTicketQuantityData": { "SessionKey": "ZxiNlIe9+tqtcKpJlktqg0Z8+OTKYKpy+0Cw+JOWpLhO9NtZtrnDM8BBrtIM+XsRAGZjJQKYomxHcRE30WEAJMSqz8CqEIM8LpQyi+XJrDI=", "CustomerId": 2, "MemberLevel": "sample string 3", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "SeasonCompTicketQty": 5, "CompTicketsRemaining": 6 }, "CompareMemberExpirationToPerformanceData": { "SessionKey": "e6WriDhJvZ1wUxOdTElCYfVtnNFoU00axeBKJ2VnUHnYeay/oz2wPzKXRVeCSGYlYQcYkpF5jU9D2KAt14UNnTLrZ2uFh2Cy6NqgE2P5Sj0=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2025-03-17T21:41:29.5504953+00:00", "MemberEntitled": 6 }, "ExpirationDateAfterPerformanceDate": true, "Performance": { "ID": 1, "Title": "sample string 2", "Date": "2025-03-17T21:41:29.5504953+00:00", "StartDate": "2025-03-17T21:41:29.5504953+00:00", "EndDate": "2025-03-17T21:41:29.5504953+00:00", "Facility": 6, "FacilityDescription": "sample string 7", "OnSale": true, "PerformanceType": 9, "PerformanceTypeDescription": "sample string 10", "IsSeated": true, "ProductionSeason": 12, "Season": 13, "Status": 14, "StatusDescription": "sample string 15", "IsGeneralAdmission": true, "Timeslots": [ { "ZoneId": 1, "Description": "sample string 2", "Time": "2025-03-17T21:41:29.5504953+00:00", "IsAvailable": true, "AvailableCount": 5, "Pricetypes": [ { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" }, { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" } ] }, { "ZoneId": 1, "Description": "sample string 2", "Time": "2025-03-17T21:41:29.5504953+00:00", "IsAvailable": true, "AvailableCount": 5, "Pricetypes": [ { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" }, { "ID": 1, "Description": "sample string 2", "Price": 3.0, "BasePrice": 4.0, "IsPromo": true, "PromoMax": 6, "PromoText": "sample string 7" } ] } ], "WebContentList": [ { "ID": 1, "Value": "sample string 2" }, { "ID": 1, "Value": "sample string 2" } ] }, "ModeOfSaleOffers": [ { "ID": 1, "MaxSeats": 2, "OverrideDefaultPriceTypeIndicator": true, "Rank": 4, "AppealId": 5, "ModeOfSaleId": 6, "PerformanceId": 7, "PackageId": 8, "PriceTypeId": 9, "StartDateTime": "2025-03-17T21:41:29.5504953+00:00", "EndDateTime": "2025-03-17T21:41:29.5504953+00:00" }, { "ID": 1, "MaxSeats": 2, "OverrideDefaultPriceTypeIndicator": true, "Rank": 4, "AppealId": 5, "ModeOfSaleId": 6, "PerformanceId": 7, "PackageId": 8, "PriceTypeId": 9, "StartDateTime": "2025-03-17T21:41:29.5504953+00:00", "EndDateTime": "2025-03-17T21:41:29.5504953+00:00" } ] } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetPerformanceWithEntitlementsResultMuoEL63e xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Performance"> <d2p1:ModeOfSaleOffers xmlns:d3p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Promotion"> <d3p1:ModeOfSaleOffer> <d3p1:AppealId>5</d3p1:AppealId> <d3p1:EndDateTime>2025-03-17T21:41:29.5504953+00:00</d3p1:EndDateTime> <d3p1:ID>1</d3p1:ID> <d3p1:MaxSeats>2</d3p1:MaxSeats> <d3p1:ModeOfSaleId>6</d3p1:ModeOfSaleId> <d3p1:OverrideDefaultPriceTypeIndicator>true</d3p1:OverrideDefaultPriceTypeIndicator> <d3p1:PackageId>8</d3p1:PackageId> <d3p1:PerformanceId>7</d3p1:PerformanceId> <d3p1:PriceTypeId>9</d3p1:PriceTypeId> <d3p1:Rank>4</d3p1:Rank> <d3p1:StartDateTime>2025-03-17T21:41:29.5504953+00:00</d3p1:StartDateTime> </d3p1:ModeOfSaleOffer> <d3p1:ModeOfSaleOffer> <d3p1:AppealId>5</d3p1:AppealId> <d3p1:EndDateTime>2025-03-17T21:41:29.5504953+00:00</d3p1:EndDateTime> <d3p1:ID>1</d3p1:ID> <d3p1:MaxSeats>2</d3p1:MaxSeats> <d3p1:ModeOfSaleId>6</d3p1:ModeOfSaleId> <d3p1:OverrideDefaultPriceTypeIndicator>true</d3p1:OverrideDefaultPriceTypeIndicator> <d3p1:PackageId>8</d3p1:PackageId> <d3p1:PerformanceId>7</d3p1:PerformanceId> <d3p1:PriceTypeId>9</d3p1:PriceTypeId> <d3p1:Rank>4</d3p1:Rank> <d3p1:StartDateTime>2025-03-17T21:41:29.5504953+00:00</d3p1:StartDateTime> </d3p1:ModeOfSaleOffer> </d2p1:ModeOfSaleOffers> <d2p1:Performance> <d2p1:Date>2025-03-17T21:41:29.5504953+00:00</d2p1:Date> <d2p1:EndDate>2025-03-17T21:41:29.5504953+00:00</d2p1:EndDate> <d2p1:Facility>6</d2p1:Facility> <d2p1:FacilityDescription>sample string 7</d2p1:FacilityDescription> <d2p1:ID>1</d2p1:ID> <d2p1:IsGeneralAdmission>true</d2p1:IsGeneralAdmission> <d2p1:IsSeated>true</d2p1:IsSeated> <d2p1:OnSale>true</d2p1:OnSale> <d2p1:PerformanceType>9</d2p1:PerformanceType> <d2p1:PerformanceTypeDescription>sample string 10</d2p1:PerformanceTypeDescription> <d2p1:ProductionSeason>12</d2p1:ProductionSeason> <d2p1:Season>13</d2p1:Season> <d2p1:StartDate>2025-03-17T21:41:29.5504953+00:00</d2p1:StartDate> <d2p1:Status>14</d2p1:Status> <d2p1:StatusDescription>sample string 15</d2p1:StatusDescription> <d2p1:Timeslots> <d2p1:Timeslot> <d2p1:AvailableCount>5</d2p1:AvailableCount> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:IsAvailable>true</d2p1:IsAvailable> <d2p1:Pricetypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <d6p1:Pricetype> <d6p1:BasePrice>4</d6p1:BasePrice> <d6p1:Description>sample string 2</d6p1:Description> <d6p1:ID>1</d6p1:ID> <d6p1:IsPromo>true</d6p1:IsPromo> <d6p1:Price>3</d6p1:Price> <d6p1:PromoMax>6</d6p1:PromoMax> <d6p1:PromoText>sample string 7</d6p1:PromoText> </d6p1:Pricetype> <d6p1:Pricetype> <d6p1:BasePrice>4</d6p1:BasePrice> <d6p1:Description>sample string 2</d6p1:Description> <d6p1:ID>1</d6p1:ID> <d6p1:IsPromo>true</d6p1:IsPromo> <d6p1:Price>3</d6p1:Price> <d6p1:PromoMax>6</d6p1:PromoMax> <d6p1:PromoText>sample string 7</d6p1:PromoText> </d6p1:Pricetype> </d2p1:Pricetypes> <d2p1:Time>2025-03-17T21:41:29.5504953+00:00</d2p1:Time> <d2p1:ZoneId>1</d2p1:ZoneId> </d2p1:Timeslot> <d2p1:Timeslot> <d2p1:AvailableCount>5</d2p1:AvailableCount> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:IsAvailable>true</d2p1:IsAvailable> <d2p1:Pricetypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <d6p1:Pricetype> <d6p1:BasePrice>4</d6p1:BasePrice> <d6p1:Description>sample string 2</d6p1:Description> <d6p1:ID>1</d6p1:ID> <d6p1:IsPromo>true</d6p1:IsPromo> <d6p1:Price>3</d6p1:Price> <d6p1:PromoMax>6</d6p1:PromoMax> <d6p1:PromoText>sample string 7</d6p1:PromoText> </d6p1:Pricetype> <d6p1:Pricetype> <d6p1:BasePrice>4</d6p1:BasePrice> <d6p1:Description>sample string 2</d6p1:Description> <d6p1:ID>1</d6p1:ID> <d6p1:IsPromo>true</d6p1:IsPromo> <d6p1:Price>3</d6p1:Price> <d6p1:PromoMax>6</d6p1:PromoMax> <d6p1:PromoText>sample string 7</d6p1:PromoText> </d6p1:Pricetype> </d2p1:Pricetypes> <d2p1:Time>2025-03-17T21:41:29.5504953+00:00</d2p1:Time> <d2p1:ZoneId>1</d2p1:ZoneId> </d2p1:Timeslot> </d2p1:Timeslots> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:WebContentList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities"> <d4p1:WebContent> <d4p1:ID>1</d4p1:ID> <d4p1:Value>sample string 2</d4p1:Value> </d4p1:WebContent> <d4p1:WebContent> <d4p1:ID>1</d4p1:ID> <d4p1:Value>sample string 2</d4p1:Value> </d4p1:WebContent> </d2p1:WebContentList> </d2p1:Performance> <d2p1:CompareMemberExpirationToPerformanceData xmlns:d3p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <d3p1:CustomerId>2</d3p1:CustomerId> <d3p1:MemberEntitled>6</d3p1:MemberEntitled> <d3p1:MemberExpiration>2025-03-17T21:41:29.5504953+00:00</d3p1:MemberExpiration> <d3p1:MemberLevel>sample string 4</d3p1:MemberLevel> <d3p1:PerformanceId>3</d3p1:PerformanceId> <d3p1:SessionKey>sample string 1</d3p1:SessionKey> </d2p1:CompareMemberExpirationToPerformanceData> <d2p1:ExpirationDateAfterPerformanceDate>true</d2p1:ExpirationDateAfterPerformanceDate> <d2p1:MemberCompSeasonTicketQuantityData xmlns:d3p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <d3p1:CompTicketsRemaining>6</d3p1:CompTicketsRemaining> <d3p1:CustomerId>2</d3p1:CustomerId> <d3p1:MemberExpiration>2025-03-17T21:41:29.5504953+00:00</d3p1:MemberExpiration> <d3p1:MemberLevel>sample string 3</d3p1:MemberLevel> <d3p1:SeasonCompTicketQty>5</d3p1:SeasonCompTicketQty> <d3p1:SessionKey>sample string 1</d3p1:SessionKey> </d2p1:MemberCompSeasonTicketQuantityData> <d2p1:MemberCompTicketQuantityData xmlns:d3p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <d3p1:CompTicketsRemaining>7</d3p1:CompTicketsRemaining> <d3p1:CustomerId>2</d3p1:CustomerId> <d3p1:MemberExpiration>2025-03-17T21:41:29.5504953+00:00</d3p1:MemberExpiration> <d3p1:MemberLevel>sample string 4</d3p1:MemberLevel> <d3p1:PerformanceCompTicketQty>6</d3p1:PerformanceCompTicketQty> <d3p1:PerformanceId>3</d3p1:PerformanceId> <d3p1:SessionKey>sample string 1</d3p1:SessionKey> </d2p1:MemberCompTicketQuantityData> </Data> </ApiSuccessOfGetPerformanceWithEntitlementsResultMuoEL63e>