GET api/cities/byid?cityId={cityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cityId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

City
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

FrenchName

string

None.

CountryName

string

None.

CountryFrenchName

string

None.

LogoUrl

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

DeletedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "7a9435a6-b579-41e6-aa11-fd127cc017ea",
  "Name": "sample string 2",
  "FrenchName": "sample string 3",
  "CountryName": "sample string 4",
  "CountryFrenchName": "sample string 5",
  "LogoUrl": "sample string 6",
  "CreatedDate": "2025-12-05T20:25:18.9661435-08:00",
  "ModifiedDate": "2025-12-05T20:25:18.9661435-08:00",
  "DeletedDate": "2025-12-05T20:25:18.9661435-08:00"
}

application/xml, text/xml

Sample:
<City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuicDoctor.Data.Data">
  <CountryFrenchName>sample string 5</CountryFrenchName>
  <CountryName>sample string 4</CountryName>
  <CreatedDate>2025-12-05T20:25:18.9661435-08:00</CreatedDate>
  <DeletedDate>2025-12-05T20:25:18.9661435-08:00</DeletedDate>
  <FrenchName>sample string 3</FrenchName>
  <Id>7a9435a6-b579-41e6-aa11-fd127cc017ea</Id>
  <LogoUrl>sample string 6</LogoUrl>
  <ModifiedDate>2025-12-05T20:25:18.9661435-08:00</ModifiedDate>
  <Name>sample string 2</Name>
</City>