Get Token (Deprecated)
Trip Management’s Get Token API returns a token to be used with all your Trip Management requests.
GET /token?apiKey={apiKey}&userName={userName}
Resource URL
https://tripmanagement.trimblemaps.com/api/token?apiKey={apiKey}&userName={userName}
Request Fields
Field | Description | Type | Required |
---|---|---|---|
apiKey
| The API Key supplied to you by Trimble Maps. |
string | Yes |
userName
| Email address that typically corresponds to the tmsUserId of the Plan Trip object. |
string | true |
Response Fields
Field | Description | Type | |
---|---|---|---|
value
| A string token. |
string | |
message
| An error message if the service was unable to generate a token. |
string |
Sample Response
{
"value": "0140Xk8910523B0zKq69K7Rt73713juElk2h8M8BJf",
"message": null
}