POST api/SeatPlan/Image?guid={guid}&channel={channel}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

globally unique identifier

Required

channel

SalesChannel

Required

Body Parameters

Collection of Seat
NameDescriptionTypeAdditional information
RowGuid

globally unique identifier

None.

DisplayName

string

None.

PriceListItem

PriceListItem

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RowGuid": "1704218c-ad77-41ee-a061-05ff8c92e46d",
    "DisplayName": "sample string 2",
    "PriceListItem": {
      "RowGuid": "4e016aa3-46e1-4d77-adfb-2b7400d649a2",
      "SeatGroup": {
        "RowGuid": "f038a5be-4b84-436c-b045-075a01009507",
        "Name": "sample string 2",
        "AvailableSeats": 3,
        "Sort": 1
      },
      "PriceCategory": {
        "RowGuid": "b4411e13-042b-4a4c-bd61-7013e168efc2",
        "Name": "sample string 2",
        "Sort": 1
      },
      "Price": 2.0,
      "ReservationCost": 3.0
    }
  },
  {
    "RowGuid": "1704218c-ad77-41ee-a061-05ff8c92e46d",
    "DisplayName": "sample string 2",
    "PriceListItem": {
      "RowGuid": "4e016aa3-46e1-4d77-adfb-2b7400d649a2",
      "SeatGroup": {
        "RowGuid": "f038a5be-4b84-436c-b045-075a01009507",
        "Name": "sample string 2",
        "AvailableSeats": 3,
        "Sort": 1
      },
      "PriceCategory": {
        "RowGuid": "b4411e13-042b-4a4c-bd61-7013e168efc2",
        "Name": "sample string 2",
        "Sort": 1
      },
      "Price": 2.0,
      "ReservationCost": 3.0
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfSeat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoodFluweel.Api.Models">
  <Seat>
    <DisplayName>sample string 2</DisplayName>
    <PriceListItem>
      <Price>2</Price>
      <PriceCategory>
        <Name>sample string 2</Name>
        <RowGuid>b4411e13-042b-4a4c-bd61-7013e168efc2</RowGuid>
        <Sort>1</Sort>
      </PriceCategory>
      <ReservationCost>3</ReservationCost>
      <RowGuid>4e016aa3-46e1-4d77-adfb-2b7400d649a2</RowGuid>
      <SeatGroup>
        <AvailableSeats>3</AvailableSeats>
        <Name>sample string 2</Name>
        <RowGuid>f038a5be-4b84-436c-b045-075a01009507</RowGuid>
        <Sort>1</Sort>
      </SeatGroup>
    </PriceListItem>
    <RowGuid>1704218c-ad77-41ee-a061-05ff8c92e46d</RowGuid>
  </Seat>
  <Seat>
    <DisplayName>sample string 2</DisplayName>
    <PriceListItem>
      <Price>2</Price>
      <PriceCategory>
        <Name>sample string 2</Name>
        <RowGuid>b4411e13-042b-4a4c-bd61-7013e168efc2</RowGuid>
        <Sort>1</Sort>
      </PriceCategory>
      <ReservationCost>3</ReservationCost>
      <RowGuid>4e016aa3-46e1-4d77-adfb-2b7400d649a2</RowGuid>
      <SeatGroup>
        <AvailableSeats>3</AvailableSeats>
        <Name>sample string 2</Name>
        <RowGuid>f038a5be-4b84-436c-b045-075a01009507</RowGuid>
        <Sort>1</Sort>
      </SeatGroup>
    </PriceListItem>
    <RowGuid>1704218c-ad77-41ee-a061-05ff8c92e46d</RowGuid>
  </Seat>
</ArrayOfSeat>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.