POST api/GetMemberCompTicketQuantity

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

ApiSuccessOfGetMemberCompTicketQuantityResult
NameDescriptionTypeAdditional information
Success

boolean
Data

GetMemberCompTicketQuantityResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "SYwJbxQIH1qVjfu79Wu1P3HgNgYNCf9xBT/85Z8PHaPTTRA8LHYIFOZLrF4jN/dOb4c0OEEcYkzmIR7r4Seiw5N+5dm7SqJMbs7PND5U0h0=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T19:56:33.5125485+00:00",
    "PerformanceCompTicketQty": 6,
    "CompTicketsRemaining": 7
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "op1l4y7FoJncjW2C8xgq4yxVtePPyCDQbWhAIhv4D/7F9am/9s70MeORqJ2c2agJRkbsRvWEDdQ64HJKFjCLwjR5x6mUg63azOwwsQo3YZg=",
    "CustomerId": 2,
    "PerformanceId": 3,
    "MemberLevel": "sample string 4",
    "MemberExpiration": "2024-09-19T19:56:33.5125485+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-19T19:56:33.5125485+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>