GET api/Location/GetStreetsByCriteria?citycodePostil={citycodePostil}&streetCodePostil={streetCodePostil}&term={term}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
citycodePostil

integer

Required

streetCodePostil

string

None.

term

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of StreetModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

CityCodePostil

integer

None.

StreetCodePostil

string

None.

StreetNumberPostil

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "CityCodePostil": 3,
    "StreetCodePostil": "sample string 4",
    "StreetNumberPostil": 5
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "CityCodePostil": 3,
    "StreetCodePostil": "sample string 4",
    "StreetNumberPostil": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfStreetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Locations.Services.Api.Models.Location">
  <StreetModel>
    <CityCodePostil>3</CityCodePostil>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StreetCodePostil>sample string 4</StreetCodePostil>
    <StreetNumberPostil>5</StreetNumberPostil>
  </StreetModel>
  <StreetModel>
    <CityCodePostil>3</CityCodePostil>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StreetCodePostil>sample string 4</StreetCodePostil>
    <StreetNumberPostil>5</StreetNumberPostil>
  </StreetModel>
</ArrayOfStreetModel>