Skip to main content
POST
/
api
/
UpdateLocation
Request Location Update
curl --request POST \
  --url https://api.telemax.com.au/api/UpdateLocation \
  --header 'Authorization: Bearer <token>'
{}

Overview

Validates vehicle access and IMEI presence. If IMEI is missing, returns 200 OK with JSON { "error": "Vehicle {id} imei not found" } instead of 4xx.
A V2 version of this endpoint is available: Refresh position. New integrations should prefer V2.

Endpoint

POST /api/UpdateLocation

Query parameters

id
integer
required
Legacy vehicle id.

Response

200 OKnull on success, or { "error": "..." } when IMEI missing.

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /api/authentication/token/user or POST /api/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping:

  • User tokens are scoped to a single company.
  • API key tokens may restrict access to a vehicle allowlist and/or action set (see token claims).

No refresh endpoint — re-authenticate with your credentials when the token expires.

Headers

Content-Type
string
Authorization
string
required

Bearer your_token

Query Parameters

id
integer
required

Vehicle ID

Response

Successful response

The response is of type object.