POST api/GetMemberEntitlements
Returns entitlement ticket information for a patron for both performances and seasons.
Request Information
URI Parameters
None.
Body Parameters
GetMemberEntitlementsRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string | ||
ProductionSeason | integer | ||
PerformanceId | integer | ||
OrderDate | date |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "ProductionSeason": 2, "PerformanceId": 3, "OrderDate": "2024-12-19T19:03:09.3258528+00:00" }
application/xml, text/xml
Sample:
<GetMemberEntitlementsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing"> <OrderDate>2024-12-19T19:03:09.3258528+00:00</OrderDate> <PerformanceId>3</PerformanceId> <ProductionSeason>2</ProductionSeason> <SessionKey>sample string 1</SessionKey> </GetMemberEntitlementsRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetMemberEntitlementsResult object
ApiSuccessOfGetMemberEntitlementsResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetMemberEntitlementsResult |
Response Formats
application/json
Sample:
{ "Success": true, "Data": { "SessionKey": "m8yHHo+3tdjcdFQDR70BaBorEPXq4A+WCvu6+Ph6ZbtGJhkO1PMv+nGLoyvUYbTbm9kbUfUb87NnJctqroCdnKe/iZ6qGrBsYZO8jJJNCUQ=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2024-12-19T19:03:09.3258528+00:00", "PerformanceCompTicketQty": 6, "PerformanceCompTicketsRemaining": 7, "SeasonCompTicketQty": 8, "SeasonCompTicketsRemaining": 9 } }
text/json
Sample:
{ "Success": true, "Data": { "SessionKey": "MHNYn8n0Y2zvPQsDk+vEW+ArbweQakFciW8Qim42K+t9lRLmHIwpTH3p/8k6hnGG/13yb2+Um8Gwy+7/IfSMq80wdeEEGerlE7+91z6mPtw=", "CustomerId": 2, "PerformanceId": 3, "MemberLevel": "sample string 4", "MemberExpiration": "2024-12-19T19:03:09.3258528+00:00", "PerformanceCompTicketQty": 6, "PerformanceCompTicketsRemaining": 7, "SeasonCompTicketQty": 8, "SeasonCompTicketsRemaining": 9 } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetMemberEntitlementsResult5BBiySHU 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:CustomerId>2</d2p1:CustomerId> <d2p1:MemberExpiration>2024-12-19T19:03:09.3258528+00:00</d2p1:MemberExpiration> <d2p1:MemberLevel>sample string 4</d2p1:MemberLevel> <d2p1:PerformanceCompTicketQty>6</d2p1:PerformanceCompTicketQty> <d2p1:PerformanceCompTicketsRemaining>7</d2p1:PerformanceCompTicketsRemaining> <d2p1:PerformanceId>3</d2p1:PerformanceId> <d2p1:SeasonCompTicketQty>8</d2p1:SeasonCompTicketQty> <d2p1:SeasonCompTicketsRemaining>9</d2p1:SeasonCompTicketsRemaining> <d2p1:SessionKey>sample string 1</d2p1:SessionKey> </Data> </ApiSuccessOfGetMemberEntitlementsResult5BBiySHU>