POST api/GetMemberCompTicketQuantity

Returns comp ticket information for a patron.

Request Information

URI Parameters

None.

Body Parameters

GetMemberCompTicketQuantityRequest
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

GetMemberCompTicketQuantityResult object

ApiSuccessOfGetMemberCompTicketQuantityResult
NameDescriptionTypeAdditional information
Success

boolean
Data

GetMemberCompTicketQuantityResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "rWWgvVHiTkGzQyXIaACngimpH+KrL9XXZh8W7HG4gMCr7PyD0xwyDy/4ivh3gU1jIFRa2606P5O3r9J0LO9LyZQ0dq8cH0Vb+BeVjn13NFA=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T20:00:27.9689528+00:00",
    "PerformanceCompTicketQty": 6,
    "CompTicketsRemaining": 7
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "2lB9g1Znz47hbAAwqmCX24+sFu1q5Tyx3y7NUf4gNpALnauQdV4UTDCFB+Ip1tPI5Ldr4FKsCeSXAP888nPyCWm5wByMqd91bBmRCG/a9Gk=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T20:00:27.9689528+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-09-19T20:00:27.9689528+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>