GET api/v{version}/public/points/search?lat={lat}&lng={lng}&radius={radius}&day={day}&from={from}&to={to}

Filtra i Point per posizione (entro un certo raggio) e per giorno/ora di apertura. Raggio massimo 50km.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lat

decimal number

None.

lng

decimal number

None.

radius

integer

Range: inclusive between 0 and 2147483647

day

integer

Range: inclusive between 0 and 6

from

integer

Range: inclusive between 0 and 24

to

integer

Range: inclusive between 0 and 24

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Lista dei Point filtrati completa di tutti i dettagli. Versione GET per utilizzo con richiesta Ajax

Collection of ApiPointFull
NameDescriptionTypeAdditional information
d

integer

None.

a

ApiAddress

None.

p

string

None.

s

string

None.

o

Collection of ApiOpening

None.

t

string

None.

id

integer

None.

n

string

None.

lt

decimal number

None.

ln

decimal number

None.

c

string

None.

r

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "d": 1,
    "a": {
      "s": "sample string 1",
      "e": "sample string 2",
      "c": "sample string 3",
      "l": "sample string 4",
      "p": "sample string 5",
      "d": "sample string 6"
    },
    "p": "sample string 2",
    "s": "sample string 3",
    "o": [
      {
        "d": 1,
        "h": [
          {
            "o": 1.1,
            "c": 2.1
          },
          {
            "o": 1.1,
            "c": 2.1
          }
        ]
      },
      {
        "d": 1,
        "h": [
          {
            "o": 1.1,
            "c": 2.1
          },
          {
            "o": 1.1,
            "c": 2.1
          }
        ]
      }
    ],
    "t": "sample string 4",
    "id": 5,
    "n": "sample string 6",
    "lt": 7.1,
    "ln": 8.1,
    "c": "sample string 9",
    "r": "sample string 10"
  },
  {
    "d": 1,
    "a": {
      "s": "sample string 1",
      "e": "sample string 2",
      "c": "sample string 3",
      "l": "sample string 4",
      "p": "sample string 5",
      "d": "sample string 6"
    },
    "p": "sample string 2",
    "s": "sample string 3",
    "o": [
      {
        "d": 1,
        "h": [
          {
            "o": 1.1,
            "c": 2.1
          },
          {
            "o": 1.1,
            "c": 2.1
          }
        ]
      },
      {
        "d": 1,
        "h": [
          {
            "o": 1.1,
            "c": 2.1
          },
          {
            "o": 1.1,
            "c": 2.1
          }
        ]
      }
    ],
    "t": "sample string 4",
    "id": 5,
    "n": "sample string 6",
    "lt": 7.1,
    "ln": 8.1,
    "c": "sample string 9",
    "r": "sample string 10"
  }
]