POST api/GetTicketHistory
Returns list of tickets for an account.
Request Information
URI Parameters
None.
Body Parameters
GetTicketHistoryRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1" }
application/xml, text/xml
Sample:
<GetTicketHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <SessionKey>sample string 1</SessionKey> </GetTicketHistoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetTicketHistoryResult object
ApiSuccessOfGetTicketHistoryResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetTicketHistoryResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "Tickets": [ { "SubLineItemNumber": 1, "LineItemNumber": 2, "PaidAmount": 3.0, "PriceType": 4, "SeatNumber": 5, "TicketNumber": 6, "SubLineItemStatus": 7, "PerformanceNumber": 8, "PackageNumber": 9, "ZoneNumber": 10, "OrderNumber": 11, "OriginalPriceType": 12, "ModeOfSale": 13, "SourceNumber": 14, "CustomerNumber": 15, "TotalTicketPurchaseAmount": 16.0, "TotalTicketReturnAmount": 17.0, "TotalPaidAmount": 18.0, "EAddressNumber": 19, "OrderDate": "2025-03-18T01:21:13.0066545+00:00", "ZoneShortDescription": "sample string 21", "ZoneTime": "00:00:00.1234567", "ProductionSeasonNumber": 23, "PerformanceDate": "2025-03-18T01:21:13.0066545+00:00", "Season": 25, "PerformanceName": "sample string 26", "AdmissionInterval": "sample string 27" }, { "SubLineItemNumber": 1, "LineItemNumber": 2, "PaidAmount": 3.0, "PriceType": 4, "SeatNumber": 5, "TicketNumber": 6, "SubLineItemStatus": 7, "PerformanceNumber": 8, "PackageNumber": 9, "ZoneNumber": 10, "OrderNumber": 11, "OriginalPriceType": 12, "ModeOfSale": 13, "SourceNumber": 14, "CustomerNumber": 15, "TotalTicketPurchaseAmount": 16.0, "TotalTicketReturnAmount": 17.0, "TotalPaidAmount": 18.0, "EAddressNumber": 19, "OrderDate": "2025-03-18T01:21:13.0066545+00:00", "ZoneShortDescription": "sample string 21", "ZoneTime": "00:00:00.1234567", "ProductionSeasonNumber": 23, "PerformanceDate": "2025-03-18T01:21:13.0066545+00:00", "Season": 25, "PerformanceName": "sample string 26", "AdmissionInterval": "sample string 27" } ] } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetTicketHistoryResultgLC8bFpX 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.Account"> <d2p1:Tickets> <d2p1:TicketHistoryItem> <d2p1:AdmissionInterval>sample string 27</d2p1:AdmissionInterval> <d2p1:CustomerNumber>15</d2p1:CustomerNumber> <d2p1:EAddressNumber>19</d2p1:EAddressNumber> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:ModeOfSale>13</d2p1:ModeOfSale> <d2p1:OrderDate>2025-03-18T01:21:13.0066545+00:00</d2p1:OrderDate> <d2p1:OrderNumber>11</d2p1:OrderNumber> <d2p1:OriginalPriceType>12</d2p1:OriginalPriceType> <d2p1:PackageNumber>9</d2p1:PackageNumber> <d2p1:PaidAmount>3</d2p1:PaidAmount> <d2p1:PerformanceDate>2025-03-18T01:21:13.0066545+00:00</d2p1:PerformanceDate> <d2p1:PerformanceName>sample string 26</d2p1:PerformanceName> <d2p1:PerformanceNumber>8</d2p1:PerformanceNumber> <d2p1:PriceType>4</d2p1:PriceType> <d2p1:ProductionSeasonNumber>23</d2p1:ProductionSeasonNumber> <d2p1:Season>25</d2p1:Season> <d2p1:SeatNumber>5</d2p1:SeatNumber> <d2p1:SourceNumber>14</d2p1:SourceNumber> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:SubLineItemStatus>7</d2p1:SubLineItemStatus> <d2p1:TicketNumber>6</d2p1:TicketNumber> <d2p1:TotalPaidAmount>18</d2p1:TotalPaidAmount> <d2p1:TotalTicketPurchaseAmount>16</d2p1:TotalTicketPurchaseAmount> <d2p1:TotalTicketReturnAmount>17</d2p1:TotalTicketReturnAmount> <d2p1:ZoneNumber>10</d2p1:ZoneNumber> <d2p1:ZoneShortDescription>sample string 21</d2p1:ZoneShortDescription> <d2p1:ZoneTime>PT0.1234567S</d2p1:ZoneTime> </d2p1:TicketHistoryItem> <d2p1:TicketHistoryItem> <d2p1:AdmissionInterval>sample string 27</d2p1:AdmissionInterval> <d2p1:CustomerNumber>15</d2p1:CustomerNumber> <d2p1:EAddressNumber>19</d2p1:EAddressNumber> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:ModeOfSale>13</d2p1:ModeOfSale> <d2p1:OrderDate>2025-03-18T01:21:13.0066545+00:00</d2p1:OrderDate> <d2p1:OrderNumber>11</d2p1:OrderNumber> <d2p1:OriginalPriceType>12</d2p1:OriginalPriceType> <d2p1:PackageNumber>9</d2p1:PackageNumber> <d2p1:PaidAmount>3</d2p1:PaidAmount> <d2p1:PerformanceDate>2025-03-18T01:21:13.0066545+00:00</d2p1:PerformanceDate> <d2p1:PerformanceName>sample string 26</d2p1:PerformanceName> <d2p1:PerformanceNumber>8</d2p1:PerformanceNumber> <d2p1:PriceType>4</d2p1:PriceType> <d2p1:ProductionSeasonNumber>23</d2p1:ProductionSeasonNumber> <d2p1:Season>25</d2p1:Season> <d2p1:SeatNumber>5</d2p1:SeatNumber> <d2p1:SourceNumber>14</d2p1:SourceNumber> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:SubLineItemStatus>7</d2p1:SubLineItemStatus> <d2p1:TicketNumber>6</d2p1:TicketNumber> <d2p1:TotalPaidAmount>18</d2p1:TotalPaidAmount> <d2p1:TotalTicketPurchaseAmount>16</d2p1:TotalTicketPurchaseAmount> <d2p1:TotalTicketReturnAmount>17</d2p1:TotalTicketReturnAmount> <d2p1:ZoneNumber>10</d2p1:ZoneNumber> <d2p1:ZoneShortDescription>sample string 21</d2p1:ZoneShortDescription> <d2p1:ZoneTime>PT0.1234567S</d2p1:ZoneTime> </d2p1:TicketHistoryItem> </d2p1:Tickets> </Data> </ApiSuccessOfGetTicketHistoryResultgLC8bFpX>