POST api/Vehicle/get_seat_layout

Request Information

URI Parameters

None.

Body Parameters

SeatLayoutModel
NameDescriptionTypeAdditional information
Code

integer

None.

Layout

string

None.

RowNo

integer

None.

ColNo

integer

None.

SeatNo

integer

None.

DOT

string

None.

PostedBy

integer

None.

StaffName

string

None.

Index_

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Layout": "sample string 2",
  "RowNo": 3,
  "ColNo": 4,
  "SeatNo": 5,
  "DOT": "sample string 6",
  "PostedBy": 7,
  "StaffName": "sample string 8",
  "Index_": 9
}

application/xml, text/xml

Sample:
<SeatLayoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Code>1</Code>
  <ColNo>4</ColNo>
  <DOT>sample string 6</DOT>
  <Index_>9</Index_>
  <Layout>sample string 2</Layout>
  <PostedBy>7</PostedBy>
  <RowNo>3</RowNo>
  <SeatNo>5</SeatNo>
  <StaffName>sample string 8</StaffName>
</SeatLayoutModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfSeatLayout
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

SeatLayout

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": {
    "MaxRow": 1,
    "MaxCol": 2,
    "Layout": [
      {
        "Code": 1,
        "Layout": "sample string 2",
        "RowNo": 3,
        "ColNo": 4,
        "SeatNo": 5,
        "DOT": "sample string 6",
        "PostedBy": 7,
        "StaffName": "sample string 8",
        "Index_": 9
      },
      {
        "Code": 1,
        "Layout": "sample string 2",
        "RowNo": 3,
        "ColNo": 4,
        "SeatNo": 5,
        "DOT": "sample string 6",
        "PostedBy": 7,
        "StaffName": "sample string 8",
        "Index_": 9
      }
    ],
    "Slot": [
      {
        "Code": 1,
        "SlotNumber": 2,
        "TourCode": 3,
        "TicketDetailsCode": 4,
        "ReservationCode": 5,
        "BlockingCount": 6,
        "OnProgressTicketCode": 7,
        "RowNo": 8,
        "ColNo": 9,
        "Index_": 10,
        "Message": "sample string 11",
        "FreezTime": "sample string 12",
        "isFemale": 13
      },
      {
        "Code": 1,
        "SlotNumber": 2,
        "TourCode": 3,
        "TicketDetailsCode": 4,
        "ReservationCode": 5,
        "BlockingCount": 6,
        "OnProgressTicketCode": 7,
        "RowNo": 8,
        "ColNo": 9,
        "Index_": 10,
        "Message": "sample string 11",
        "FreezTime": "sample string 12",
        "isFemale": 13
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResultModelOfSeatLayoutqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Data>
    <Layout>
      <SeatLayoutModel>
        <Code>1</Code>
        <ColNo>4</ColNo>
        <DOT>sample string 6</DOT>
        <Index_>9</Index_>
        <Layout>sample string 2</Layout>
        <PostedBy>7</PostedBy>
        <RowNo>3</RowNo>
        <SeatNo>5</SeatNo>
        <StaffName>sample string 8</StaffName>
      </SeatLayoutModel>
      <SeatLayoutModel>
        <Code>1</Code>
        <ColNo>4</ColNo>
        <DOT>sample string 6</DOT>
        <Index_>9</Index_>
        <Layout>sample string 2</Layout>
        <PostedBy>7</PostedBy>
        <RowNo>3</RowNo>
        <SeatNo>5</SeatNo>
        <StaffName>sample string 8</StaffName>
      </SeatLayoutModel>
    </Layout>
    <MaxCol>2</MaxCol>
    <MaxRow>1</MaxRow>
    <Slot>
      <SlotModel>
        <BlockingCount>6</BlockingCount>
        <Code>1</Code>
        <ColNo>9</ColNo>
        <FreezTime>sample string 12</FreezTime>
        <Index_>10</Index_>
        <Message>sample string 11</Message>
        <OnProgressTicketCode>7</OnProgressTicketCode>
        <ReservationCode>5</ReservationCode>
        <RowNo>8</RowNo>
        <SlotNumber>2</SlotNumber>
        <TicketDetailsCode>4</TicketDetailsCode>
        <TourCode>3</TourCode>
        <isFemale>13</isFemale>
      </SlotModel>
      <SlotModel>
        <BlockingCount>6</BlockingCount>
        <Code>1</Code>
        <ColNo>9</ColNo>
        <FreezTime>sample string 12</FreezTime>
        <Index_>10</Index_>
        <Message>sample string 11</Message>
        <OnProgressTicketCode>7</OnProgressTicketCode>
        <ReservationCode>5</ReservationCode>
        <RowNo>8</RowNo>
        <SlotNumber>2</SlotNumber>
        <TicketDetailsCode>4</TicketDetailsCode>
        <TourCode>3</TourCode>
        <isFemale>13</isFemale>
      </SlotModel>
    </Slot>
  </Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfSeatLayoutqg6OZjsc>