POST api/RemoveTicketFromCart
Removes a ticket line item from the Tessitura cart.
Request Information
URI Parameters
None.
Body Parameters
RemoveTicketFromCartRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey |
An authenticated Tessitura session key. |
string |
Required |
PerformanceId |
Performance number of the line item. |
integer |
Required |
LineItemId |
Line item number from the cart. |
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:
Response Information
Resource Description
bool
ApiSuccessOfBooleanName | Description | Type | Additional 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>