Real Time Automation, Inc.
4
1-800-249-1612
Basics ................................................................................................................................................... 34
Requesting Data for an Individual Device ........................................................................................... 34
Requesting a Group of Devices ........................................................................................................... 35
Filtering Requests by Point Names ..................................................................................................... 35
Advanced (Optional XML Data Direction Annotation) ........................................................................ 36
Example Output Format (GET) ................................................................................................................ 37
Description of Format
–
Both XML and JSON ..................................................................................... 37
XML Output ......................................................................................................................................... 38
JSON Output ........................................................................................................................................ 38
Writing Data to the Gateway ...................................................................................................................... 39
Which method to use? ........................................................................................................................ 39
The multipart/form data Method ....................................................................................................... 39
The application/x-www-form-urlencoded Method ............................................................................ 40
Example Input Format (POST) ................................................................................................................. 41
Minimum XML Input ........................................................................................................................... 41
Expanded XML Input ........................................................................................................................... 41
Special Note for XML Strings ............................................................................................................... 42
Minimum JSON Input .......................................................................................................................... 42
Expanded JSON Input .......................................................................................................................... 42
Special Note for JSON Strings.............................................................................................................. 43
Mapping - Transferring Data Between Devices .......................................................................................... 44
Display Mapping and Values ....................................................................................................................... 45
Display Data ............................................................................................................................................ 45
Display String........................................................................................................................................... 47
Data and String Mapping
–
Auto-Configure................................................................................................ 48
Data Mapping
–
Explanation ....................................................................................................................... 49
Data Mapping
–
Adding Diagnostic Information ........................................................................................ 50
String Mapping
–
Explanation ..................................................................................................................... 53
Mapping
–
Auto-Configure Mode to Manual Configure Mode .................................................................. 54
Mapping
–
Manual Configure Mode to Auto-Configure Mode .................................................................. 55
View as Text ................................................................................................................................................ 56
Data Mapping .......................................................................................................................................... 56
String Mapping ........................................................................................................................................ 56