{"info":{"_postman_id":"af2a4f0b-f261-466f-a73e-fa47a7244bbd","name":"4SIGHT Connect Data Reference","description":"<html><head></head><body><p><img src=\"https://4sightsolution.com/wp-content/uploads/2020/12/4sight_logo.svg\" alt=\"4SIGHT Connect Data.\"> </p>\n<blockquote>\n<p>The 4SIGHT Connect Data Reference documentation represents the data elements accessible for customers using the <strong>4SIGHT Connect Data</strong> product. </p>\n<blockquote>\n<p>The product delivers data in two parts: </p>\n<ul>\n<li>MQTT Delivering Data In Real-time.</li>\n<li>RESTful API's</li>\n</ul>\n</blockquote>\n</blockquote>\n<p><strong>Need Help?</strong> Contact <a href=\"https://app.smartsheet.com/b/form/c05a4acfebf341aab81c266817204aa5\">4SIGHT Connect Support</a>.</p>\n<h1 id=\"4sight-status-codes\">4SIGHT Status Codes</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>Request Succeeded</td>\n</tr>\n<tr>\n<td>207</td>\n<td>Multi Status</td>\n<td>Multiple operations have happened, and the status for each operation can be found in the body of the response</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>Wrong information was provided</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>Provided credentials were incorrect, or account doesn't have access</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>Resource doesn’t exist</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server</td>\n<td>Server-side errors</td>\n</tr>\n<tr>\n<td>502</td>\n<td>bad gateway</td>\n<td>Something wrong happened on the server</td>\n</tr>\n<tr>\n<td>504</td>\n<td>Timeout</td>\n<td>Server is not getting a response from upstream</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"4sight-connect-data-message-elements\">4SIGHT Connect Data Message Elements</h1>\n<blockquote>\n<p>The table below provides the format, description, format, and character length of the message elements available in the 4SIGHT Connect Data product. </p>\n<blockquote>\n<p>Link to the <a href=\"https://assaabloy.box.com/s/ryhjkeah3ko664zzxjx1nsyks6x505xs\">4SIGHT Connect Data Message Elements</a>.</p>\n</blockquote>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Message Element</th>\n<th>Description</th>\n<th>Format</th>\n<th>Char Length</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>site_id</td>\n<td>Unique Header Value represents the tenant ID.</td>\n<td>String</td>\n<td>No Limit</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Unique Header Value represents the shipment ID.</td>\n<td>String</td>\n<td>24</td>\n</tr>\n<tr>\n<td>dock_id</td>\n<td>Unique Header Value represents the dock ID. Dock ID can be retrieve using get docks rest API</td>\n<td>String</td>\n<td>24</td>\n</tr>\n<tr>\n<td>appointment_no</td>\n<td>Appointment # associated to a shipment.No Appointment generates a system  generated number starting with NA.</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>shipment_status</td>\n<td>Shipment Status for a shipment. Values are : scheduled, arrived, turnedaway, departed, deleted</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>reference_no</td>\n<td>Represents a unique identifier like a PO</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>schedule_date_time</td>\n<td>Schedule Date and time 2020-01-09T11:56:14.998Z.Time needs to in UTC format</td>\n<td>String</td>\n<td>No Limit</td>\n</tr>\n<tr>\n<td>carrier_company</td>\n<td>Carrier Company on the shipment associated to the schedule</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>trailer_no</td>\n<td>Trailer# associated on the schedule/shipment</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>Duration associated on the schedule/shipment. Handles up to 90 days in minutes (129600 minutes)Integer values in minutes. Minimum: 15 Maximum: 129600</td>\n<td>6</td>\n<td></td>\n</tr>\n<tr>\n<td>ship_to</td>\n<td>Ship To associated on the schedule/shipment</td>\n<td>String</td>\n<td>100</td>\n</tr>\n<tr>\n<td>ship_from</td>\n<td>Ship From associated on the schedule/shipment</td>\n<td>String</td>\n<td>100</td>\n</tr>\n<tr>\n<td>dock</td>\n<td>Dock associated on the schedule/shipment. If other is entered other_location is required</td>\n<td>String</td>\n<td>5</td>\n</tr>\n<tr>\n<td>dock_location</td>\n<td>Required if Other is selected in Dock for schedule/shipment</td>\n<td>String</td>\n<td>No Limit</td>\n</tr>\n<tr>\n<td>shipment_type</td>\n<td>Shipment Type associated on the schedule/shipment. Values: inbound AND outbound</td>\n<td>String</td>\n<td>8</td>\n</tr>\n<tr>\n<td>load_type</td>\n<td>Load Type associated on the schedule/shipment. Values:drop AND live</td>\n<td>String</td>\n<td>4</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Quantity associated on the schedule/shipment</td>\n<td>String</td>\n<td>10</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Description associated on the schedule/shipment</td>\n<td>String</td>\n<td>255</td>\n</tr>\n<tr>\n<td>ship_date</td>\n<td>Ship Date associated on the schedule/shipment 2021-02-10T19:50:00.000Z (UTC format)</td>\n<td>String</td>\n<td>No Limit</td>\n</tr>\n<tr>\n<td>comments</td>\n<td>Comments.associated on the schedule/shipment</td>\n<td>String</td>\n<td>255</td>\n</tr>\n<tr>\n<td>email_address</td>\n<td>Email Address associated on the schedule. Could be one to many addresses associated with a schedule. Ex. <a href=\"mailto:test@email.com\">test@email.com</a>, <a href=\"mailto:read@email.com\">read@email.com</a></td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>driver_name</td>\n<td>Driver Name on the shipment</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>driver_cell_no</td>\n<td>Driver cell # on the shipment.Format example 14695125122</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>driver_signature</td>\n<td>Driver signature on the shipment Link to the stored image file<a href=\"http://digitalgate.4sightconnect.net/tenantID/apptNo/drsignature.png\">http://digitalgate.4sightconnect.net/tenantID/apptNo/drsignature.png</a></td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>equipment_type</td>\n<td>Equipment type for a shipment. Values options, Bobtail, Trailer, Container, Flatbed AND Other Value</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>driver_signature</td>\n<td>Driver signature on the shipment Link to the stored image file<a href=\"http://digitalgate.4sightconnect.net/tenantID/apptNo/drsignature.png\">http://digitalgate.4sightconnect.net/tenantID/apptNo/drsignature.png</a></td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>arrived_by</td>\n<td>Arrived by on the shipment List for an Arrived status record.</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>arrival_start_date_time</td>\n<td>Time the driver starts the arrival process on the Driver Control or 4SIGHT Connect app using the Mobile Xpress features. 2020-01-09T11:56:14.998Z (UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>arrival_date_time</td>\n<td>Date and time the shipment arrived2020-01-09T11:56:14.998Z (UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>departed_by</td>\n<td>Departed by on the shipment List for an Departed status record.</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>departed_start_date_time</td>\n<td>Time the driver starts the departure process on the Driver Control or 4SIGHT Connect app using the Mobile Xpress features. 2020-01-09T11:56:14.998Z (UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>departed_date_time</td>\n<td>Date and time the shipment departed 2020-01-09T11:56:14.998Z (UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>shipment_alert</td>\n<td>For scheduled appointments for a shipment. Provides the following values. Early, Late and On Time</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>turned_away_by</td>\n<td>Turned Away by on the shipment List for an Turned Away status record.</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>turned_away_date_time</td>\n<td>Date and time the shipment turned away 2020-01-09T11:56:14.998Z (UTC Format).</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>turned_away_reason</td>\n<td>Reason the shipment was turned away. The values are: At Capacity, Impatient Driver, Too Early, Damaged, Late Appointment, No Appointment, Dirty, Other</td>\n<td>String</td>\n<td>16</td>\n</tr>\n<tr>\n<td>deleted_by</td>\n<td>Who deleted a shipment record given it a shipment status of Deleted.</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>deleted_date_time</td>\n<td>Date and time the shipment was deleted 2020-01-09T11:56:14.998Z.(UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>deleted_comments</td>\n<td>Reason the shipment was deleted.</td>\n<td>String</td>\n<td>16</td>\n</tr>\n<tr>\n<td>is_pre_check_in</td>\n<td>Provides if an appointment is preCheckIn or not. Pre checkIn is based on a user checking in with the 4SIGHT Connect App Mobile Xpress Features. True/False</td>\n<td>Boolean</td>\n<td></td>\n</tr>\n<tr>\n<td>date_from</td>\n<td>date in the present 2020-01-09T11:56:14.998Z.(UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>date_to</td>\n<td>date in the past 2020-01-09T11:56:14.998Z.(UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date in the present 2020-01-09T11:56:14.998Z.(UTC Format)</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>available_times</td>\n<td>Times available for a dock. In 60 minute time HH:MM-HH:MM</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>The number of data you are going to send. Maximum is 100, Example: 10</td>\n<td>String</td>\n<td>No limit</td>\n</tr>\n<tr>\n<td>title</td>\n<td>For the send push notification API. Title of Notification popup/windows displayed on the users phone when they received the notification.</td>\n<td>String</td>\n<td>50</td>\n</tr>\n<tr>\n<td>body</td>\n<td>For the send push notification API. Body of Notification popup/windows displayed on the users phone when they received the notification.</td>\n<td>String</td>\n<td>500</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"mqtt-delivering-data-in-real-time\">MQTT Delivering Data In Real-time</h1>\n<blockquote>\n<p>MQTT (Message Queuing Telemetry Transport) is an open OASIS and ISO standard (ISO/IEC 20922) lightweight, publish-subscribe network protocol that transports messages between devices.</p>\n</blockquote>\n<blockquote>\n<h1 id=\"mqtt-connection-details\">MQTT Connection Details</h1>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Message Element</th>\n<th>Description</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MQTT Client Name</td>\n<td>This field is a free form and can be a descriptive representation of the application.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>MQTT ID</td>\n<td>This field must be the API token shown in the API user credentials</td>\n<td>String</td>\n</tr>\n<tr>\n<td>Protocol</td>\n<td>The application uses MQTT/TLS protocol.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>URL</td>\n<td><a href=\"https://data.4sightconnect.net/\">https://data.4sightconnect.net/</a>.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>SSL/TLS Certificate Type</td>\n<td>CA Signed Server Certificate</td>\n<td>String</td>\n</tr>\n<tr>\n<td>User Name/Password</td>\n<td>API User Name for 4SIGHT Connect Data. This can be found in the data application at <a href=\"https://dg.4sightconnect.net/data#/\">https://dg.4sightconnect.net/data#/</a>.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>Qos</td>\n<td>0, 1 or 2 Message Dependent</td>\n<td>String</td>\n</tr>\n<tr>\n<td>Subscribe/Publish  Topic</td>\n<td>This field must be the API token that can be found in the data application at <a href=\"https://dg.4sightconnect.net/data#/\">https://dg.4sightconnect.net/data#/</a>.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<h1 id=\"digital-dock-digital-max-events\">Digital Dock &amp; Digital Max Events</h1>\n</blockquote>\n<blockquote>\n<h1 id=\"subscribe-events\">Subscribe Events</h1>\n</blockquote>\n<ul>\n<li>Override Request (ORR)</li>\n<li>Cancel Override Request (COR)</li>\n<li>Trailer Presence SensorStatus (TPS)</li>\n<li>Restraint Status (RE)</li>\n<li>Override Status (ORS)</li>\n<li>Door Open Status (DOR)</li>\n<li>Door Closed Status (DOC)</li>\n<li>Leveler Stored Status (LVL)</li>\n<li>Post Release TPS Status (TPP)</li>\n<li>Diagnostic Code(DAG)</li>\n<li>Total Restraint Cycles (TRC)</li>\n<li>Total Leveler Cycles (TLC)</li>\n<li>Total Door Cycles (TDC)</li>\n<li>Total Override Cycles (OCC)</li>\n<li>Trailer Turn Time (TTT)</li>\n<li>Trailer Load Time (TLT)</li>\n<li>Gateway Status (GWS)</li>\n</ul>\n<blockquote>\n<h2 id=\"override-request\">Override Request</h2>\n<blockquote>\n<ul>\n<li>**Event Name: ORR<ul>\n<li>Event Description: Dock position has issued a request to enter override mode due to a missed engagement with a trailer or loss of engagement with a trailer. Request from Dock for Override Authorization. A value of 1 = Request for Override Authorization. This will turn a check mark at the HMI that will allow the user to enable override without knowing the override password.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     “DockID”:”EUID”,\n     “SiteID”:”AccountName”,\n     “DockName”:”Dock Name”,\n     “Event”: [\n       {\n          “name”:”ORR”,\n          “value”:”0/1”,\n          “timestamp”:”2020-10-19T20: 15: 18.730000Z”\n       }\n     ]\n   }\n</code></pre><blockquote>\n<h2 id=\"cancel-override-request\">Cancel Override Request</h2>\n<blockquote>\n<ul>\n<li>**Event Name: COR<ul>\n<li>Event Description: Dock position has issued a cancel override request from the user of the HMI..\nA value of 1 = Cancel Override.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n    “DockID”:”EUID”,\n    “SiteID”:”AccountName”,\n    “DockName”:”Dock Name”,\n    “Event”: [\n         {\n             “name”:”COR”,\n             “value”:”0/1”,\n             “timestamp”:”2020-10-19T20: 15: 18.730000Z”\n         }\n     ]\n   }\n</code></pre><blockquote>\n<h2 id=\"trailer-presence-sensor-status\">Trailer Presence Sensor Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TPS<ul>\n<li>Event Description: The sensor detects when a trailer arrives or departs from a dock position. A value of 1 = Trailer present\nA value of 1 = Cancel Override.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     “DockID”:”EUID”,\n     “SiteID”:”AccountName”,\n     “DockName”:”Dock Name”,\n     “Event”:[\n          {\n              “name”:”TPS”,\n              “value”:”0/1”,\n              “timestamp”:”2020-10-19T20:15:18.730000Z”\n          }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"restraint-status\">Restraint Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: CORER<ul>\n<li>Event Description: Reports if the restraint is engaged or home. A value of 1 = Restraint Engaged. A value of 0 = Restraint Released. (It may still be in Override Mode)</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      “DockID”:”EUID”,\n      “SiteID”:”AccountName”,\n      “DockName”:”Dock Name”,\n      “Event”:[\n           {\n               “name”:”RE”,\n               “value”:”0/1”,\n               “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n        ]\n   }\n</code></pre><blockquote>\n<h2 id=\"override-status\">Override Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: ORS<ul>\n<li>Event Description: Reports if the restraint is in Override mode. A value of 1 = Restraint Override. A value of 0 = Restraint not in override mode. (It may still be engaged)</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      “DockID”:”EUID”,\n      “SiteID”:”AccountName”,\n      “DockName”:”Dock Name”,\n      “Event”:[\n           {\n               “name”:”ORS”,\n               “value”:”0/1”,\n               “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n   }\n</code></pre><blockquote>\n<h2 id=\"door-open-status\">Door Open Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: DOR<ul>\n<li>Event Description: Reports if the Door Open sensor is ON indicating Door in OPEN position. A value of 1 = Door Open. A value of 0 = Door Not Open.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      “DockID”:”EUID”,\n      “SiteID”:”AccountName”,\n      “DockName”:”Dock Name”,\n      “Event”:[\n               {\n                        “name”:”DOR”,\n                        “value”:”0/1”,\n                        “timestamp”:”2020-10-19T20:15:18.730000Z”\n               }\n      ]\n  }\n</code></pre><blockquote>\n<h2 id=\"door-closed-status\">Door Closed Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: DOC<ul>\n<li>Event Description: Event Description: Reports if the Door Closed sensor is ON indicating Door in CLOSED position. A value of 1 = Door Closed. A value of 0 = Door Not Closed.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”,\n       “DockName”:”Dock Name”,\n       “Event”:[\n            {\n                 “name”:”DOC”,\n                 “value”:”0/1”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"leveler-status\">Leveler Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: LVL<ul>\n<li>Event Description: Reports the status of the Leveler Stored Sensor. A value of 1 = Leveler is stored. A value of 0 = Leveler is not stored.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”,\n       “DockName”:”Dock Name”,\n       “Event”:[\n            {\n                 “name”:”LVL”,\n                 “value”:”0/1”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"post-release-tps-status\">Post Release TPS Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TPP<ul>\n<li>Event Description: Reports if a Trailer is detected at the dock position after the restraint has transitioned from Restraint Engage to Restraint Release. A value of 1 = Trailer Present, Restraint has been Released. A value of 0 = No trailer present or trailer present but Restraint has not been released.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”,\n       “DockName”:”Dock Name”,\n       “Event”:[\n            {\n                 “name”:”TPP”,\n                 “value”:”0/1”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"diagnostic-code\">Diagnostic Code</h2>\n<blockquote>\n<ul>\n<li>**Event Name: DAG<ul>\n<li>Event Description: Diagnostic Error Code associated with Digital Master Control Panel. Please consult user manual for definition of code.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”DAG”,\n                 “value”:”varies”, \n                 “timestamp”:”2020-10-19T20:15:18.730000Z” }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"total-restraint-cycles\">Total Restraint Cycles</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TRC<ul>\n<li>Event Description: Total Restraint Cycles stored in PLC.  One cycle = Restraint Engaged -&gt; Restraint Released. This value is for the life of the product.  This is an integer value</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”TRC”,\n                 “value”:”varies”, \n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"total-leveler-cycles\">Total Leveler Cycles</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TLC<ul>\n<li>Event Description: Total Leveler Cycles stored in PLC.  One cycle = Running the Leveler pump motor. This value is for the life of the product.  This is an integer value.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”TLC”,\n                 “value”:”varies”, \n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"total-door-cycles\">Total Door Cycles</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TDC<ul>\n<li>Event Description: Total Door Cycles stored in PLC. One cycle = Door Open-Door Close. This value is for the life of the product. This is an integer value.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”,\n       “DockName”:”Dock Name”,\n       “Event”:[\n            {\n                 “name”:”TDC”,\n                 “value”:”varies”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"total-override-cycles\">Total Override Cycles</h2>\n<blockquote>\n<ul>\n<li>**Event Name: OCC<ul>\n<li>Event Description: Total Override Count stored in PLC. One count = Restraint Override = True. This value is for the life of the product. This is an integer value</li>\n</ul>\n</li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<blockquote>\n<ul>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”EUID”,\n       “SiteID”:”AccountName”,\n       “DockName”:”Dock Name”,\n       “Event”:[\n            {\n                 “name”:”OCC”,\n                 “value”:”varies”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h2 id=\"trailer-turn-time\">Trailer Turn Time</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TTT<ul>\n<li>Event Description: This event gives the detail about the total time that trailer was present at the dock. Its difference between TPS=1 to TPS=0.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"Account\": \"DVSITE\",\n      \"DockID\": \"0004A30B0027AD86\",\n      \"SiteID\": \"\",\n      \"DockName\": \"Daryl Desk\",\n      \"Event\": [\n          {\n              \"name\": \"Trailer Turn Time\",\n              \"value\": \"00:01:56\",\n              \"timestamp\": \"2021-09-11T17:28:57.914Z\"\n          }\n      ]\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"trailer-load-time\">Trailer Load Time</h2>\n<blockquote>\n<ul>\n<li>**Event Name: TLT<ul>\n<li>Event Description: This event gives the detail about the total load time that restraint was engaged with trailer. Its difference between RE=1 to RE=0.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"Account\": \"DVSITE\",\n      \"DockID\": \"0004A30B0027AD86\",\n      \"SiteID\": \"\",\n      \"DockName\": \"Daryl Desk\",\n      \"Event\": [\n          {\n              \"name\": \"Trailer Load Time\",\n              \"value\": \"00:01:16\",\n              \"timestamp\": \"2021-09-11T17:28:30.562Z\"\n          }\n      ]\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"gateway-status\">Gateway Status</h2>\n<blockquote>\n<ul>\n<li>**Event Name: GWS<ul>\n<li>Event Description: Event Description: Status of site gateway. The gateway has a 1 minute keep alive that is used to trigger this event. Values are Connected and Disconnect. An event will trigger when the gateways connection status changes.</li>\n</ul>\n</li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<blockquote>\n<ul>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “Account”:”Name”,\n       “GatewayEUI”:” 123456FFFF”,\n       “GatewayName”:”Gateway Name”,\n       “Event”:[\n            {\n                 “name”:”GWS”,\n                 “value”:”Connected/Disconnected”,\n                 “timestamp”:”2020-10-19T20:15:18.730000Z”\n            }\n       ]\n  }\n</code></pre><blockquote>\n<h1 id=\"publish-events\">Publish Events</h1>\n</blockquote>\n<ul>\n<li>Override Password (OPW)</li>\n<li>Operator Password (UPW)</li>\n<li>Supervisor Password (SPW)</li>\n<li>Override Authorization (OA)</li>\n<li>Play Back</li>\n</ul>\n<blockquote>\n<h2 id=\"override-password\">Override Password</h2>\n<blockquote>\n<ul>\n<li>**Event Name: OPW<ul>\n<li>Event Description: Password to enable Override of the Restraint at the Dock Position. The value must be between 1111 –4444 with no single digit being &lt;1 or &gt;4. ie 1544 is not allowed.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”Dock EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”OPW”,\n                 “value”:”111\",\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"operator-password\">Operator Password</h2>\n<blockquote>\n<ul>\n<li>**Event Name: UPW<ul>\n<li>Event Description: HMI User Password. Allows the screen to be unlocked from screen saver and basic operation of the HMI. The value must be between 1111 –4444 with no single digit being &lt;1 or &gt;4. ie 1544 is not allowed.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”Dock EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”UPW”,\n                 “value”:”1111”,\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"supervisor-password\">Supervisor Password</h2>\n<blockquote>\n<ul>\n<li>**Event Name: SPW<ul>\n<li>Event Description: HMI Supervisor Password. Allows the screen to be unlocked from screen saver and complete operation of the HMI. The value must be between 1111 –4444 with no single digit being &lt;1 or &gt;4. ie 1544 is not allowed.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”Dock EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”SPW”,\n                 “value”:”1111”,\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"override-authorization\">Override Authorization</h2>\n<blockquote>\n<ul>\n<li>**Event Name: OA<ul>\n<li>Event Description: Remote authorizationof Restraint Override. This will defeat the need for the password locally.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:”Dock EUID”,\n       “SiteID”:”AccountName”, \n       “DockName”:”Dock Name”, \n       “Event”:[\n            {\n                 “name”:”OA”,\n                 “value”:”1”,\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h2 id=\"play-back\">Play Back</h2>\n<blockquote>\n<ul>\n<li>**Event Name: Play<ul>\n<li>Event Description: Publishes a maximum of 7 days of historical messages thru the MQTT Broker Subscribe Event. It play all events for all Docks in the Account (Time should be in UTC format).</li>\n</ul>\n</li>\n<li><strong>Payload:</strong></li>\n</ul>\n</blockquote>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n       “DockID”:””,\n       “SiteID”:””, \n       “DockName”:””, \n       “Event”:[\n            {\n                 “name”:”PLAY”,\n                 “value”:”2021-7-14T13:00:00Z”,\n            }\n       ] \n  }\n</code></pre><blockquote>\n<h1 id=\"digital-gate-digital-max-events\">Digital Gate &amp; Digital Max Events</h1>\n</blockquote>\n<blockquote>\n<h1 id=\"mqtt-subscribe-events\">MQTT Subscribe Events</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Access</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Read Only</td>\n<td>Shipments</td>\n</tr>\n</tbody>\n</table>\n</div></blockquote>\n<blockquote>\n<h2 id=\"scheduled-event\">Scheduled Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Scheduled Shipments.<ul>\n<li>shipment_status : SCHEDULED</li>\n<li>Value is an array of information for the scheduled shipment. It should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n   \"site_id\": \"4Front Sales\",\n   \"event\": \"SCHEDULED\",\n   \"data\": [\n       {\n           \"appointment_no\": \"VJ566\",\n           \"schedule_date_time\": \"2021-04-12T21:30:00.000Z\",\n           \"shipment_status\": \"scheduled\",\n           \"duration\": 60,\n           \"dock_id\": \"60522c8f504af125bcda48f6\",\n           \"dock_location\": \"ME DVS\",\n           \"shipment_type\": \"inbound\",\n           \"load_type\": \"live\",\n           \"reference_no\": \"REF1035\",\n           \"carrier_company\": \"CARR\",\n           \"quantity\": \"QTY\",\n           \"description\": \"Description\",\n           \"trailer_no\": \"TRl#\",\n           \"ship_date\": \"2021-04-12T19:50:00.000Z\",\n           \"ship_to\": \"DD\",\n           \"ship_from\": \"FF\",\n           \"comment\": \"Test for Arrive\"\n       }\n    ]    \n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"update-event\">Update Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Update Shipment.<ul>\n<li>shipment_status : SCHEDULED, ARRIVED, TURN AWAY, DEPARTED, DELETED</li>\n<li>Value is information for the updated shipment. It should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"site_name\": \"kbdev\",\n      \"group_id\": \"\",\n      \"event\": \"UPDATED\",\n      \"channel\": \"shipments\",\n      \"data\": {\n          \"_id\": \"6074d360a33dae02ac284d93\",\n          \"appointment_no\": \"APT12A\",\n          \"shipment_status\": \"scheduled\",\n          \"location\": \"Dock 2\",\n          \"reference_no\": \"RER4643\",\n          \"carrier_company\": \"4FRONT\",\n          \"description\": \"Test Description--MQTT\",\n          \"comment\": \"This is MQQTT update testing.\",\n          \"dock_name\": \"Dock 2\",\n          \"dock_id\": \"60522c8f504af125bcda48f2\",\n          \"updatedAt\": \"2021-04-12T23:11:24.000Z\",\n          \"updated_by\": \"test-user\"\n       }\n   }\n</code></pre></li>\n</ul>\n</blockquote>\n<h2 id=\"pre-check-in-event\">Pre Check-in Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Pre Check-in Shipment Status.<ul>\n<li>shipment_status : SCHEDULED, PRE_CHECK_INin value is true</li>\n<li>Value is information for the updated shipment. It should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong>\n<code>  {      \"site_id\": \"kbdev\",      \"site_name\": \"kbdev\",      \"group_id\": \"\",      \"event\": \"PRE_CHECK_IN\",      \"channel\": \"shipments\",      \"data\": {          \"_id\": \"606dd65b99b09b1ba5da9700\",          \"appointment_no\": \"NA4642A0\",          \"shipment_status\": \"scheduled\",          \"is_pre_check_in\": true,          \"duration\": 15,          \"dock_id\": \"604f7a4959d3275e4a567781\",          \"trailer_no\": \"1234\",          \"carrier_company\": \"Demo\",          \"pre_check_in_changed_fields\": [              {                 \"_id\": \"606dd65b99b09b1ba5da9705\",                 \"key\": \"carrier_company\",                 \"label\": \"Carrier/Company\",                 \"new_value\": \"Demo\",                 \"old_value\": \"\"              },              {                  \"_id\": \"606dd65b99b09b1ba5da9704\",                  \"key\": \"trailer_no\",                  \"label\": \"Trailer #\",                  \"new_value\": \"1234\",                  \"old_value\": \"\"               },                   {                  \"_id\": \"606dd65b99b09b1ba5da9703\",                  \"key\": \"reference_no\",                  \"label\": \"Reference #\",                  \"new_value\": \"Qwe\",                  \"old_value\": \"\"               }            ],           \"driver_cell\": \"+14699000000\",           \"driver_name\": \"Vijay Mahale\",           \"equipment_type\": \"FLATBED\",           \"pre_check_in_date_time\": \"2021-04-07T15:57:15.666Z\",           \"pre_check_in_location\": {               \"_id\": \"606dd65b99b09b1ba5da9702\",               \"latitude\": 28.57566754700036,               \"longitude\": 77.43450172820444,               \"eta\": 120           },           \"reference_no\": \"Qwe\",           \"location\": \"No Location\",           \"is_pre_check_in_expired\": false,           \"pre_check_in_expiry_date_time\": \"2021-04-08T15:57:15.666Z\",           \"qr_code_url\": \"https://api.qrserver.com/v1/create-qr-code/?size=150x150&amp;data=NA4642A0\",           \"appt_creation_type\": \"NO APPT\"     } }  </code></li>\n</ul>\n</blockquote>\n<h2 id=\"arrived-event\">Arrived Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Arrive Shipment Status.<ul>\n<li>shipment_status : ARRIVED</li>\n<li>Value is information for the updated shipment. It \n  should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"site_id\": \"kbdev\",\n    \"site_name\": \"kbdev\",\n    \"group_id\": \"\",\n    \"event\": \"ARRIVED\",\n    \"channel\": \"shipments\",\n    \"data\": {\n        \"_id\": \"6074d360a33dae02ac284d93\",\n        \"appointment_no\": \"APT12A\",\n        \"shipment_status\": \"arrived\",\n        \"appt_creation_type\": \"UI\",\n        \"is_pre_check_in\": false,\n        \"is_express_arrival\": false,\n        \"is_express_departure\": false,\n        \"duration\": 60,\n        \"shipment_alert\": \"early\",\n        \"dock_id\": \"60522c8f504af125bcda48f2\",\n        \"location\": \"Dock 2\",\n        \"reference_no\": \"RER4643\",\n        \"carrier_company\": \"4FRONT\",\n        \"trailer_no\": \"TRL885\",\n        \"driver_name\": \"VIJAY\",\n        \"driver_cell\": \"+15125125122\",\n        \"equipment_type\": \"CONTAINER\",\n        \"arrival_start_date_time\": \"2021-04-12T23:38:42.963Z\",\n        \"arrival_date_time\": \"2021-04-12T23:39:29.841Z\",\n        \"arrived_by\": \"Driver Control - Vijay Mahale\"\n    }\n}\n</code></pre></li>\n</ul>\n</blockquote>\n<h2 id=\"departed-event\">Departed Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Depart Shipment Status.<ul>\n<li>shipment_status : DEPARTED</li>\n<li>Value is information for the updated shipment. It \n  should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"site_name\": \"kbdev\",\n     \"group_id\": \"\",\n     \"event\": \"DEPARTED\",\n     \"channel\": \"shipments\",\n     \"data\": {\n         \"_id\": \"6074d360a33dae02ac284d93\",\n         \"appointment_no\": \"APT12A\",\n         \"shipment_status\": \"departed\",\n         \"location\": \"Dock 2\",\n         \"reference_no\": \"RER4643\",\n         \"carrier_company\": \"4FRONT\",\n         \"trailer_no\": \"TRL885\",\n         \"driver_name\": \"VIJAY\",\n         \"driver_cell\": \"+15125125123\",\n         \"departure_signature_data_url\": \"https://dgtest.4sightconnect.net/data/shipments/driver-signature/6074d360a33dae02ac284d93\",\n         \"departure_date_time\": \"2021-04-13T12:14:23.940Z\",\n         \"departed_by\": \"Driver Control - Vijay Mahale\"\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n<h2 id=\"turned-away-event\">Turned Away Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Turned Away Shipment Status.<ul>\n<li>shipment_status : TURNED_AWAY</li>\n<li>Value is information for the updated shipment. It \n  should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"site_name\": \"kbdev\",\n     \"group_id\": \"\",\n     \"event\": \"TURNED_AWAY\",\n     \"channel\": \"shipments\",\n     \"data\": {\n         \"_id\": \"6074d360a33dae02ac284d93\",\n         \"appointment_no\": \"APT12A\",\n         \"shipment_status\": \"turnedaway\",\n         \"reference_no\": \"RER4643\",\n         \"carrier_company\": \"4FRONT\",\n         \"trailer_no\": \"TRL885\",\n         \"driver_name\": \"VIJAY\",\n         \"driver_cell\": \"+15125125122\",\n         \"arrival_date_time\": \"2021-04-12T23:39:29.841Z\",\n         \"turned_away_date_time\": \"2021-04-13T12:09:37.052Z\",\n         \"turned_away_by\": \"test-user\",\n         \"turned_away_reasons\": \"Damaged,Dirty,Late Appointment\"\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"deleted-event\">Deleted Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Delete Shipment Status.<ul>\n<li>shipment_status : DELETED</li>\n<li>Value is information for the updated shipment. It \n  should show only changes to the shipment and not all the fields.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n    \"site_id\": \"kbdev\",\n    \"site_name\": \"kbdev\",\n    \"group_id\": \"\",\n    \"event\": \"DELETED\",\n    \"channel\": \"shipments\",\n    \"data\": {\n        \"_id\": \"607541aca33dae02ac2851d5\",\n        \"appointment_no\": \"S413202110\",\n        \"shipment_status\": \"deleted\",\n        \"deleted_date_time\": \"2021-04-13T12:16:55.971Z\",\n        \"schedule_date_time\": \"2021-04-13T17:01:00.005Z\",\n        \"deleted_by\": \"test-user\",\n        \"deleted_comments\": \"This is a MQTT delete appt testing....\"\n    }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"total-schedule-count-event\">Total Schedule Count Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request for total the number of scheduled appointments for a site. <ul>\n<li>shipment_status : SCHEDULE </li>\n<li>Value is for the life of the product.  This is an integer value.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"site_name\": \"kbdev\",\n     \"group_id\": \"\",\n     \"event\": \"SCHEDULE\",\n     \"channel\": \"shipments\",\n     \"data\": {\n         \"shipment_status\": \"deleted\",\n         \"value\": 8\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"total-no-appointment-count-event\">Total No Appointment Count Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request for Total number of no appointments for a site.<ul>\n<li>shipment_status : ARRIVE</li>\n<li>Value is for the life of the product. This is an integer value.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"site_name\": \"kbdev\",\n     \"group_id\": \"\",\n     \"event\": \"ARRIVE\",\n     \"channel\": \"shipments\",\n     \"data\": {\n         \"shipment_status\": \"arrived\",\n         \"value\": 2925\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<h1 id=\"mqtt-publish-events\">MQTT Publish Events</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Access</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Write Only</td>\n<td>Shipment</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<h2 id=\"scheduled-event-1\">Scheduled Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Schedule Shipment.<ul>\n<li>shipment_status : SCHEDULE</li>\n<li>Value is information for the scheduled shipment. It should show only changes to the shipment and not all the fields</li>\n</ul>\n</li>\n<li><strong>Payload:</strong>\n <code>   {       \"site_id\": \"kbdev\",       \"site_name\": \"kbdev\",       \"group_id\": \"\",       \"event\": \"SCHEDULE\",       \"channel\": \"shipments\",       \"data\": {           \"appointment_no\": \"VJ66\",           \"schedule_date_time\": \"2021-04-08T23:20:00.000Z\",           \"shipment_status\": \"scheduled\",           \"duration\": 20,           \"dock_id\": \"60522c8f504af125bcda48f9\",           \"dock_location\": \"ME DVS\",           \"shipment_type\": \"inbound\",           \"load_type\": \"live\",           \"reference_no\": \"REF1035\",           \"carrier_company\": \"CARR\",           \"quantity\": \"QTY\",           \"description\": \"Description\",           \"trailer_no\": \"TRl#\",           \"ship_date\": \"2021-02-10T19:50:00.000Z\",           \"ship_to\": \"DD\",           \"ship_from\": \"FF\",           \"comment\": \"Deepthi for Arrive\",           \"email_address\": \"vijaykumar.mahale@4frontes.com\"       }     }  </code></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"update-event-1\">Update Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Update Shipment Status. <ul>\n<li>shipment_status : SCHEDULE, ARRIVE, TURN AWAY</li>\n<li>Value is information that can be updated on a shipment.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"site_name\": \"kbdev\",\n      \"group_id\": \"\",\n      \"event\": \"UPDATE\",\n      \"channel\": \"shipments\",\n      \"data\": {\n          \"id\": \"606c8cc89a0a297743874fcf\",\n          \"appointment_no\": \"MQ07\",\n          \"schedule_date_time\": \"2021-04-06T20:00:00.000Z\",\n          \"shipment_status\": \"scheduled\",\n          \"duration\": 60,\n          \"dock_id\": \"60522c8f504af125bcda4904\",\n          \"shipment_type\": \"outbound\",\n          \"load_type\": \"drop\",\n          \"reference_no\": \"R\",\n          \"carrier_company\": \"CARRPUB55\",\n          \"quantity\": \"PUB\",\n          \"description\": \"Publish Testing\",\n          \"trailer_no\": \"TRl#\",\n          \"ship_date\": \"2021-02-10T19:50:00.000Z\",\n          \"ship_to\": \"Publish Testing\",\n          \"ship_from\": \"Publish Testing\",\n          \"comment\": \"Publish Testing\",\n          \"email_address\": \"vijaykumar.mahale@assaabloy.com\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"depart\">Depart</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Depart a shipment. <ul>\n<li>shipment_status : DEPART</li>\n<li>Value is information that can be used to depart a shipment.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"4Front Sales\",\n     \"group_id\": \"Group Name\",\n     \"channel\": \"shipments\",\n     \"event\": \"DEPART\",\n     \"data\": {\n         \"id\": \"606b1159fd823656d0502197\",\n         \"driver_signature\": \"data:image/png;base64,iVBORw0KGgo==\",\n         \"departure_start_date_time\": \"2020-04-05T22:49:27.984Z\"\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"arrived-event-1\">Arrived Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Arrive a shipment.<ul>\n<li>shipment_status : ARRIVE</li>\n<li>Value is information that can be used to arrive a shipment.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"4Front Sales\",\n     \"group_id\": \"Group Name\",\n     \"channel\": \"shipments\",\n     \"event\": \"ARRIVE\",\n     \"data\": {\n         \"id\": \"606b84f09a0a297743874a3d\",\n         \"arrival_start_date_time\": \"2020-04-05T23:46:27.809Z\",\n         \"trailer_no\": \"trl\",\n         \"driver_name\": \"VJ\",\n         \"driver_cell\": \"+15125125126\",\n         \"equipment_type\": \"CONTAINER\",\n         \"reference_no\": \"test\",\n         \"carrier_company\": \"CARR\"\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"no-touch-depart\">No Touch Depart</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Depart a shipment for no touch access departure.<ul>\n<li>shipment_status : ARRIVE</li>\n<li>Value is information that can be used to authorize a no touch depart a shipment.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"group_id\": \"Group Name\",\n     \"channel\": \"shipments\",\n     \"event\": \"ARRIVE\",\n     \"data\": {\n         \"id\": \"606dfdfd3f9a4a20ed77cf33\"\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"turned-away-event-1\">Turned Away Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Turn Away a shipment.<ul>\n<li>shipment_status : TURN AWAY</li>\n<li>Value is information that can be used to turn away a shipment.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"4Front Sales\",\n     \"group_id\": \"Group Name\",\n     \"channel\": \"shipments\",\n     \"event\": \"TURN AWAY\",\n     \"data\": {\n         \"id\": \"606dfdfd3f9a4a20ed77cf33\",\n         \"reasons\": [\n             \"Damaged\",\n             \"Dirty\",\n             \"Too Early\"\n         ]\n     }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"deleted-event-1\">Deleted Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Delete Shipment Status. <ul>\n<li>shipment_status : DELETE</li>\n<li>Value is information that can be used to delete a shipment</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n     \"site_id\": \"kbdev\",\n     \"group_id\": \"Group Name\",\n     \"channel\": \"shipments\",\n     \"event\": \"DELETE\",\n     \"data\": {\n         \"id\": \"606df08f99b09b1ba5daa14f\",\n         \"comments\": \"bf dfhfghf ghfgh fgh gfhg\"\n     }\n }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h1 id=\"yard-events\">Yard Events</h1>\n</blockquote>\n<blockquote>\n<h1 id=\"mqtt-subscribe-events-2\">MQTT Subscribe Events</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Access</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n</tbody>\n</table>\n</div></blockquote>\n<blockquote>\n<h2 id=\"location-event\">Location Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Location message from Tag. Transmitted on movement of tag or heartbeat time frame. <ul>\n<li>Value is information that can be used to locate and inventory the associated asset to the Tag.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"end-to-end\",\n      \"group_id\": \"\",\n      \"event\": {\n          \"name\": \"LOCATION\",\n          \"x\": \"32.94222002737216\",\n          \"y\": \"-96.91712098372382\",\n          \"timestamp\": \"2022-02-24T14:49:43.837Z\",\n          \"direction\": \"45\",\n          \"speed\": 0,\n          \"account\": \"YardENT1\",\n          \"tag_id\": \"70B3D57050002D67\",\n          \"tag_qr\": \"GPS-000007\",\n          \"site_id\": \"\",\n          \"battery\": \"4300\",\n          \"asset\": \"620ffac62dbe65cd37f8d96c\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"allocate-event\">Allocate Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Tag allocated to trailer at check in point.<ul>\n<li>Value is information that represents tag and trailer match.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"end-to-end\",\n      \"group_id\": \"\",\n      \"name\": {\n          \"event\": \"ALLOCATED\",\n          \"appointment_no\": \"APT24FEB2\",\n          \"tag_id\": \"\",\n          \"asset_id\": \"62179d206da885e6b1e5e6a5\",\n          \"trailer_no\": \"TRl877\",\n          \"carrier_id\": \"4FRONT\",\n          \"timestamp\": \"2022-02-24T14:58:40.825Z\"\n      }\n  } \n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"unallocated-event\">Unallocated Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Tag put back into inventory.<ul>\n<li>Tag is now in population that can be allocated to new trailer</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"620a8cf5764acf211b3665b5\",\n      \"group_id\": \"\",\n      \"event\": {\n          \"name\": \"UNALLOCATED\",\n          \"appointment_no\": \"GPS-000005\",\n          \"tag_id\": \"\",\n          \"asset_id\": \"621019f62dbe65cd37f8e93f\",\n          \"trailer_no\": \"GPS-000005\",\n          \"carrier_id\": \"GPS-000005\",\n          \"timestamp\": \"2022-02-24T14:59:35.088Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"tasked-event\">Tasked Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates.<ul>\n<li>Task has been created/updated or deleted in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"end-to-end\",\n      \"group_id\": \"\",\n      \"event\": {\n          \"name\": \"TASK\",\n          \"task_id\": \"62179d886da885e6b1e5e72f\",\n          \"task_type\": \"MOVE\",\n          \"status\": \"Assigned\",\n          \"assignee_id\": \"6213424c2dbe65cd37f938b3\",\n          \"asset_id\": \"62179d206da885e6b1e5e6a5\",\n          \"point_a\": \", \",\n          \"point_b\": \"32.941887148022495, -96.91820420998141\",\n          \"timestamp\": \"2022-02-24T15:00:24.176Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"status-event\">Status Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Assignee status updates.<ul>\n<li>Assignee Status</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": { \n          \"name\":\"ASTATUS\", \n          \"assignee_id\": \"Unique ID\", \n          \"Available\":\"True/False\", \n          \"_date_time\": \"2020-04- 05T23:46:27.809Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"tag-event\">tag Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Alert based on Tag Status</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": { \n          \"name\":\"TAG\", \n          \"tag_id\": \"Unique ID\", \n          \"status\":\"Collection: Battery Warning, Battery Critical, GeoFence, LocationChange\",\n          \"_date_time\": \"2020-04- 05T23:46:27.809Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<h1 id=\"mqtt-publish-events-2\">MQTT Publish Events</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Access</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n</tbody>\n</table>\n</div><blockquote>\n<h2 id=\"allocate-event-1\">Allocate Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Assignee status updates.<ul>\n<li>Assignee Status</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": { \n          \"Name\":\"ALLOCATE\", \n          \"appointment_no\": \"VJ66\", \n          \"tag_id\": \"0004A30B002325AF\", \n          \"trailer_no\": \"trl\", \n          \"carrier_id\":\"Carrier Company\", \n          \"_date_time\": \"2020-04- 05T23:46:27.809Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"unallocated-event-1\">Unallocated Event</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Request from Shipment for Delete Shipment Status. <ul>\n<li>shipment_status : DELETE</li>\n<li>Value is information that can be used to delete a shipment</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": { \n          \"Name\":\"UNALLOCATE\", \n          \"appointment_no\": \"VJ66\", \n          \"tag_id\": \"0004A30B002325AF\", \n          \"asset_id\":\"asset_id\", \n          \"trailer_no\": \"trl\", \n          \"carrier_id\":\"Carrier Company\", \n          \"_date_time\": \"2020-04- 05T23:46:27.809Z\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"task-create\">Task Create</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates. <ul>\n<li>Task has been created/updated in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": {\n          \"name\": \"TaskCreate\",\n          \"asset_id\": \"620ca79ab28b88de6e63afd8\",\n          \"to_location_id\": \"62101c1f2dbe65cd37f8ebc2\"\n          \"priority\": true\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"change-priority\">Change Priority</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates. <ul>\n<li>Task priotity has been updated in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": {\n          \"name\": \"TaskPriority\",\n          \"task_id\": \"6217cf5e3c74f8e86a4f0921\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"task-complete\">Task Complete</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates. <ul>\n<li>Task has been completed in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": {\n          \"name\": \"TaskComplete\",\n          \"task_id\": \"6217df6327729a638061fe60\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"task-delete\">Task Delete</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates. <ul>\n<li>Task has been deleted in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": {\n          \"name\": \"TaskDelete\",\n          \"task_id\": \"620fd36caf58fa0e263ccb61\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<blockquote>\n<h2 id=\"task-release\">Task Release</h2>\n<blockquote>\n<ul>\n<li><strong>Description:</strong> Task status updates. <ul>\n<li>Task has been release in system.</li>\n</ul>\n</li>\n<li><strong>Payload:</strong><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  {\n      \"site_id\": \"kbdev\",\n      \"group_id\": \"Group Name\",\n      \"event\": {\n          \"name\": \"TaskRelease\",\n          \"task_id\": \"6217cf5e3c74f8e86a4f0921\"\n      }\n  }\n</code></pre></li>\n</ul>\n</blockquote>\n</blockquote>\n<h1 id=\"4sight-connect-data-restful-apis\">4SIGHT Connect Data RESTful API's</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Retreive Token</td>\n<td><strong>POST</strong> auth token</td>\n<td>username, password</td>\n</tr>\n<tr>\n<td>Create Shipments</td>\n<td><strong>POST</strong> 1 to 100 schedules at one time in our system</td>\n<td>appointment_no, schedule_date_time, shipment_status, duration, dock, dock_location (if other in dock)</td>\n</tr>\n<tr>\n<td>Get Shipments</td>\n<td><strong>GET</strong> schedules from our system</td>\n<td>none</td>\n</tr>\n<tr>\n<td>Update Shipments</td>\n<td><strong>PATCH</strong> updates on a shipment to our system</td>\n<td>appointment_no</td>\n</tr>\n<tr>\n<td>Get Docks</td>\n<td><strong>GET</strong> docks configured in our system</td>\n<td>none</td>\n</tr>\n<tr>\n<td>Available Docks</td>\n<td><strong>GET</strong> available docks in our system</td>\n<td>none</td>\n</tr>\n<tr>\n<td>Send Push Notifications</td>\n<td><strong>POST</strong> push notification to drivers with mobile app</td>\n<td>driver_cell, title, message</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"4SIGHT Status Codes","slug":"4sight-status-codes"},{"content":"4SIGHT Connect Data Message Elements","slug":"4sight-connect-data-message-elements"},{"content":"MQTT Delivering Data In Real-time","slug":"mqtt-delivering-data-in-real-time"},{"content":"MQTT Connection Details","slug":"mqtt-connection-details"},{"content":"Digital Dock & Digital Max Events","slug":"digital-dock-digital-max-events"},{"content":"Subscribe Events","slug":"subscribe-events"},{"content":"Publish Events","slug":"publish-events"},{"content":"Digital Gate & Digital Max Events","slug":"digital-gate-digital-max-events"},{"content":"MQTT Subscribe Events","slug":"mqtt-subscribe-events"},{"content":"MQTT Publish Events","slug":"mqtt-publish-events"},{"content":"Yard Events","slug":"yard-events"},{"content":"MQTT Subscribe Events","slug":"mqtt-subscribe-events-2"},{"content":"MQTT Publish Events","slug":"mqtt-publish-events-2"},{"content":"4SIGHT Connect Data RESTful API's","slug":"4sight-connect-data-restful-apis"}],"owner":"14999099","collectionId":"af2a4f0b-f261-466f-a73e-fa47a7244bbd","publishedId":"TzJpifWH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-14T17:27:25.000Z"},"item":[{"name":"Create Bulk Shipment","id":"e681c7b2-8803-4685-bd4b-01f9fb19739d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"shipments\":[\n      {\n         \"appointment_no\":\"\",\n         \"schedule_date_time\":\"2021-03-03T22:11:00.000Z\",\n         \"shipment_status\":\"scheduled\",\n         \"duration\":60,\n         \"dock\":\"other\",\n         \"dock_location\":\"drop lot\",\n         \"shipment_type\":\"inbound\",\n         \"location\":\"Drop Lot\",\n         \"load_type\":\"live\",\n         \"reference_no\":\"REF1035\",\n         \"carrier_company\":\"CARR\",\n         \"quantity\":\"QTY\",\n         \"description\":\"Description\",\n         \"trailer_no\":\"TRl#\",\n         \"ship_date\":\"2021-02-10T19:50:00.000Z\",\n         \"ship_to\":\"DD\",\n         \"ship_from\":\"FF\",\n         \"comment\":\"Comments\",\n         \"email_address\":\"APR@APR.com\"\n      },\n      {\n         \"appointment_no\":\"\",\n         \"schedule_date_time\":\"2021-03-03T22:11:00.000Z\",\n         \"shipment_status\":\"scheduled\",\n         \"duration\":60,\n         \"dock\":\"other\",\n         \"dock_location\":\"drop lot\",\n         \"shipment_type\":\"inbound\",\n         \"location\":\"Drop Lot\",\n         \"load_type\":\"live\",\n         \"reference_no\":\"REF1035\",\n         \"carrier_company\":\"CARR\",\n         \"quantity\":\"QTY\",\n         \"description\":\"Description\",\n         \"trailer_no\":\"TRl#\",\n         \"ship_date\":\"2021-02-10T19:50:00.000Z\",\n         \"ship_to\":\"DD\",\n         \"ship_from\":\"FF\",\n         \"comment\":\"Comments\",\n         \"email_address\":\"APR@APR.com\"\n      }\n      \n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/shipments/create","description":"<p>This API is useful to create the shipments( one to 100). On successful shipment creation system will return the appointment #, time and unique id for each shipment/appointment created in the digital gate. Use unique Id from the response for all future orations on that shipment(arrival,update,depart etc).\nYou can use the Retrieve Token API to get the token to execute this API.</p>\n","urlObject":{"path":["data","shipments","create"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e681c7b2-8803-4685-bd4b-01f9fb19739d"},{"name":"Update Tag Location","id":"79b245fa-5820-46bf-bca7-0a883dc62915","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"x\": 12.979873356664001, \n    \"y\": 77.74812071314274,\n    \"status_date_time\": \"2022-02-10T14:56:37.5860000Z\",\n    \"direction\": \"180\",\n    \"speed\": \"20\",\n    \"account\": \"0063f859-8b55-478e-b4f1-0b97fc75fb15\",\n    \"tag_id\": \"70B3D570500010FA\",\n    \"tag_qr\": \"shunt\",\n    \"site_id\": \"\",\n    \"battery\": \"4500\",\n    \"rssi\": \"-100\",\n    \"snr\": \"9\"\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/tag/location/update","description":"<p>This API is useful to create the shipments( one to 100). On successful shipment creation system will return the appointment #, time and unique id for each shipment/appointment created in the digital gate. Use unique Id from the response for all future orations on that shipment(arrival,update,depart etc).\nYou can use the Retrieve Token API to get the token to execute this API.</p>\n","urlObject":{"path":["tag","location","update"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"79b245fa-5820-46bf-bca7-0a883dc62915"},{"name":"Available Docks","id":"3c92cdeb-90db-4763-b267-697037e9476f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{data_base_url}}/data/dock-slots?date_from=2020-04-01T05%3A00%3A00.000Z&date_to=2021-03-02T05%3A59%3A59.999Z","description":"<p>This API is useful to retrieve the available docks by passing the date range. If no date range provided then default result would be from today's date. You can use the Retrieve Token API to get the token to execute this API.\nPast date is not allowed in date range parameters, date range must be in present or in the future.</p>\n","urlObject":{"path":["data","dock-slots"],"host":["{{data_base_url}}"],"query":[{"key":"date_from","value":"2020-04-01T05%3A00%3A00.000Z"},{"key":"date_to","value":"2021-03-02T05%3A59%3A59.999Z"}],"variable":[]}},"response":[],"_postman_id":"3c92cdeb-90db-4763-b267-697037e9476f"},{"name":"Push Notification","id":"9aad6c74-5534-4361-8e13-1d48fbbbe04b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"driver_cell\":\"+15125125128\",\n    \"title\":\"Test\",\n    \"body\":\"Testing for online postman document\"\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/notification/send","description":"<p>This API is useful to sends a push notification to a 4SIGHT Connect Hub Mobile Xpress user. Can only send one push notification at a time. If the provided cell number do not have 4SIGHT Connect Hub application installed or no access then the push notification will fail and you will get an error message.</p>\n","urlObject":{"path":["data","notification","send"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9aad6c74-5534-4361-8e13-1d48fbbbe04b"},{"name":"Retrieve Token","id":"456577aa-561c-4d32-bc28-986674bafa67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\":\"testuser\",\n    \"password\":\"test@password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/token/get","description":"<p>This API is useful to retrieve authorization token to call the Data REST APIs by passing the credentials as a basic authentication.</p>\n","urlObject":{"path":["data","token","get"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"456577aa-561c-4d32-bc28-986674bafa67"},{"name":"Delete Shipment","id":"3a33e3e5-1276-4ea3-846d-fa3bcc0c6dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"username\":\"testuser\",\n    \"password\":\"test@password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/shipments/delete","description":"<p>This API is useful to retrieve authorization token to call the Data REST APIs by passing the credentials as a basic authentication.</p>\n","urlObject":{"path":["data","shipments","delete"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a33e3e5-1276-4ea3-846d-fa3bcc0c6dd0"},{"name":"Update Shipment","id":"f1867a75-fe65-4feb-b9a0-3b75b6306d62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"607edb38578ea561ee771289\",\r\n    \"dock_id\": \"606cf17fac52c52a353ea32c\",\r\n    \"appointment_no\": \"RTT8FF\",\r\n    \"schedule_date_time\": \"2021-04-20T23:00:00.000Z\",\r\n    \"duration\": 60,\r\n    \r\n    \"quantity\": \"45\",\r\n    \"description\": \"PATCH API Testing\",\r\n    \"trailer_no\": \"PATCH#\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/shipments/update","description":"<p>This API is useful to update the shipment, you must provide the shipment unique Id retrieved from Create Shipment API. You can update one shipment at a time. </p>\n<p>Below is the required key for this Patch operation, all other keys are optional.</p>\n<p>id</p>\n<p>You can use the Retrieve Token API to get the token to execute this API.</p>\n","urlObject":{"path":["data","shipments","update"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1867a75-fe65-4feb-b9a0-3b75b6306d62"},{"name":"Get Docks","id":"4f744437-11d1-4a6d-8a22-55eece04df00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/docks/get?format=json","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["docks","get"],"host":["{{data_base_url}}"],"query":[{"key":"format","value":"json"}],"variable":[]}},"response":[],"_postman_id":"4f744437-11d1-4a6d-8a22-55eece04df00"},{"name":"Get Tasks","id":"6eddccd2-a1f4-4ac6-96ec-c8e1288d6ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/tasks?date_from=2021-12-02T06:00:00.000Z&date_to=2022-02-24T05:59:59.999Z","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["data","tasks"],"host":["{{data_base_url}}"],"query":[{"key":"date_from","value":"2021-12-02T06:00:00.000Z"},{"key":"date_to","value":"2022-02-24T05:59:59.999Z"}],"variable":[]}},"response":[],"_postman_id":"6eddccd2-a1f4-4ac6-96ec-c8e1288d6ba7"},{"name":"Post Tasks","id":"2f4bc3f6-bc2d-4695-82e6-c4d5b59ea44c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tasks\": [\r\n        {\r\n            \"inventory_id\": \"61c96a671e711b48f9ce3448\",\r\n            \"to_location_id\": \"61c0c9b243d7e2341fd63af9\"\r\n        },\r\n         {\r\n            \"inventory_id\": \"61c7b8c1e4eb971d838a153c\",\r\n            \"to_location_id\": \"61c0c9b243d7e2341fd63afb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/tasks/import","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["data","tasks","import"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f4bc3f6-bc2d-4695-82e6-c4d5b59ea44c"},{"name":"Get Spotters","id":"473a3026-a8d4-4698-8aaf-70e14f8cc486","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/spotters","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["spotters"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"473a3026-a8d4-4698-8aaf-70e14f8cc486"},{"name":"Get Allocated","id":"00c4ec8c-d838-4969-91a9-c736a50e86a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{data_base_url}}/data/allocated/get","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["data","allocated","get"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00c4ec8c-d838-4969-91a9-c736a50e86a5"},{"name":"Get Unallocated","id":"89fdc349-7896-4509-9966-e710544328dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{data_base_url}}/data/unallocated/get","description":"<p>This API is useful to retrieve the docks data which includes dock name and dock database unique id, the same id can be used in other APIs like create shipment, update etc. DockID and SiteID are physical dock data values.</p>\n","urlObject":{"path":["data","unallocated","get"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89fdc349-7896-4509-9966-e710544328dd"},{"name":"Get Shipments","id":"d9c94625-6ab4-47a2-8d89-72e28cc77f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/shipments/get","description":"<p>This API is useful to retrieve the shipments by passing the date range. If no date range provided then default result would be from today's date. You can use the Retrieve Token API to get the token to execute this API.</p>\n","urlObject":{"path":["data","shipments","get"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9c94625-6ab4-47a2-8d89-72e28cc77f49"},{"name":"Get Gateway List","id":"165a452f-1ff4-4ff6-a792-83709caa605e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{data_api_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"count\": 11,\r\n    \"gateways\": [\r\n        {\r\n            \"gatewayName\": \"Pharr Entrematic Multitech AEP GW\",\r\n            \"gatewayEUI\": \"000800FFFE4A9123\"\r\n        },\r\n        {\r\n            \"gatewayName\": \"Entrematic Multitech AEP GW 2\",\r\n            \"gatewayEUI\": \"000800FFFE4A9122\"\r\n        }\r\n    ]\r\n}"},"url":"{{data_base_url}}/gateways/get","description":"<p>This API will give you the list all the Gateways associated with the\nlogged in users account. Details would have gateway name, EUI id and\nstatus with unique ID.</p>\n","urlObject":{"path":["gateways","get"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"165a452f-1ff4-4ff6-a792-83709caa605e"},{"name":"Get Gateway Status","id":"e045543d-1b4d-465f-bb16-01e9c3732859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n    \"status\": \"Gateway Connected\",\r\n\r\n    \"timestamp\": \"2021-02-02T03:02:37.5874691Z\"\r\n\r\n}"},"url":"{{data_base_url}}/data/gatewaystatus/{gatewayEUI}?format=json","description":"<p>Please pass the GatewayEUI to get the gateway status using gatewaysttaus API.</p>\n","urlObject":{"path":["data","gatewaystatus","{gatewayEUI}"],"host":["{{data_base_url}}"],"query":[{"key":"format","value":"json"}],"variable":[]}},"response":[],"_postman_id":"e045543d-1b4d-465f-bb16-01e9c3732859"},{"name":"Replay Events","id":"6b063db2-1178-4ecd-84d1-a9b69eba6bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{data_base_url}}/data/replay/2021-10-07T14:00:00.000Z","urlObject":{"path":["data","replay","2021-10-07T14:00:00.000Z"],"host":["{{data_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b063db2-1178-4ecd-84d1-a9b69eba6bd0"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"4ec3c5a6-4d67-4b03-8c22-d4f7d53e5337","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b4e7efa-2ce3-467f-bcf6-b5047712128c","type":"text/javascript","exec":[""]}}]}