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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Longitude":0,"Latitude":0}