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

Table 1. /credentials/{SYSTEM_COMPANY}
Parameter Description

SYSTEM_COMPANY

System Company ID

Request body

Request headers

Name Description

Authorization

Basic authentication

Request parameters

Parameter Description

comp

Company ID (Optional)

app

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

googleApiKey

String

Google API Key

googleApiKeyWeb

String

Google API Key for Web

googleApiKeyPlaceSDK

String

Google API Key for Places via SDK

limosysGeoApiKey

String

Limosys Geo services API Key

order[]

Array

(GeoApiPrefs objects) API calls order for failover

order[].code

String

API order code - Use enum GeoApiOrder

order[].useForBidding

class java.lang.Boolean

Reuse cached value within 1 minute for bidding also

order[].uploadCache

class java.lang.Boolean

Upload results to geocache API for caching

orderForBidding[]

Array

(GeoApiPrefs objects) API calls order for failover when bidding - more reliable info expected

orderForBidding[].code

String

API order code - Use enum GeoApiOrder

orderForBidding[].useForBidding

class java.lang.Boolean

Reuse cached value within 1 minute for bidding also

orderForBidding[].uploadCache

Boolean

Upload results to geocache API for caching

dirsOrder[]

class [Ljava.lang.String;

API order for Directions

dirsOrder[].code

String

DirsApi enum value

geocodeOrder[]

class [Ljava.lang.String;

Geocoding API order

geocodeOrder[].code

String

GeocodeApi enum value