| GET | /companies/coordinates |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Street1 | query | string | Yes | Street address |
| Street2 | query | string | Yes | Street adress |
| ZipCode | query | string | Yes | Street zip code |
| City | query | string | Yes | City |
| CountryId | query | string | Yes | Country Id (Example SE= Sweden) |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Longitude | form | double | No | |
| Latitude | form | double | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /companies/coordinates HTTP/1.1 Host: api.bokamera.se Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Longitude: 0,
Latitude: 0
}