APPLICATION PROGRAM INTERFACE (API) FOR AIRASSURE WEB PM2.5 SOFTWARE



Similar documents
NMS300 Network Management System

FITPRO+ SOFTWARE V3 IMPORTING DATA FROM FITPRO V2 & FITPLUS3

Integrating Autotask Service Desk Ticketing with the Cisco OnPlus Portal

Integrating ConnectWise Service Desk Ticketing with the Cisco OnPlus Portal

QUANTIFY INSTALLATION GUIDE

Check current version of Remote Desktop Connection for Mac.. Page 2. Remove Old Version Remote Desktop Connection..Page 8

Cloudfinder for Office 365 User Guide. November 2013

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

Managed Security Web Portal USER GUIDE

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

Work with PassKey Manager

Gravity Forms: Creating a Form

Portal User Guide. Customers. Version 1.1. May of 5

TWO WAYS TO SCHEDULE A SCOPIA VIDEO CONFERENCE BASED MEETING. 1- SCOPIA USER PORTAL 2- OUTLOOK SCOPIA MEETING PLUG-IN

Manual. Security centre ATS. Linking with Fore!

WatchDox Administrator's Guide. Application Version 3.7.5

POPP Hub Gateway. Manual

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

ProgressBook ParentAccess Web Site Administration Guide

Safewhere*Identify 3.4. Release Notes

RPM Utility Software. User s Manual

Startup guide for Zimonitor

Web Work Module User s Guide

Managed Services PKI 60-day Trial Quick Start Guide

SECURITY DOCUMENT. BetterTranslationTechnology

account multiple solutions

Defender Token Deployment System Quick Start Guide

ShadowControl ShadowStream

Budget Developer Install Manual 2.5

USING THE UPSTREAM-CONNECT WEBSITE

Load testing with. WAPT Cloud. Quick Start Guide

ParishSOFT Remote Installation

Avigilon Control Center System Integration Guide

Publishing Reports in Tableau

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

EMC Smarts Integration Guide

XMEye Android Mobile Monitoring Client English Manual

CORE K-Nect Web Portal

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Egnyte Single Sign-On (SSO) Installation for OneLogin

TIBCO Spotfire Metrics Modeler User s Guide. Software Release 6.0 November 2013

VMware vcenter Operations Manager Administration Guide

Audits. Alerts. Procedure

Managing User Accounts

SeeVogh Video Conferencing

Accessing Citrix on a MAC using OS X (Mountain Lion and Newer)

Products that are referred to in this document may be trademarks and/or registered trademarks of the respective owners.

TANDBERG MANAGEMENT SUITE 10.0

AXIS Camera Station Quick Installation Guide

Salesforce Files Connect Implementation Guide

1. GENERAL INFORMATION PROCESS AND WORKSPACE OVERVIEW

FirePass SSLVPN Client Software Deployment Guide For Windows Mobile 5 and 6 Devices MAN

Setting Up Scan to SMB on TaskALFA series MFP s.

TRIPwire HSIN Federation:

M&T Web InfoPLU$ GETTING STARTED GUIDE

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Verizon Remote Access User Guide

Comodo LoginPro Software Version 1.5

Server Installation, Administration and Integration Guide

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

Entrust Managed Services PKI Administrator Guide

Online Academic and Administrative Service System. (GRIPS Gateway) Operation Manual (Student)

How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip

IIS, FTP Server and Windows

Managing Qualys Scanners

WAMLocal. Wireless Asset Monitoring - Local Food Safety Software. Software Installation and User Guide BA/WAM-L-F

Comodo Endpoint Security Manager SME Software Version 2.1

OPTICAL PARTICLE SIZER MASS CALIBRATION METHOD

Apps for Android. Apps for iphone & ipad INS584-3

Send technical support questions to In the United States, call the technical support team toll-free at TMSS

Your Online Utility Dashboard

Using IBM dashdb With IBM Embeddable Reporting Service

Site Store Pro. INSTALLATION GUIDE WPCartPro Wordpress Plugin Version

Fax User Guide 07/31/2014 USER GUIDE

Accops HyWorks v2.5. Quick Start Guide. Last Update: 4/18/2016

DSG SoftPhone & USB Phone Series User Guide

Welcome to EMP Monitor (Employee monitoring system):

GSatTrack. Fleet Broadband Tracker. User Manual April 2011 GSE. Global Satellite Engineering. : gsat.us

Active Directory Management. Agent Deployment Guide

Configuring and Monitoring Citrix Branch Repeater

User Management Guide

How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On

Hosted VoIP Phone System. Admin Portal User Guide for. Call Center Administration

Elastix Server VoIP Intercom Setup Guide

INTEGRATION GUIDE. DIGIPASS Authentication for VMware Horizon Workspace

Manual. CollabNet Subversion Connector to HP Quality Center. Version 1.2

FortyCloud Installation Guide. Installing FortyCloud Gateways Using AMIs (AWS Billing)

DATA PROJECTOR XJ-A147/XJ-A247/XJ-A257 XJ-M146/XJ-M156 XJ-M246/XJ-M256. XJ-A Series. XJ-M Series. Network Function Guide

Tenable for CyberArk

Smart Web. User Guide. Amcom Software, Inc.

HOSPITALITY MANAGEMENT SYSTEM PROPERTY MANAGER USER GUIDE VERSION 1.0

Projetex 9 Workstation Setup Quick Start Guide 2012 Advanced International Translations

Configuring Devices for Use with Cisco Configuration Professional (CCP) 2.5

