GET | /companies/coordinates |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Street1 | query | string | Yes | Street address |
Street2 | query | string | No | 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 .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Longitude":0,"Latitude":0}