Publishing Events
Envase Connect allows a wide variety of events to be published. The specific details of the structure of each Event, including required properties and accepted property values, can be found here: Events
Below is an example of a Gate “Arrived” Event:
{
"type": "sourcesystem.gate.arrived",
"payload": {
"location": {
"name": "your yard id",
"streetAddress1": "1 Fine Arts Dr",
"city": "St. Louis",
"state": "MO",
"zipCode": "63110"
},
"truck": {
"licensePlate": "E54D23",
"axles": 6,
"length": 10,
"weight": 1200,
"width": 10
},
"container": {
"length": 10,
"weight": 1200,
"width": 10,
"containerNumber": "333212"
},
"gateType": "IN",
"chassis": {
"length": 10,
"width": 10,
"axles": 6,
"licensePlate": "123ABC"
},
"operator": "yard-operator-id"
}
}
The GMS will be subscribed to these events and run logic such as equipment check in/out or verify the booking number given is a valid booking.