Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
street | String | A String value |
nr | String | A String value |
zipcode | String | A String value |
city | String | A String value |
country | Country | 2 letter ISO representation of a country (string) |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
street | String | A String value |
nr | String | A String value |
zipcode | String | A String value |
city | String | A String value |
country | Country | 2 letter ISO representation of a country (string) |
position | Coordinates | Coordinates of a place in the world |
When used inside a request.
{
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
When returned in a response.
{
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
}