GET api/Reservation?maxDistance={maxDistance}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
maxDistance

decimal number

Required

Body Parameters

Collection of booking_getMergableTable2_Result
NameDescriptionTypeAdditional information
MerchantId

integer

None.

MyTableId

integer

None.

TableNumber

string

None.

Seats

integer

None.

OccupiedTime

date

None.

OccupiedSec

integer

None.

MinimumGuests

integer

None.

Duration

integer

None.

MergedTo

integer

None.

MergedTime

date

None.

Priority

integer

None.

TopY

decimal number

None.

LeftX

decimal number

None.

Width

integer

None.

Height

integer

None.

IsTable

integer

None.

Mergable

integer

None.

AreaID

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "MerchantId": 1,
    "MyTableId": 1,
    "TableNumber": "sample string 1",
    "Seats": 1,
    "OccupiedTime": "2024-11-06T15:33:05.3798949+00:00",
    "OccupiedSec": 1,
    "MinimumGuests": 1,
    "Duration": 1,
    "MergedTo": 1,
    "MergedTime": "2024-11-06T15:33:05.3798949+00:00",
    "Priority": 1,
    "TopY": 1.1,
    "LeftX": 1.1,
    "Width": 1,
    "Height": 1,
    "IsTable": 2,
    "Mergable": 1,
    "AreaID": "sample string 3"
  },
  {
    "MerchantId": 1,
    "MyTableId": 1,
    "TableNumber": "sample string 1",
    "Seats": 1,
    "OccupiedTime": "2024-11-06T15:33:05.3798949+00:00",
    "OccupiedSec": 1,
    "MinimumGuests": 1,
    "Duration": 1,
    "MergedTo": 1,
    "MergedTime": "2024-11-06T15:33:05.3798949+00:00",
    "Priority": 1,
    "TopY": 1.1,
    "LeftX": 1.1,
    "Width": 1,
    "Height": 1,
    "IsTable": 2,
    "Mergable": 1,
    "AreaID": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfbooking_getMergableTable2_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <booking_getMergableTable2_Result>
    <AreaID>sample string 3</AreaID>
    <Duration>1</Duration>
    <Height>1</Height>
    <IsTable>2</IsTable>
    <LeftX>1.1</LeftX>
    <MerchantId>1</MerchantId>
    <Mergable>1</Mergable>
    <MergedTime>2024-11-06T15:33:05.3798949+00:00</MergedTime>
    <MergedTo>1</MergedTo>
    <MinimumGuests>1</MinimumGuests>
    <MyTableId>1</MyTableId>
    <OccupiedSec>1</OccupiedSec>
    <OccupiedTime>2024-11-06T15:33:05.3798949+00:00</OccupiedTime>
    <Priority>1</Priority>
    <Seats>1</Seats>
    <TableNumber>sample string 1</TableNumber>
    <TopY>1.1</TopY>
    <Width>1</Width>
  </booking_getMergableTable2_Result>
  <booking_getMergableTable2_Result>
    <AreaID>sample string 3</AreaID>
    <Duration>1</Duration>
    <Height>1</Height>
    <IsTable>2</IsTable>
    <LeftX>1.1</LeftX>
    <MerchantId>1</MerchantId>
    <Mergable>1</Mergable>
    <MergedTime>2024-11-06T15:33:05.3798949+00:00</MergedTime>
    <MergedTo>1</MergedTo>
    <MinimumGuests>1</MinimumGuests>
    <MyTableId>1</MyTableId>
    <OccupiedSec>1</OccupiedSec>
    <OccupiedTime>2024-11-06T15:33:05.3798949+00:00</OccupiedTime>
    <Priority>1</Priority>
    <Seats>1</Seats>
    <TableNumber>sample string 1</TableNumber>
    <TopY>1.1</TopY>
    <Width>1</Width>
  </booking_getMergableTable2_Result>
</ArrayOfbooking_getMergableTable2_Result>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Dictionary of integer [key] and integer [value] [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {
    "1": 2,
    "3": 4
  },
  "sample string 2": {
    "1": 2,
    "3": 4
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1>
    <Key>sample string 1</Key>
    <Value>
      <KeyValueOfintint>
        <Key>1</Key>
        <Value>2</Value>
      </KeyValueOfintint>
      <KeyValueOfintint>
        <Key>3</Key>
        <Value>4</Value>
      </KeyValueOfintint>
    </Value>
  </KeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1>
  <KeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1>
    <Key>sample string 2</Key>
    <Value>
      <KeyValueOfintint>
        <Key>1</Key>
        <Value>2</Value>
      </KeyValueOfintint>
      <KeyValueOfintint>
        <Key>3</Key>
        <Value>4</Value>
      </KeyValueOfintint>
    </Value>
  </KeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1>
</ArrayOfKeyValueOfstringArrayOfKeyValueOfintintty7Ep6D1>