POST api/GetMemberEntitlements

Returns entitlement ticket information for a patron for both performances and seasons.

Request Information

URI Parameters

None.

Body Parameters

GetMemberEntitlementsRequest
NameDescriptionTypeAdditional 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-09-19T19:53:09.5760718+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-09-19T19:53:09.5760718+00:00</OrderDate>
  <PerformanceId>3</PerformanceId>
  <ProductionSeason>2</ProductionSeason>
  <SessionKey>sample string 1</SessionKey>
</GetMemberEntitlementsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetMemberEntitlementsRequest'.

Response Information

Resource Description

GetMemberEntitlementsResult object

ApiSuccessOfGetMemberEntitlementsResult
NameDescriptionTypeAdditional information
Success

boolean
Data

GetMemberEntitlementsResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "AaVBiAKDipnLYgDZOMZLrJ0oCJbYrAEQQUdgJSxBHxC0eNsjuKImREFzxiqimvWeLXU+Vx77sG9iAYBnXoA8easQFThUN48OZNGTHTmG1RY=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T19:53:09.5917516+00:00",
    "PerformanceCompTicketQty": 6,
    "PerformanceCompTicketsRemaining": 7,
    "SeasonCompTicketQty": 8,
    "SeasonCompTicketsRemaining": 9
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "fzC3OnusTsixVuvewOg2yPYUL5lC/UGIVK1+X7lHB+yCJ+5C1PmwaBDHv5bns6+YftZqRljMQf6HyWAGZARvpFxpo34o6yJus3KeTQdlupo=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T19:53:09.5917516+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-09-19T19:53:09.5917516+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>