GET admin/cities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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-21T06:21:15.0362095+02:00",
    "modifiedBy": {
      "id": 1,
      "username": "sample string 2"
    }
  },
  {
    "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-21T06:21:15.0362095+02:00",
    "modifiedBy": {
      "id": 1,
      "username": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCityGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
  <CityGET>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Latitude>4.1</Latitude>
    <Longitude>5.1</Longitude>
    <Modified>2024-02-21T06:21:15.0362095+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>
  <CityGET>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Latitude>4.1</Latitude>
    <Longitude>5.1</Longitude>
    <Modified>2024-02-21T06:21:15.0362095+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>
</ArrayOfCityGET>