19.0 Get Yard Events

19.1 Request Data

Back to Index
Required Information
Name Description
action showstats
operation yardlog
format xml
Optional Information
target Query for a specific asset and only return information for that asset.
If specified a reqtype (request type) must be specified as well.
reqtype Flag to identify the key being used to query. Acceptable values:

  • tag Key is a Zonar RFID tag number. In version 2 a type must also be specified.
  • exsid Key is the external system id.
  • vin Key is the Vehicle Identification Number (VIN).
  • dbid Key is the internal id number. This is the most reliable key to use.
  • fleet Key is the asset fleet number. In version 2 a type must also be specified.
type When using reqtype of tag or fleet this must also be specified in version 2. In version 1.x type Standard (0) is assumed.
start A Unix epoch time stamp. Only return yard state events later than this time. May be combined with end.
end A Unix epoch time stamp. Only return yard state events earlier than this time. May be combined with start.
location Location to filter with. Text. If provided only events for assets assigned to that location will be returned.