GET smartlot/v2/Lots/{APIKey}/{siteCode}/{zone}/{subzone}

This method returns all the lots for the given site filtered by sub zone

Request Information

Parameters

NameDescriptionAdditional information
siteCode
The code of the site you have access to and whose data you want to retrieve. Available on settings page.

Define this parameter in the request URI.

zone
The zone for the given site

Define this parameter in the request URI.

subzone
The subzone for the given site and zone

Define this parameter in the request URI.

APIKey
The API key provided during registration. Available on settings page.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "LotCode": "sample string 1",
    "LocationCode": "sample string 2",
    "MaxStayPeriod": "sample string 3",
    "BayType": "sample string 4",
    "Street": "sample string 5",
    "Zone": "sample string 6",
    "SubZone": "sample string 7",
    "Ward": "sample string 8",
    "City": "sample string 9",
    "OperatingHourCode": "sample string 10",
    "TariffCode": "sample string 11",
    "PaymentProviderCode": "sample string 12",
    "BayCount": 13,
    "Latitude": 1.1,
    "Longitude": 1.1,
    "HasSensor": true,
    "IsUnMarked": true
  },
  {
    "LotCode": "sample string 1",
    "LocationCode": "sample string 2",
    "MaxStayPeriod": "sample string 3",
    "BayType": "sample string 4",
    "Street": "sample string 5",
    "Zone": "sample string 6",
    "SubZone": "sample string 7",
    "Ward": "sample string 8",
    "City": "sample string 9",
    "OperatingHourCode": "sample string 10",
    "TariffCode": "sample string 11",
    "PaymentProviderCode": "sample string 12",
    "BayCount": 13,
    "Latitude": 1.1,
    "Longitude": 1.1,
    "HasSensor": true,
    "IsUnMarked": true
  },
  {
    "LotCode": "sample string 1",
    "LocationCode": "sample string 2",
    "MaxStayPeriod": "sample string 3",
    "BayType": "sample string 4",
    "Street": "sample string 5",
    "Zone": "sample string 6",
    "SubZone": "sample string 7",
    "Ward": "sample string 8",
    "City": "sample string 9",
    "OperatingHourCode": "sample string 10",
    "TariffCode": "sample string 11",
    "PaymentProviderCode": "sample string 12",
    "BayCount": 13,
    "Latitude": 1.1,
    "Longitude": 1.1,
    "HasSensor": true,
    "IsUnMarked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartAPI.Entities.V2">
  <Lot>
    <BayCount>13</BayCount>
    <BayType>sample string 4</BayType>
    <City>sample string 9</City>
    <HasSensor>true</HasSensor>
    <IsUnMarked>true</IsUnMarked>
    <Latitude>1.1</Latitude>
    <LocationCode>sample string 2</LocationCode>
    <Longitude>1.1</Longitude>
    <LotCode>sample string 1</LotCode>
    <MaxStayPeriod>sample string 3</MaxStayPeriod>
    <OperatingHourCode>sample string 10</OperatingHourCode>
    <PaymentProviderCode>sample string 12</PaymentProviderCode>
    <Street>sample string 5</Street>
    <SubZone>sample string 7</SubZone>
    <TariffCode>sample string 11</TariffCode>
    <Ward>sample string 8</Ward>
    <Zone>sample string 6</Zone>
  </Lot>
  <Lot>
    <BayCount>13</BayCount>
    <BayType>sample string 4</BayType>
    <City>sample string 9</City>
    <HasSensor>true</HasSensor>
    <IsUnMarked>true</IsUnMarked>
    <Latitude>1.1</Latitude>
    <LocationCode>sample string 2</LocationCode>
    <Longitude>1.1</Longitude>
    <LotCode>sample string 1</LotCode>
    <MaxStayPeriod>sample string 3</MaxStayPeriod>
    <OperatingHourCode>sample string 10</OperatingHourCode>
    <PaymentProviderCode>sample string 12</PaymentProviderCode>
    <Street>sample string 5</Street>
    <SubZone>sample string 7</SubZone>
    <TariffCode>sample string 11</TariffCode>
    <Ward>sample string 8</Ward>
    <Zone>sample string 6</Zone>
  </Lot>
  <Lot>
    <BayCount>13</BayCount>
    <BayType>sample string 4</BayType>
    <City>sample string 9</City>
    <HasSensor>true</HasSensor>
    <IsUnMarked>true</IsUnMarked>
    <Latitude>1.1</Latitude>
    <LocationCode>sample string 2</LocationCode>
    <Longitude>1.1</Longitude>
    <LotCode>sample string 1</LotCode>
    <MaxStayPeriod>sample string 3</MaxStayPeriod>
    <OperatingHourCode>sample string 10</OperatingHourCode>
    <PaymentProviderCode>sample string 12</PaymentProviderCode>
    <Street>sample string 5</Street>
    <SubZone>sample string 7</SubZone>
    <TariffCode>sample string 11</TariffCode>
    <Ward>sample string 8</Ward>
    <Zone>sample string 6</Zone>
  </Lot>
</ArrayOfLot>