Get entities from Countries
GET/Countries
Get entities from Countries
Request
Query Parameters
$top integer
Show only the first n items
$skip integer
Skip the first n items
$search string
Search items by search phrases
$filter string
Filter items by property values
$count boolean
Include count of items
$orderby string[]
Possible values: [iso
, iso desc
, name
, name desc
, active
, active desc
, englishName
, englishName desc
, phonePrefix
, phonePrefix desc
, capital
, capital desc
]
Order items by property values
$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 entities
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
value
object[]
iso string
name string
active boolean
englishName string
phonePrefix string
capital string
{
"value": [
{
"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...