Professional Documents
Culture Documents
Version 1.94
Last Updated June 23, 2016
1
Copyright ©2016 Command Alkon Incorporated and/or its affiliates. All rights reserved.
The contents of this document are for informational purposes only and are subject to change without notice.
Command Alkon Incorporated ("CAI") may, without notice, modify its products in a way that affects the
information contained in this publication.
The information contained herein is subject to change without notice and may contain inaccuracies or
errors. CAI assumes no responsibility for any errors that may appear in this document. This publication is
intended only for the direct benefit of authorized users of CAI products. This publication may not be used
for any purposes other than those for which it is provided, and it is subject to the terms of the applicable
software license or subscription agreement. This publication and the information disclosed herein is the
property of CAI, and, except for rights granted by written consent, may not be disclosed, disseminated, or
duplicated in whole or in part.
Microsoft and Windows are trademarks of Microsoft Corporation. Other names may be trademarks of their
respective owners.
2
Command Alkon Signaling Specification Services................................................. 4
SECTION ONE: GENERAL INTERFACE OVERVIEW ....................................................... 4
I. Introduction ................................................................................................................... 4
II. System Overview ......................................................................................................... 4
III. Communication Overview ........................................................................................... 4
IV. Transactions ............................................................................................................... 5
V. XML Description........................................................................................................... 7
SECTION TWO: INTERFACE DETAILS.............................................................................. 8
I. Messages encryption and format.................................................................................. 8
II. XML Transport Structure Definition .............................................................................. 9
III. XML Transport Field Requirements and Descriptions ................................................ 9
IV. Transaction Category, Type and Subtype ................................................................. 17
V. Message Description Examples................................................................................. 19
VI. Message Examples .................................................................................................. 21
3
Command Alkon Signaling Specification
Services
I. Introduction
The COMMANDfleet Mobile Signaling Interface is designed to provide a vehicle tracking
interface between the COMMANDseries application and Mobile Signaling providers. The
interface maximizes truck utilization, delivers accurate truck analysis information and
improves job site management; while minimizing IT time and costs. The interface is a
vehicle/fleet data collection tool that delivers real-time and historical vehicle event and
location information for your fleet management solution.
IV. Transactions
The COMMANDseries Integration Server defines a transaction as any well-formed data
packet either inbound from a vehicle or outbound to a vehicle. Transaction data will traverse
the CSIS architecture as XML formatted messages that will be passed to and from
architecture components via the MSMQ mechanism defined above. A transaction may
elicit a response from the CSIS that in turn creates additional transactions that will traverse
the system. Every transaction within the system will have a unique transaction identifier
associated with it and each transaction will be stored within the CSIS database. Transactions
are the core of the CSIS system in the same way that orders and tickets are at the core of
COMMANDseries.
The following are the transactions that are moved from system to system and the expected
response for each:
V. XML Description
This section will become available once a contract with Command Alkon has been signed.
The XML message is sub-divided into multiple groups; Header, Vehicle/Unit Identification
Data, and Transaction Data.
1. Header: The Header contains information pertaining to the type and formatting of
XML contained within this block.
<?xml version="1.0"?>
<cmdsig_xml_msg
xmlns:xsd="htThird Party://www.w3.org/2001/XMLSchema"xmlns:xsi="htThird Party://www.w3.org/2001/
XMLSchemainstance">
</cmdsig_xml_msg>
2. Vehicle/Unit Identification Data: This section contains the identifying the
originating source of data. (As described by Number 1 of III. XML Transport Field
Requirements and Descriptions in SECTION TWO: INTERFACE DETAILS)
<id>String(38)</id>
UTC
FROM
Field/Data type COMMANDfleet TO Third Party Description/Comments
date_time Optional Not Used Event Time in UTC
Datatype: DateTime In the event that this is not provided or left blank
(yyyy-mm- the time to be used is the transition date_time.
ddThh:nn:ss)
Material Leftover
FROM
Field/Data type COMMANDfleet TO Third Party Description/Comments
value Mandatory Not Used Numeric value of quantity of material leftover
Datatype: Float(9.99) Range 0 - 9.99
unit_of_measure Mandatory Not Used Unit of measure for the value provided
Datatype: 1. CM: cubic meters
(String(2,[CM,CY])) 2. CY: cubic yards
Acknowledgment
FROM
Field/Data type COMMANDfleet TO Third Party Description/Comments
originating_id Mandatory Not Used Id of the original message that initiated/
Datatype: (String(38)) requires an acknowledgment; e.g. a text
message sent to a vehicle that requires a vehicle
and driver acknowledgment would require two
acknowledgments with the same message id
that was contained in the text message
originally sent from COMMANDfleet to the
Third Party System.
Trip Packet
FROM
Field/Data type COMMANDfleet TO Third Party Description/Comments
site_source Not Used Optional The starting point of trip.
Datatype: site
site_job Not Used Optional The delivery point of the trip. This may be a
Datatype: site blank section (<site_job />) if there is only a
source and destination for the trip; e.g. Dead
Heading from site to site.
site_destination Not Used Optional The ending point of trip. Normally the return
Datatype: site plant.
the truck.
Will not contain Vehicle IP address information.
Type
Subtype
Message
• All other tags are pertinent to the message being sent at the time it is sent.
Id (new GUID)
the vehicle_unit_code)
Date_time (data and time the message was constructed and sent)
Type
Subtype
Message
Vehicle_ip_address (IP address of the vehicle at the time of the message request)
The example below is for in yard (IYD) message which contains optional return location
information:
<category>SIN</category>
<type>STA</type>
<subtype>IYD</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<gps version="1.0">
<latitude>3343.9875</latitude>
<latitude_hemisphere>N</latitude_hemisphere>
<longitude>08457.8764</longitude>
The example below is for the driver login message which contains additional driver
information:
<category>SIN</category>
<type>STA</type>
<subtype>DLI</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<driver_login version="1.0">
<driver_code>123</driver_code>
</driver_login>
<gps version="1.0">
<latitude>3343.9875</latitude>
<latitude_hemisphere>N</latitude_hemisphere>
<longitude>08457.8764</longitude>
<longitude_hemisphere>E</longitude_hemisphere>
<satellites>4</satellites>
<speed>47</speed>
<speed_unit_of_measure>MPH</speed_unit_of_measure>
<heading>20</heading>
</gps>
</message>
4. Vehicle Status - Driver / Vehicle ACK
(Return to Category/Type/Subtype)
(Return to XML definition)
Category: SIN
Type: ACK
Subtype valid values: DRV (13), VEH (15)
COMMANDfleet Required Response: None
Data Flow:
XML Transport from Third Party to COMMANDfleet (Inbound Status from Vehicle-
Driver ACK):
<category>SIN</category>
<type>ACK</type>
<subtype>DRV</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<acknowledgement version="1.0">
XML Transport from Third Party to COMMANDfleet (Inbound Status from Vehicle-
Driver ACK):
<type>NAK</type>
<subtype>NAK</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<negative_acknowledgement version="1.0">
< originating_id >{67185627-1383-44C3-B24D-84FEF4626710}</id>
<description>Truck code is not valid</description>
<retry>N<retry>
<error_code>10234</error_code>
</negative_acknowledgement>
XML Transport from Third Party to COMMANDfleet (Inbound Status from Vehicle-
Canned LED Message):
<category>SIN</category>
<type>MSG</type>
<subtype>021</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<gps version="1.0">
<latitude>3343.9875</latitude>
<latitude_hemisphere>N</latitude_hemisphere>
<longitude>08457.8764</longitude>
<longitude_hemisphere>E</longitude_hemisphere>
<satellites>4</satellites>
<speed>47</speed>
<speed_unit_of_measure>MPH</speed_unit_of_measure>
<heading>20</heading>
</gps>
</message>
7. Vehicle Message - Inbound Text Messages
Category: SIN
Type: MSG
Subtype valid values: TXT
COMMANDfleet Required Response: None
Dataflow:
Equivalent to:
<category>MOUT</category>
<type>NUM</type>
<subtype>001</subtype>
<message></message>
10. Coded/Numeric Message - GPS Coordinate Poll Sent to Vehicle
Category: MOUT
Type: POL
Subtype valid values: POL (16)
Third Party Required Response: for Category MOUT, Type POL, Subtype POL
message the response will be the GPS Coordinates message Category PIN, Type GPL,
Subtype GPL.
Data Flow:
XML Transport from COMMANDfleet to Third Party (Poll for GPS Coordinates):
<category>MOUT</category>
<type>POL</type>
<subtype>POL</subtype>
XML Transport from Third Party to COMMANDfleet (GPS Poll Response from Vehicle):
<category>PIN</category>
<type>GPL</type>
<subtype>GPL</subtype>
<message>
<utc_date_time>2004-07-27T10:10:42</utc_date_time>
<gps version="1.0">
<latitude>3343.9875</latitude>
<latitude_hemisphere>N</latitude_hemisphere>
<longitude>08457.8764</longitude>
<longitude_hemisphere>E</longitude_hemisphere>
<satellites>4</satellites>
<speed>47</speed>
<speed_unit_of_measure>MPH</speed_unit_of_measure>
<heading>20</heading>
</gps>
</message>
12. GPS Coordinates Inbound Message
Unsolicited inbound GPS coordinates from Vehicle.
(Return to Category/Type/Subtype)
(See GPS XML definition)
Category: GIN
Type: GPL
Subtype valid values: GPS
COMMANDfleet Required Response: None
Data Flow: