GET api/City
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of City| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| country | integer |
None. |
|
| durata_executie | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2",
"country": 1,
"durata_executie": 1
},
{
"id": 1,
"name": "sample string 2",
"country": 1,
"durata_executie": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfCity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">
<City>
<country>1</country>
<durata_executie>1</durata_executie>
<id>1</id>
<name>sample string 2</name>
</City>
<City>
<country>1</country>
<durata_executie>1</durata_executie>
<id>1</id>
<name>sample string 2</name>
</City>
</ArrayOfCity>