GET api/Address/Streets/All

קבלת רשימת כל הרחובות

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

קבלת רשימת הרחובות מרוכז לפי ערים

Collection of 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"
      }
    ]
  },
  {
    "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:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData">
  <Address>
    <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>
  <Address>
    <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>
</ArrayOfAddress>

multipart/form-data

Sample:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData"><Address><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><Address><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></ArrayOfAddress>