GET api/Address/Streets/ByCityId/{id}

קבלת רחובות לפי קוד עיר

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

קוד עיר, קוד עיר שלילי עיר שהוקמה ידנית והקוד עתיד להשתנות בעת עדכון מהמאגר

integer

Required

Body Parameters

None.

Response Information

Resource Description

קבלת רשימת הרחובות לפי הקוד עיר שנבחרה

CityAndStreets
NameDescriptionTypeAdditional information
City

עיר

KeyName

None.

Streets

רשימת רחובות

Collection of KeyName

None.

Response Formats

application/json, text/json

Sample:
{
  "City": {
    "Key": "sample string 1",
    "Name": "sample string 2"
  },
  "Streets": [
    {
      "Key": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData">
  <City>
    <Key>sample string 1</Key>
    <Name>sample string 2</Name>
  </City>
  <Streets>
    <KeyName>
      <Key>sample string 1</Key>
      <Name>sample string 2</Name>
    </KeyName>
    <KeyName>
      <Key>sample string 1</Key>
      <Name>sample string 2</Name>
    </KeyName>
  </Streets>
</Address>

multipart/form-data

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData"><City><Key>sample string 1</Key><Name>sample string 2</Name></City><Streets><KeyName><Key>sample string 1</Key><Name>sample string 2</Name></KeyName><KeyName><Key>sample string 1</Key><Name>sample string 2</Name></KeyName></Streets></Address>