idisplay v.2.0 User Guide

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

OLIVIA123 FOR ADMINISTRATORS. User Guide

Transcription:

APPLICATION PROGRAM INTERFACE (API) FOR AIRASSURE WEB PM2.5 SOFTWARE APPLICATION NOTE PM2.5-003 (US) Introduction TSI has released an API for the AirAssure Web Software that will enable customers to extract data from AirAssure Web to use on any other interface of their choice. AirAssure Web is TSI software that enables customers to securely and easily configure multiple meters remotely and also collect aggregate, access, analyze and publish the data read by the AirAssure PM2.5 monitors. This note describes the elements of the API for customers to be able to extract specific data from AirAssure Web. Sections 3.2 - Data Controller table, all the entries that start with /data Section 4 - Data Query and Display Format Section 4 - Date format Section 5.3 - All Other - You also need a note to say that all the URLs that start /data require an authentication session for a user with ADMIN privileges. The Java based APIs published in this document give the user the ability to accomplish the following: Download all data readings as a data dump (helps in moving AirAssure Web data to another database like SQL or Access) for single instrument (helps in moving AirAssure Web data to another database like SQL or Access) Downloads the last data reading of all instruments (for display on a dashboard) Downloads the last data reading of single instrument (for display on a dashboard) Downloads data readings based on query data (for display on a dashboard or analytical tools) Clears all collected data on AirAssure Web for every instrument (useful to periodically clear AirAssure Web memory) Please note that all the URLs published below require an authentication session for a user with Admin privileges. All values (except for download of all data) returned will be in. TSI and TSI logo are registered trademarks of TSI Incorporated. AirAssure is a trademark of TSI Incorporated.

The APIs to be used are listed in the table below: URL Request Type Action Data Returns /data/getjson as a data dump /data/getcsv ANY ( or CSV /data/all/getjson /data/serial}/getjson for single instrument /data/current/getjson Downloads the last data reading of all instruments /data/serial}/current/getjson Downloads the last data reading of single instrument Serial Number /data/getjson POST Downloads data readings based on query data /data/clear Any ( or Clears all collected data for every instrument Redirect to /configure /data/delete Any ( or Deletes all instruments and data Redirect to /configure The relevant Data Query and Display formats are described in more detail to follow. -2-

Data Query and Display Format formats have been developed to query for and return simplified reading data. It was designed to support multiple instruments/readings in a single message with the return data framed with the list designators [ ]. The query data takes an array of instrument serial numbers and two scalar values for the from and to date. The return structure is flat and each parameter is a name-value pair in the message. This may be evolved over time to allow hierarchical data expression but it is not needed at this time. Query Data Structure "serialnumbers": [ "<Serial Number>", "<Serial Number>",... <Serial Number> ], "fromreadingdate": "<Date format 6 >", "toreadingdate": "<Date format 6 >" } Parameter Description Required Format serialnumbers An array of instrument serial numbers. A serial number of all can be specified. YES Array of Strings fromreadingdate The lower bound date limit YES Date format 6 toreadingdate The upper bound date limit YES Date format 6 Display Data Structure [ }, }, "serial": "<Serial Number>", "reading": "<Reading>", "displaystatus": "<AQI color>", "readingdate": "<Date format 6 >", "serial": "<Serial Number>", "reading": "<Reading>", "displaystatus": "<AQI color>", "readingdate": "<Date format 6 >", ] } -3-

Parameter Description Format serial The instrument's serial number String reading The instrument's reading String displaystatus The AQI color the instrument would display for the reading green yellow orange red purple maroon readingdate The date the reading was taken Date format 6 CSV File Format A CSV format has been developed to download instrument and reading data. It was designed to have all the instrument data as a standalone record per data point and includes the following tab separated fields: Serial, Instrument Location, Reading Date, Reading Time, Reading, AQI Color, Correction Factor, Calibration Coefficients, IP Address Example: 1229077 1/11/15 15:03:22 142 red 1.0 1.0/1.0/1.0/1.0 10.1.0.78/255.255.255.0/10.1.0.1 Date format The date format used for querying and in the display output is defined by MM/DD/YYYY hh:mm:ss AM/PM Example: 06/01/2015 4:30:05 PM Administrator Access The user needs to log in to get a session and then use the session ID when making the calls to get data. Functionally the steps are: 1. Do a form post with username and password to log in view source on the login page will show the form parameters and URL to post to. This is to authenticate. 2. The application will respond with a sessions cookie called JSESSIONID. Save the value in a variable. This establishes the authentication session. 3. When making the data request set the JSESSIONID cookie for the request or include a URL parameter called JSESSIONID with the session identifier in it. This is how a call is made in an authenticated session. Languages The AirAssure Web application supports the following languages: US English Chinese To switch languages a user selects the appropriate language icon on the menu en, zh. Individual requests can be language selected by passing a query parameter of?locale=<lang> i.e.?locale=en,?locale=zh. To view all the instruments with Chinese language selection the URL would be /instrument/list?locale=zh Once a language has been selected it will be remembered for the duration of the web session. -4-

TSI Incorporated Visit our website www.tsi.com for more information. USA Tel: +1 800 874 2811 UK Tel: +44 149 4 459200 France Tel: +33 1 41 19 21 99 Germany Tel: +49 241 523030 India Tel: +91 80 67877200 China Tel: +86 10 8219 7688 Singapore Tel: +65 6595 6388 PM2.5-003-US (9/22/2015) 2015 TSI Incorporated Printed in U.S.A.