GET ticket/room/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

RoomPlaces
NameDescriptionTypeAdditional information
room

Room

None.

places

Collection of Place

None.

Response Formats

application/json, text/json

Sample:
{
  "room": {
    "roomId": 1,
    "name": "sample string 2",
    "SvgWidth": 3,
    "SvgHeight": 4
  },
  "places": [
    {
      "placeId": 1,
      "row": 2,
      "position": 3,
      "label": "sample string 4",
      "SvgTBX": 5,
      "SvgTBY": 6
    },
    {
      "placeId": 1,
      "row": 2,
      "position": 3,
      "label": "sample string 4",
      "SvgTBX": 5,
      "SvgTBY": 6
    }
  ]
}

application/xml, text/xml

Sample:
<RoomPlaces xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tiszamozi_API.Models">
  <places>
    <Place>
      <SvgTBX>5</SvgTBX>
      <SvgTBY>6</SvgTBY>
      <label>sample string 4</label>
      <placeId>1</placeId>
      <position>3</position>
      <row>2</row>
    </Place>
    <Place>
      <SvgTBX>5</SvgTBX>
      <SvgTBY>6</SvgTBY>
      <label>sample string 4</label>
      <placeId>1</placeId>
      <position>3</position>
      <row>2</row>
    </Place>
  </places>
  <room>
    <SvgHeight>4</SvgHeight>
    <SvgWidth>3</SvgWidth>
    <name>sample string 2</name>
    <roomId>1</roomId>
  </room>
</RoomPlaces>