GET API/JobTrak/GetRouteExceptions?routeType={routeType}&startDate={startDate}&endDate={endDate}

Get list of route exceptions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
routeType

The route type ("D" = Domestic, "T" = Trade)

string

Required

startDate

The start date range

date

Required

endDate

The end date range

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Waste Route Exceptions

Collection of WasteRouteActivityEvent
NameDescriptionTypeAdditional information
WasteRouteName

The route identifier

string

None.

LoginID

The Login ID of the driver/vehicle

string

None.

EventType

The event type (1 = Delay, 2 = Exception)

WasteRouteActivityEventType

None.

EventDescription

The description of the event

string

None.

Timestamp

Date and time the event was recorded

date

None.

PropertyName

Name of the property the event was recorded on

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WasteRouteName": "sample string 1",
    "LoginID": "sample string 2",
    "EventType": 1,
    "EventDescription": "sample string 3",
    "Timestamp": "2025-04-29T18:05:01.8682993+01:00",
    "PropertyName": "sample string 5"
  },
  {
    "WasteRouteName": "sample string 1",
    "LoginID": "sample string 2",
    "EventType": 1,
    "EventDescription": "sample string 3",
    "Timestamp": "2025-04-29T18:05:01.8682993+01:00",
    "PropertyName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWasteRouteActivityEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WasteRouteActivityEvent>
    <WasteRouteName>sample string 1</WasteRouteName>
    <LoginID>sample string 2</LoginID>
    <EventType>Delay</EventType>
    <EventDescription>sample string 3</EventDescription>
    <Timestamp>2025-04-29T18:05:01.8682993+01:00</Timestamp>
    <PropertyName>sample string 5</PropertyName>
  </WasteRouteActivityEvent>
  <WasteRouteActivityEvent>
    <WasteRouteName>sample string 1</WasteRouteName>
    <LoginID>sample string 2</LoginID>
    <EventType>Delay</EventType>
    <EventDescription>sample string 3</EventDescription>
    <Timestamp>2025-04-29T18:05:01.8682993+01:00</Timestamp>
    <PropertyName>sample string 5</PropertyName>
  </WasteRouteActivityEvent>
</ArrayOfWasteRouteActivityEvent>