GET api/Address/Cities/ById/{id}

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

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

integer

Required

Body Parameters

None.

Response Information

Resource Description

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

KeyName
NameDescriptionTypeAdditional information
Key

קוד

string

None.

Name

שם

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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

multipart/form-data

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