POST api/v{version}/public/points/search-by-postalcode

Filtra i Point Codice di Avviamento Postale. Raggio massimo 50km.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

Il payload contiene l'entità ApiPostalCodeSearchData

ApiPostalCodeSearchData
NameDescriptionTypeAdditional information
postalcode

string

None.

radius

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "postalcode": "20122",
  "radius": 10
}

Response Information

Resource Description

Lista dei Point filtrati completa di tutti i dettagli

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"
  }
]