Retrieves the city by Country
get
/cities/{countryCode}
This endpoint is used to get the branch by Country.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
countryCode: string
country of the city that needs to be fetched
Query Parameters
-
cityName(optional): string
country of the city that needs to be fetched
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns the city based on given country.
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error