POST api/SeatPlan/Preview

Request Information

URI Parameters

None.

Body Parameters

Order
NameDescriptionTypeAdditional 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": {
    "1d46bbf1-b712-4d82-be34-ff9c329840c1": 2,
    "900f52ef-f911-4823-9232-597627858a88": 4
  },
  "DeliveryTypeRowGuid": "89185a03-e283-423e-8b8a-cccea682d38c",
  "Promotions": [
    {
      "RowGuid": "6b8013af-780e-4378-947b-1e472b81f9b7",
      "Name": "sample string 2",
      "CouponCode": "sample string 3",
      "DiscountOnTotalOrderPrice": 4.0
    },
    {
      "RowGuid": "6b8013af-780e-4378-947b-1e472b81f9b7",
      "Name": "sample string 2",
      "CouponCode": "sample string 3",
      "DiscountOnTotalOrderPrice": 4.0
    }
  ],
  "ShowRowGuid": "4dc0373e-9baa-461c-a3d5-d7f1146333c7",
  "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>89185a03-e283-423e-8b8a-cccea682d38c</DeliveryTypeRowGuid>
  <OrderedTickets xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfguidint>
      <d2p1:Key>1d46bbf1-b712-4d82-be34-ff9c329840c1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfguidint>
    <d2p1:KeyValueOfguidint>
      <d2p1:Key>900f52ef-f911-4823-9232-597627858a88</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>6b8013af-780e-4378-947b-1e472b81f9b7</RowGuid>
    </Promotion>
    <Promotion>
      <CouponCode>sample string 3</CouponCode>
      <DiscountOnTotalOrderPrice>4</DiscountOnTotalOrderPrice>
      <Name>sample string 2</Name>
      <RowGuid>6b8013af-780e-4378-947b-1e472b81f9b7</RowGuid>
    </Promotion>
  </Promotions>
  <ShowRowGuid>4dc0373e-9baa-461c-a3d5-d7f1146333c7</ShowRowGuid>
  <TotalWithDiscount>4</TotalWithDiscount>
</Order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OrderResult
NameDescriptionTypeAdditional 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.