1. Get Credentials
Curl request
$ curl 'https://api.limosys.com/credentials/SYSTEM_COMPANY?comp=COMP_ID&app=DRIVER_APP' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY'
HTTP request
GET /credentials/SYSTEM_COMPANY?comp=COMP_ID&app=DRIVER_APP HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Authorization: YOUR_API_KEY
Host: api.limosys.com
HTTP response
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Content-Length: 462
{"googleApiKey":"GOOGLE_API_KEY","googleApiKeyWeb":"GOOGLE_API_KEY_WEB","googleApiKeyPlaceSDK":"GOOGLE_PLACES_API_KEY","limosysGeoApiKey":"LIMOSYS_API_KEY","order":[{"code":"LS_API","useForBidding":false,"uploadCache":false},{"code":"G_NO_KEY","useForBidding":true,"uploadCache":true},{"code":"G_WITH_KEY","useForBidding":true,"uploadCache":true}],"orderForBidding":[{"code":"G_WITH_KEY","useForBidding":true,"uploadCache":true}],"dirsOrder":[{"code":"GOOGLE"}]}
HTTPie request
$ http GET 'https://api.limosys.com/credentials/SYSTEM_COMPANY?comp=COMP_ID&app=DRIVER_APP' \
'Content-Type:application/json;charset=UTF-8' \
'Accept:application/json' \
'Authorization:YOUR_API_KEY'
Path parameters
Parameter | Description |
---|---|
|
System Company ID |
Request body
Request headers
Name | Description |
---|---|
|
Basic authentication |
Request parameters
Parameter | Description |
---|---|
|
Company ID (Optional) |
|
App code (Optional) |
Response body
{"googleApiKey":"GOOGLE_API_KEY","googleApiKeyWeb":"GOOGLE_API_KEY_WEB","googleApiKeyPlaceSDK":"GOOGLE_PLACES_API_KEY","limosysGeoApiKey":"LIMOSYS_API_KEY","order":[{"code":"LS_API","useForBidding":false,"uploadCache":false},{"code":"G_NO_KEY","useForBidding":true,"uploadCache":true},{"code":"G_WITH_KEY","useForBidding":true,"uploadCache":true}],"orderForBidding":[{"code":"G_WITH_KEY","useForBidding":true,"uploadCache":true}],"dirsOrder":[{"code":"GOOGLE"}]}
Response fields
Path | Type | Description |
---|---|---|
|
|
Google API Key |
|
|
Google API Key for Web |
|
|
Google API Key for Places via SDK |
|
|
Limosys Geo services API Key |
|
|
(GeoApiPrefs objects) API calls order for failover |
|
|
API order code - Use enum GeoApiOrder |
|
|
Reuse cached value within 1 minute for bidding also |
|
|
Upload results to geocache API for caching |
|
|
(GeoApiPrefs objects) API calls order for failover when bidding - more reliable info expected |
|
|
API order code - Use enum GeoApiOrder |
|
|
Reuse cached value within 1 minute for bidding also |
|
|
Upload results to geocache API for caching |
|
|
API order for Directions |
|
|
DirsApi enum value |
|
|
Geocoding API order |
|
|
GeocodeApi enum value |