POST api/SeatPlan/Preview
Request Information
URI Parameters
None.
Body Parameters
Order| Name | Description | Type | Additional information |
|---|---|---|---|
| AddReservationCosts | boolean |
None. |
|
| OrderedTickets | Dictionary of globally unique identifier [key] and integer [value] |
None. |
|
| DeliveryTypeRowGuid | globally unique identifier |
None. |
|
| Promotions | Collection of Promotion |
None. |
|
| ShowRowGuid | globally unique identifier |
None. |
|
| TotalWithDiscount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"AddReservationCosts": true,
"OrderedTickets": {
"8aba9e91-9e93-4367-99a1-02dbcbff1961": 2,
"0c8627bc-3d5c-4ef5-a63d-a878d0cefc8b": 4
},
"DeliveryTypeRowGuid": "291b0399-2482-4c3d-b295-a007134c5fd7",
"Promotions": [
{
"RowGuid": "b09d5c76-0aa1-498e-bffe-dcf660adf70e",
"Name": "sample string 2",
"CouponCode": "sample string 3",
"DiscountOnTotalOrderPrice": 4.0
},
{
"RowGuid": "b09d5c76-0aa1-498e-bffe-dcf660adf70e",
"Name": "sample string 2",
"CouponCode": "sample string 3",
"DiscountOnTotalOrderPrice": 4.0
}
],
"ShowRowGuid": "a06834f7-7093-4bb1-8f49-5ce89164796b",
"TotalWithDiscount": 4.0
}
application/xml, text/xml
Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoodFluweel.Api.Models">
<AddReservationCosts>true</AddReservationCosts>
<DeliveryTypeRowGuid>291b0399-2482-4c3d-b295-a007134c5fd7</DeliveryTypeRowGuid>
<OrderedTickets xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfguidint>
<d2p1:Key>8aba9e91-9e93-4367-99a1-02dbcbff1961</d2p1:Key>
<d2p1:Value>2</d2p1:Value>
</d2p1:KeyValueOfguidint>
<d2p1:KeyValueOfguidint>
<d2p1:Key>0c8627bc-3d5c-4ef5-a63d-a878d0cefc8b</d2p1:Key>
<d2p1:Value>4</d2p1:Value>
</d2p1:KeyValueOfguidint>
</OrderedTickets>
<Promotions>
<Promotion>
<CouponCode>sample string 3</CouponCode>
<DiscountOnTotalOrderPrice>4</DiscountOnTotalOrderPrice>
<Name>sample string 2</Name>
<RowGuid>b09d5c76-0aa1-498e-bffe-dcf660adf70e</RowGuid>
</Promotion>
<Promotion>
<CouponCode>sample string 3</CouponCode>
<DiscountOnTotalOrderPrice>4</DiscountOnTotalOrderPrice>
<Name>sample string 2</Name>
<RowGuid>b09d5c76-0aa1-498e-bffe-dcf660adf70e</RowGuid>
</Promotion>
</Promotions>
<ShowRowGuid>a06834f7-7093-4bb1-8f49-5ce89164796b</ShowRowGuid>
<TotalWithDiscount>4</TotalWithDiscount>
</Order>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderResult| Name | Description | Type | Additional information |
|---|---|---|---|
| UsedPromotions | Collection of Promotion |
None. |
|
| UnUsedPromotions | Collection of Promotion |
None. |
|
| TotalPrice | decimal number |
None. |
|
| ResultCode | OrderResultCode |
None. |
|
| Seats | Collection of Seat |
None. |
|
| ShowGuid | globally unique identifier |
None. |
|
| SeatPlanImageUri | URI |
None. |
|
| OrderRowGuid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.