POST api/GetMemberCompTicketQuantity
Returns comp ticket information for a patron.
Request Information
URI Parameters
None.
Body Parameters
GetMemberCompTicketQuantityRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string | ||
PerformanceId | integer |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "PerformanceId": 2 }
application/xml, text/xml
Sample:
<GetMemberCompTicketQuantityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <PerformanceId>2</PerformanceId> <SessionKey>sample string 1</SessionKey> </GetMemberCompTicketQuantityRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetMemberCompTicketQuantityResult object
ApiSuccessOfGetMemberCompTicketQuantityResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetMemberCompTicketQuantityResult |
Response Formats
application/json
Sample:
{ "Success": true, "Data": { "SessionKey": "RmT36GOUeouSi4MLmPY5x0pGDNHagi5xJDeWaNPdeid+E7PNCYfmFosaE9NSqIz+Iaw0sHL4oWdzVZpALr1mM066ALeji0d/3S/ncts2PIg=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2024-12-28T09:47:25.9634362+00:00", "PerformanceCompTicketQty": 6, "CompTicketsRemaining": 7 } }
text/json
Sample:
{ "Success": true, "Data": { "SessionKey": "oWVq+qYCj0C/D1LxXBQdxQ7y9/VYw55CEq5L7mmuvByZK1kE3A+YrWtAtkO6bPLoAsBMpXRkDFaq6GrmpTsxVEy4crwTHtB//dBBvQBO0fE=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2024-12-28T09:47:25.9634362+00:00", "PerformanceCompTicketQty": 6, "CompTicketsRemaining": 7 } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetMemberCompTicketQuantityResult5BBiySHU 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.Ticketing"> <d2p1:CompTicketsRemaining>7</d2p1:CompTicketsRemaining> <d2p1:CustomerId>2</d2p1:CustomerId> <d2p1:MemberExpiration>2024-12-28T09:47:25.9634362+00:00</d2p1:MemberExpiration> <d2p1:MemberLevel>sample string 4</d2p1:MemberLevel> <d2p1:PerformanceCompTicketQty>6</d2p1:PerformanceCompTicketQty> <d2p1:PerformanceId>3</d2p1:PerformanceId> <d2p1:SessionKey>sample string 1</d2p1:SessionKey> </Data> </ApiSuccessOfGetMemberCompTicketQuantityResult5BBiySHU>