Get entity from Countries by key
GET/Countries(:iso)
Get entity from Countries by key
Request
Path Parameters
iso stringrequired
key: iso of Country
Query Parameters
$select string[]
Possible values: [iso
, name
, active
, englishName
, phonePrefix
, capital
]
Select properties to be returned
$expand string[]
Possible values: [*
]
Expand related entities
Responses
- 200
- default
Retrieved entity
- application/json
- Schema
- Example (from schema)
Schema
iso string
name string
active boolean
englishName string
phonePrefix string
capital string
{
"iso": "string",
"name": "string",
"active": true,
"englishName": "string",
"phonePrefix": "string",
"capital": "string"
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
code stringrequired
message stringrequired
target string
details
object[]
code stringrequired
message stringrequired
target string
innererror object
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}
Loading...