CONFIDENTIAL AND PROPRIETARY © Copyright 1991 – 2016 CalAmp Corp. All rights reserved. Reproduction, transmission or modification of any portion of these materials without the express written permission of CalAmp Corp is prohibited.
Application Development
Resources MBUD-0300v1
September 16, 2016
Application Development Resources MBUD-0300v1 Page | 1
CalAmp Telematics Cloud Application Development Resources
Contents
1 CalAmp Telematics Cloud Application Development Resources ................................................................ 1
2 CalAmp Telematics Cloud API Documentation ......................................................................................... 2
3 CalAmp Telematics Cloud JS Examples ..................................................................................................... 5
3.1 Login ...........................................................................................................................................................6
3.2 Account Tree ..............................................................................................................................................7
3.3 Device List ...................................................................................................................................................8
3.4 Device Map .................................................................................................................................................9
3.5 Send a Locate Request to a Device .......................................................................................................... 10
3.6 Data Pump Request ................................................................................................................................. 10
3.7 Device Message History........................................................................................................................... 11
4 Demonstration Applications ................................................................................................................. 12
4.1 Angular Demo App .................................................................................................................................. 12
1 CalAmp Telematics Cloud Application Development Resources
The CalAmp Telematics Cloud is an application enablement platform. Resources are provided to application
developers to assist in the use of the platform. As of CalAmp Telematics Cloud version 3.3, these resources
consist of
API documentation
Sample applications
Sample javascript code examples
These are explained in the following sections
Application Development Resources MBUD-0300v1 Page | 2
2 CalAmp Telematics Cloud API Documentation
Viewing CTC API documentation requires logging in to the CTC Admin UI and navigating to the Developer tab.
Select Documentation in the resource selector and log in to the API documentation with your credentials.
Application Development Resources MBUD-0300v1 Page | 3
Select an entity to see the available services for it:
Click on a service name to see its definition:
Application Development Resources MBUD-0300v1 Page | 4
Services can be executed (scroll past the definition):
Application Development Resources MBUD-0300v1 Page | 5
3 CalAmp Telematics Cloud JS Examples
On the JS Examples sub-tab are found examples of consuming Connect Services for Web Application
Development. The examples provide general demonstrations illustrating how to invoke CalAmp Telematics
Cloud Services directly using JavaScript and jQuery.
The source of each example can be viewed and downloaded for further experimentation.
The Try It Out button allows a demonstration of the code example.
The View Source button displays the source code for the example.
The Download button downloads the source code to the developer’s local machine.
Application Development Resources MBUD-0300v1 Page | 6
3.1 Login
Application Development Resources MBUD-0300v1 Page | 7
3.2 Account Tree
Application Development Resources MBUD-0300v1 Page | 8
3.3 Device List
Application Development Resources MBUD-0300v1 Page | 9
3.4 Device Map
Application Development Resources MBUD-0300v1 Page | 10
3.5 Send a Locate Request to a Device
3.6 Data Pump Request
Application Development Resources MBUD-0300v1 Page | 11
3.7 Device Message History
Application Development Resources MBUD-0300v1 Page | 12
4 Demonstration Applications
Complete applications are provided as examples. Use them to test drive Platform features, or as a starting point
for building out customized Application.
They are written with Web Standards (HTML5 / CSS3 / JavaScript), and complimented by familiar frameworks
such as Angular.js, or Backbone.
Log in with your credentials to try them and download complete source code.
4.1 Angular Demo App