GET admin/cities/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CityGET
NameDescriptionTypeAdditional 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": "2024-02-21T07:55:39.7129905+02: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>2024-02-21T07:55:39.7129905+02: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>