GET api/Address/Cities/ByName/{name}

קבלת ערים לפי שם עיר

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

שם העיר או חלק משם העיר

string

Required

Body Parameters

None.

Response Information

Resource Description

החזרת רשימת קודי עיר ושמות הערים

Collection of KeyName
NameDescriptionTypeAdditional information
Key

קוד

string

None.

Name

שם

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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

multipart/form-data

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