POST api/GetCart
Request Information
URI Parameters
None.
Body Parameters
GetCartRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
Required |
|
SavedCart | boolean |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "SavedCart": true }
application/xml, text/xml
Sample:
<GetCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Order"> <SavedCart>true</SavedCart> <SessionKey>sample string 1</SessionKey> </GetCartRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiSuccessOfGetCartResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetCartResult |
Response Formats
application/json
Sample:
{ "Success": true, "Data": { "Cart": { "SessionKey": "PqDqjZuG/ntkiJneixkIiSJpNwwMILBGQ7l8UiRvPK19OkoP7vG4kRjo2PBLbHC5EqXkCI13con6kP9hKrYXfHCNEc8Y9fQxHxjE/Dj9zCo=", "OrderNumber": 2, "AppealNumber": 3, "SourceNumber": 4, "CustomerNumber": 5, "Solicitor": "sample string 6", "ModeOfSale": 7, "OrderDate": "2025-04-04T01:53:23.2120843+00:00", "ShippingMethod": 9, "ShippingMethodName": "sample string 10", "OrderTotal": 11.0, "OrderValue": 12.0, "AmountToCharge": 13.0, "FirstSeatAddedDate": "2025-04-04T01:53:23.2120843+00:00", "AmountPaidToDate": 15.0, "AmountPaidNow": 16.0, "BalanceToCharge": 17.0, "Subtotal": 18.0, "HandlingCharges": 19.0, "Tickets": [ { "LineItemId": 1, "OrderNumber": 2, "PackageId": 3, "PerformanceId": 4, "Priority": 5, "ZoneId": 6, "PerformanceCode": "sample string 7", "PerformanceDate": "2025-04-04T01:53:23.2120843+00:00", "PerformanceDescription": "sample string 9", "PackageCode": "sample string 10", "PackageDescription": "sample string 11", "FacilityDescription": "sample string 12", "ZoneMapNumber": 13, "Text1": "sample string 14", "Text2": "sample string 15", "Text3": "sample string 16", "Text4": "sample string 17", "ProductionType": 18, "ProductionTypeDescription": "sample string 19", "SeasonNumber": 20, "SeasonDescription": "sample string 21", "IsGeneralAdmission": true, "FacilityId": 23, "Seats": [ { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" }, { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" } ] }, { "LineItemId": 1, "OrderNumber": 2, "PackageId": 3, "PerformanceId": 4, "Priority": 5, "ZoneId": 6, "PerformanceCode": "sample string 7", "PerformanceDate": "2025-04-04T01:53:23.2120843+00:00", "PerformanceDescription": "sample string 9", "PackageCode": "sample string 10", "PackageDescription": "sample string 11", "FacilityDescription": "sample string 12", "ZoneMapNumber": 13, "Text1": "sample string 14", "Text2": "sample string 15", "Text3": "sample string 16", "Text4": "sample string 17", "ProductionType": 18, "ProductionTypeDescription": "sample string 19", "SeasonNumber": 20, "SeasonDescription": "sample string 21", "IsGeneralAdmission": true, "FacilityId": 23, "Seats": [ { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" }, { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" } ] } ], "Fees": [ { "CategoryId": 1, "CategoryDescription": "sample string 2", "Amount": 3.0 }, { "CategoryId": 1, "CategoryDescription": "sample string 2", "Amount": 3.0 } ], "HasVoucherTickets": true, "DeliveryDate": "2025-04-04T01:53:23.2120843+00:00" } } }
text/json
Sample:
{ "Success": true, "Data": { "Cart": { "SessionKey": "8+02tKnUPYCpHMFHeFw7VtoxNU8eSk/+RFPULa3sMGNhI1pYyKWRHHAN6DXoox6K1K3GL8PKxsveCLXqg0udVZgj2KWG5Fc2rgJL8b57L1A=", "OrderNumber": 2, "AppealNumber": 3, "SourceNumber": 4, "CustomerNumber": 5, "Solicitor": "sample string 6", "ModeOfSale": 7, "OrderDate": "2025-04-04T01:53:23.2120843+00:00", "ShippingMethod": 9, "ShippingMethodName": "sample string 10", "OrderTotal": 11.0, "OrderValue": 12.0, "AmountToCharge": 13.0, "FirstSeatAddedDate": "2025-04-04T01:53:23.2120843+00:00", "AmountPaidToDate": 15.0, "AmountPaidNow": 16.0, "BalanceToCharge": 17.0, "Subtotal": 18.0, "HandlingCharges": 19.0, "Tickets": [ { "LineItemId": 1, "OrderNumber": 2, "PackageId": 3, "PerformanceId": 4, "Priority": 5, "ZoneId": 6, "PerformanceCode": "sample string 7", "PerformanceDate": "2025-04-04T01:53:23.2120843+00:00", "PerformanceDescription": "sample string 9", "PackageCode": "sample string 10", "PackageDescription": "sample string 11", "FacilityDescription": "sample string 12", "ZoneMapNumber": 13, "Text1": "sample string 14", "Text2": "sample string 15", "Text3": "sample string 16", "Text4": "sample string 17", "ProductionType": 18, "ProductionTypeDescription": "sample string 19", "SeasonNumber": 20, "SeasonDescription": "sample string 21", "IsGeneralAdmission": true, "FacilityId": 23, "Seats": [ { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" }, { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" } ] }, { "LineItemId": 1, "OrderNumber": 2, "PackageId": 3, "PerformanceId": 4, "Priority": 5, "ZoneId": 6, "PerformanceCode": "sample string 7", "PerformanceDate": "2025-04-04T01:53:23.2120843+00:00", "PerformanceDescription": "sample string 9", "PackageCode": "sample string 10", "PackageDescription": "sample string 11", "FacilityDescription": "sample string 12", "ZoneMapNumber": 13, "Text1": "sample string 14", "Text2": "sample string 15", "Text3": "sample string 16", "Text4": "sample string 17", "ProductionType": 18, "ProductionTypeDescription": "sample string 19", "SeasonNumber": 20, "SeasonDescription": "sample string 21", "IsGeneralAdmission": true, "FacilityId": 23, "Seats": [ { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" }, { "SubLineItemNumber": 1, "LineItemNumber": 2, "AmountDue": 3.0, "PaidAmount": 4.0, "PricetypeId": 5, "SeatId": 6, "PerformanceId": 7, "PackageId": 8, "ZoneId": 9, "OrderNumber": 10, "Row": "sample string 11", "Number": "sample string 12", "ZoneDescription": "sample string 13", "SectionDescription": "sample string 14", "ProductionSeasonId": 15, "FacilityId": 16, "SeatType": 17, "SeatTypeDescription": "sample string 18" } ] } ], "Fees": [ { "CategoryId": 1, "CategoryDescription": "sample string 2", "Amount": 3.0 }, { "CategoryId": 1, "CategoryDescription": "sample string 2", "Amount": 3.0 } ], "HasVoucherTickets": true, "DeliveryDate": "2025-04-04T01:53:23.2120843+00:00" } } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetCartResultlnV6n2FW 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.Order"> <d2p1:Cart> <d2p1:AmountPaidNow>16</d2p1:AmountPaidNow> <d2p1:AmountPaidToDate>15</d2p1:AmountPaidToDate> <d2p1:AmountToCharge>13</d2p1:AmountToCharge> <d2p1:AppealNumber>3</d2p1:AppealNumber> <d2p1:BalanceToCharge>17</d2p1:BalanceToCharge> <d2p1:CustomerNumber>5</d2p1:CustomerNumber> <d2p1:DeliveryDate>2025-04-04T01:53:23.2120843+00:00</d2p1:DeliveryDate> <d2p1:Fees> <d2p1:Fee> <d2p1:Amount>3</d2p1:Amount> <d2p1:CategoryDescription>sample string 2</d2p1:CategoryDescription> <d2p1:CategoryId>1</d2p1:CategoryId> </d2p1:Fee> <d2p1:Fee> <d2p1:Amount>3</d2p1:Amount> <d2p1:CategoryDescription>sample string 2</d2p1:CategoryDescription> <d2p1:CategoryId>1</d2p1:CategoryId> </d2p1:Fee> </d2p1:Fees> <d2p1:FirstSeatAddedDate>2025-04-04T01:53:23.2120843+00:00</d2p1:FirstSeatAddedDate> <d2p1:HandlingCharges>19</d2p1:HandlingCharges> <d2p1:HasVoucherTickets>true</d2p1:HasVoucherTickets> <d2p1:ModeOfSale>7</d2p1:ModeOfSale> <d2p1:OrderDate>2025-04-04T01:53:23.2120843+00:00</d2p1:OrderDate> <d2p1:OrderNumber>2</d2p1:OrderNumber> <d2p1:OrderTotal>11</d2p1:OrderTotal> <d2p1:OrderValue>12</d2p1:OrderValue> <d2p1:SessionKey>sample string 1</d2p1:SessionKey> <d2p1:ShippingMethod>9</d2p1:ShippingMethod> <d2p1:ShippingMethodName>sample string 10</d2p1:ShippingMethodName> <d2p1:Solicitor>sample string 6</d2p1:Solicitor> <d2p1:SourceNumber>4</d2p1:SourceNumber> <d2p1:Subtotal>18</d2p1:Subtotal> <d2p1:Tickets> <d2p1:PerformanceLineItem> <d2p1:FacilityDescription>sample string 12</d2p1:FacilityDescription> <d2p1:FacilityId>23</d2p1:FacilityId> <d2p1:IsGeneralAdmission>true</d2p1:IsGeneralAdmission> <d2p1:LineItemId>1</d2p1:LineItemId> <d2p1:OrderNumber>2</d2p1:OrderNumber> <d2p1:PackageCode>sample string 10</d2p1:PackageCode> <d2p1:PackageDescription>sample string 11</d2p1:PackageDescription> <d2p1:PackageId>3</d2p1:PackageId> <d2p1:PerformanceCode>sample string 7</d2p1:PerformanceCode> <d2p1:PerformanceDate>2025-04-04T01:53:23.2120843+00:00</d2p1:PerformanceDate> <d2p1:PerformanceDescription>sample string 9</d2p1:PerformanceDescription> <d2p1:PerformanceId>4</d2p1:PerformanceId> <d2p1:Priority>5</d2p1:Priority> <d2p1:ProductionType>18</d2p1:ProductionType> <d2p1:ProductionTypeDescription>sample string 19</d2p1:ProductionTypeDescription> <d2p1:SeasonDescription>sample string 21</d2p1:SeasonDescription> <d2p1:SeasonNumber>20</d2p1:SeasonNumber> <d2p1:Seats> <d2p1:Seat> <d2p1:AmountDue>3</d2p1:AmountDue> <d2p1:FacilityId>16</d2p1:FacilityId> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:Number>sample string 12</d2p1:Number> <d2p1:OrderNumber>10</d2p1:OrderNumber> <d2p1:PackageId>8</d2p1:PackageId> <d2p1:PaidAmount>4</d2p1:PaidAmount> <d2p1:PerformanceId>7</d2p1:PerformanceId> <d2p1:PricetypeId>5</d2p1:PricetypeId> <d2p1:ProductionSeasonId>15</d2p1:ProductionSeasonId> <d2p1:Row>sample string 11</d2p1:Row> <d2p1:SeatId>6</d2p1:SeatId> <d2p1:SeatType>17</d2p1:SeatType> <d2p1:SeatTypeDescription>sample string 18</d2p1:SeatTypeDescription> <d2p1:SectionDescription>sample string 14</d2p1:SectionDescription> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:ZoneDescription>sample string 13</d2p1:ZoneDescription> <d2p1:ZoneId>9</d2p1:ZoneId> </d2p1:Seat> <d2p1:Seat> <d2p1:AmountDue>3</d2p1:AmountDue> <d2p1:FacilityId>16</d2p1:FacilityId> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:Number>sample string 12</d2p1:Number> <d2p1:OrderNumber>10</d2p1:OrderNumber> <d2p1:PackageId>8</d2p1:PackageId> <d2p1:PaidAmount>4</d2p1:PaidAmount> <d2p1:PerformanceId>7</d2p1:PerformanceId> <d2p1:PricetypeId>5</d2p1:PricetypeId> <d2p1:ProductionSeasonId>15</d2p1:ProductionSeasonId> <d2p1:Row>sample string 11</d2p1:Row> <d2p1:SeatId>6</d2p1:SeatId> <d2p1:SeatType>17</d2p1:SeatType> <d2p1:SeatTypeDescription>sample string 18</d2p1:SeatTypeDescription> <d2p1:SectionDescription>sample string 14</d2p1:SectionDescription> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:ZoneDescription>sample string 13</d2p1:ZoneDescription> <d2p1:ZoneId>9</d2p1:ZoneId> </d2p1:Seat> </d2p1:Seats> <d2p1:Text1>sample string 14</d2p1:Text1> <d2p1:Text2>sample string 15</d2p1:Text2> <d2p1:Text3>sample string 16</d2p1:Text3> <d2p1:Text4>sample string 17</d2p1:Text4> <d2p1:ZoneId>6</d2p1:ZoneId> <d2p1:ZoneMapNumber>13</d2p1:ZoneMapNumber> </d2p1:PerformanceLineItem> <d2p1:PerformanceLineItem> <d2p1:FacilityDescription>sample string 12</d2p1:FacilityDescription> <d2p1:FacilityId>23</d2p1:FacilityId> <d2p1:IsGeneralAdmission>true</d2p1:IsGeneralAdmission> <d2p1:LineItemId>1</d2p1:LineItemId> <d2p1:OrderNumber>2</d2p1:OrderNumber> <d2p1:PackageCode>sample string 10</d2p1:PackageCode> <d2p1:PackageDescription>sample string 11</d2p1:PackageDescription> <d2p1:PackageId>3</d2p1:PackageId> <d2p1:PerformanceCode>sample string 7</d2p1:PerformanceCode> <d2p1:PerformanceDate>2025-04-04T01:53:23.2120843+00:00</d2p1:PerformanceDate> <d2p1:PerformanceDescription>sample string 9</d2p1:PerformanceDescription> <d2p1:PerformanceId>4</d2p1:PerformanceId> <d2p1:Priority>5</d2p1:Priority> <d2p1:ProductionType>18</d2p1:ProductionType> <d2p1:ProductionTypeDescription>sample string 19</d2p1:ProductionTypeDescription> <d2p1:SeasonDescription>sample string 21</d2p1:SeasonDescription> <d2p1:SeasonNumber>20</d2p1:SeasonNumber> <d2p1:Seats> <d2p1:Seat> <d2p1:AmountDue>3</d2p1:AmountDue> <d2p1:FacilityId>16</d2p1:FacilityId> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:Number>sample string 12</d2p1:Number> <d2p1:OrderNumber>10</d2p1:OrderNumber> <d2p1:PackageId>8</d2p1:PackageId> <d2p1:PaidAmount>4</d2p1:PaidAmount> <d2p1:PerformanceId>7</d2p1:PerformanceId> <d2p1:PricetypeId>5</d2p1:PricetypeId> <d2p1:ProductionSeasonId>15</d2p1:ProductionSeasonId> <d2p1:Row>sample string 11</d2p1:Row> <d2p1:SeatId>6</d2p1:SeatId> <d2p1:SeatType>17</d2p1:SeatType> <d2p1:SeatTypeDescription>sample string 18</d2p1:SeatTypeDescription> <d2p1:SectionDescription>sample string 14</d2p1:SectionDescription> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:ZoneDescription>sample string 13</d2p1:ZoneDescription> <d2p1:ZoneId>9</d2p1:ZoneId> </d2p1:Seat> <d2p1:Seat> <d2p1:AmountDue>3</d2p1:AmountDue> <d2p1:FacilityId>16</d2p1:FacilityId> <d2p1:LineItemNumber>2</d2p1:LineItemNumber> <d2p1:Number>sample string 12</d2p1:Number> <d2p1:OrderNumber>10</d2p1:OrderNumber> <d2p1:PackageId>8</d2p1:PackageId> <d2p1:PaidAmount>4</d2p1:PaidAmount> <d2p1:PerformanceId>7</d2p1:PerformanceId> <d2p1:PricetypeId>5</d2p1:PricetypeId> <d2p1:ProductionSeasonId>15</d2p1:ProductionSeasonId> <d2p1:Row>sample string 11</d2p1:Row> <d2p1:SeatId>6</d2p1:SeatId> <d2p1:SeatType>17</d2p1:SeatType> <d2p1:SeatTypeDescription>sample string 18</d2p1:SeatTypeDescription> <d2p1:SectionDescription>sample string 14</d2p1:SectionDescription> <d2p1:SubLineItemNumber>1</d2p1:SubLineItemNumber> <d2p1:ZoneDescription>sample string 13</d2p1:ZoneDescription> <d2p1:ZoneId>9</d2p1:ZoneId> </d2p1:Seat> </d2p1:Seats> <d2p1:Text1>sample string 14</d2p1:Text1> <d2p1:Text2>sample string 15</d2p1:Text2> <d2p1:Text3>sample string 16</d2p1:Text3> <d2p1:Text4>sample string 17</d2p1:Text4> <d2p1:ZoneId>6</d2p1:ZoneId> <d2p1:ZoneMapNumber>13</d2p1:ZoneMapNumber> </d2p1:PerformanceLineItem> </d2p1:Tickets> </d2p1:Cart> </Data> </ApiSuccessOfGetCartResultlnV6n2FW>