The AEMP 2.0 API follows the ISO 15143-3 specification for worksite data exchange on earth-moving machinery and mobile road construction machinery. The API allows 3rd party access to fleet and equipment data collected by the Senquip Portal. The API does not replace the Senquip Portal, which can still be used to view and configure device information.
A Senquip device can be easily fitted to existing machinery, allowing integration into software suites such as VisionLink. This allows a cost effective method of adding telematics information to existing equipment and machinery while viewing operational information from a central system.
The AEMP 2.0 API is available by making a request to Senquip support. All devices accessed through the Senquip AEMP 2.0 API must be on the Premium plan.
Once the fleet of devices is created, authorisation credentials are issued via email. The issued credentials must be kept private.
The AEMP 2.0 API is secured using HTTPS and OAuth 2.0 'client_credentials' grant type.The following authorization information is available once the fleet is setup on the Senquip system:
"Basic BASE64(CLIENT_ID:CLIENT_SECRET)", where
BASE64(CLIENT_ID:CLIENT_SECRET)is the base64 representation of the Client ID and Client secret, concatenated with a colon.
curl -i -H 'Content-Type: application/x-www-form-urlencoded' -X POST 'TOKEN URL' -d 'grant_type=client_credentials' -H 'Authorization: Basic BASE64(CLIENT_ID:CLIENT_SECRET)'
The app uses the access token in the Authorization header when making requests to the Endpoint URL.
curl -X GET 'ENDPOINT URL' -H 'Content-Type: application/json' -H 'Authorization: TOKEN'
The following endpoints are available.
The fleet snapshot contains a snapshot view of the fleet, containing the most recent data for each piece of equipment.
The single-element snapshot contains data describing a single piece of equipment.
All equipment is uniquely identified through the Senquip AEMP 2.0 API by a PIN (Product Identification Number) value in the Equipment Header. The PIN for the equipment matches the Senquip Device ID, and is an alpha-numeric value a minimum of 9 digits long.
The following equipment header information can be customised on the Senquip Portal to reflect the actual equipment the Senquip device is connected to:
The following data elements are available through the AEMP 2.0 API, depending on how the Senquip device is configured. If no data source is available, then the data element is omitted.