GET admin/cities/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CityGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Status | Status |
None. |
|
Modified | date |
None. |
|
ModifiedBy | User |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "description": "sample string 3", "latitude": 4.1, "longitude": 5.1, "status": { "id": 1, "name": "sample string 2" }, "modified": "2025-01-24T07:32:21.1669736+00:00", "modifiedBy": { "id": 1, "username": "sample string 2" } }
application/xml, text/xml
Sample:
<CityGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <Description>sample string 3</Description> <Id>1</Id> <Latitude>4.1</Latitude> <Longitude>5.1</Longitude> <Modified>2025-01-24T07:32:21.1669736+00:00</Modified> <ModifiedBy> <Id>1</Id> <Username>sample string 2</Username> </ModifiedBy> <Name>sample string 2</Name> <Status> <Id>1</Id> <Name>sample string 2</Name> </Status> </CityGET>