POST api/RemoveTicketFromCart

Request Information

URI Parameters

None.

Body Parameters

RemoveTicketFromCartRequest
NameDescriptionTypeAdditional information
SessionKey

string

Required

PerformanceId

integer

Required

LineItemId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "PerformanceId": 2,
  "LineItemId": 3
}

application/xml, text/xml

Sample:
<RemoveTicketFromCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Order">
  <LineItemId>3</LineItemId>
  <PerformanceId>2</PerformanceId>
  <SessionKey>sample string 1</SessionKey>
</RemoveTicketFromCartRequest>

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 'RemoveTicketFromCartRequest'.

Response Information

Resource Description

ApiSuccessOfBoolean
NameDescriptionTypeAdditional information
Success

boolean
Data

boolean

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": true
}

application/xml, text/xml

Sample:
<ApiSuccessOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data>true</Data>
</ApiSuccessOfboolean>