Get all Countries
GET/sint/country/
Get all Countries
Request
Responses
- 200
- 401
- 4XX|5XX
List every country in the database
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id integerrequired
id
Code stringnullable
Code
name stringnullable
French name
englishName stringnullable
English name
alpha2 stringnullable
Alpha 2 letters
alpha3 stringnullable
Alpha 3 letters
countryValidForIban booleannullable
Country is valid for IBAN
ibanAllowSize integernullable
Allow size of IBAN
[
{
"id": "10",
"Code": "Germany",
"name": "Germany",
"englishName": "France",
"alpha2": "DE",
"alpha3": "DEU",
"countryValidForIban": "true",
"ibanAllowSize": "22"
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": "401",
"message": "JWT Token not found"
}
An error occured
- application/json
- Schema
- Example (from schema)
Schema
success boolean
code integer
internal_code integer
message string
{
"success": "false",
"code": "400",
"internal_code": "3001",
"message": "Incorect data"
}
Loading...