openapi: 3.0.1 info: title: ' Telemetry API' description: "
\nA collection of RESTful JSON-based data operations used to retrieve vehicle and account data from your telematics solution. NOTE: when using OAUTH2.0, add \"Bearer \" before your token in the Authorization header.\n
" version: '1.0' servers: - url: https://temeda.azure-api.net/telemetry paths: /uoms: get: summary: 'Units of Measure ' description: Returns a list of all Units of Measure. operationId: 5a721091f504ba0ab89946f5 parameters: - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: Success content: application/json: example: - idUOM: 1 UOM_Description: Meters/sec UOM_Abbreviation: m/s - idUOM: 2 UOM_Description: mph UOM_Abbreviation: mph /assets/basic: get: summary: Assets (Basic) description: 'Gets all Assets including Device with a limited number of fields. Includes Odometer, Engine Hours, and Location information.' operationId: 5a721091f504ba0ab89946f6 parameters: - name: includeTempDevices in: query description: (Optional) Boolean switch for the option to return temporary devices. True = return temporary devices. False(default) = do not return temporary devices schema: enum: - false - true type: boolean default: false - name: createdOnStart in: query description: (Optional) DateTime field for filtering assets based off of the Temeda Created_On field schema: type: datetime - name: createdOnEnd in: query description: (Optional) DateTime field for filtering assets based off of the Temeda Created_On field schema: type: datetime - name: updatedOnStart in: query description: (Optional) DateTime field for filtering assets based off of the Temeda Updated_On field schema: type: datetime - name: updatedOnEnd in: query description: (Optional) DateTime field for filtering assets based off of the Temeda Updated_On field schema: type: datetime - name: Authorization in: header description: '** Authorization Token is required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 1865 Asset_Label: Truck-0002 Asset_Description: Joe's Truck EquipmentID: '0002' Year: 2011 Make: Chevrolet Model: Sierra Hier_ParentAccount_Name: 'ACME Ready Mix, Inc.' Hier_Level2_Name: Midwest Region Hier_Level3_Name: Chicago Hier_Level4_Name: Hier_Level5_Name: Hier_ParentAccount_Id: 1610 Hier_Level2_Id: 1611 Hier_Level3_Id: 1654 GPSInstallDate: '2016-02-07T00:00:00.0000000+00:00' Device: idDevice: 395 Serial_Number_Displayed: 106770-0002 Last_Location_Time: '2018-04-14T16:47:43.0000000+00:00' Last_Location_DateTime_Local: '2018-04-14T11:47:43.0000000+00:00' Latitude: 29.5362267 Longitude: -98.6888417 Device_Type: MC-3 Last_idLandmark: 8708 Last_Landmark_Name: Acme HQ Last_Nearby_House_Number: '123' Last_Nearby_Street: Maple Rd Last_Nearby_House_Number_and_Street: 123 Maple Rd Last_Nearby_Locality: San Antonio Last_Nearby_Region: TX Last_Nearby_Postal_Code: '78254' Last_Nearby_County: Bexar County Last_Nearby_isoCountryCode: US Estimated_GPS_Odometer: 181823.791119341 Estimated_Engine_Hours: 13221.9941666667 /assets: get: summary: Assets description: 'Gets all assets with all Asset fields, including Device and last GPS information.' operationId: 5a721091f504ba0ab89946f7 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 1807 idAsset_Type: 2 idDevice: 397 Asset_Label: Bear-0008 Asset_Description: Cement Mixer 123 Asset_TZ: Asset_DST: Created_By: 274 Created_On: '2015-11-09T10:11:03.3870000+00:00' Icon_Color: 7 Updated_By: 274 Updated_On: '2018-01-08T09:42:47.0600000+00:00' TZ_Index: 20 Make: '' Model: Year: Vin: LicensePlate: Line1 EquipmentID: GPSInstallDate: BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: HarnessType: '' BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: Installed_By: Installer_Updated_By: Installer_YellowIron: Installer_AntennaType: Installer_RelayUsed: VehicleClass: OdometerSource: G SpeedSource: G Device: idDevice: 397 idDevice_Type: 2 Last_idRaw_Data: 22267771 idCustomer: 56 idCarrier: Created_On: '2014-05-08T21:20:49.5830000+00:00' Serial_Nbr: 0002-1067700008 Last_Location_Time: '2018-01-15T15:59:37.0000000+00:00' Last_Communication: '2018-01-15T15:59:37.0000000+00:00' Last_Heading: 20 Last_Motion_Event: 3 Last_Motion_Time: '2018-01-15T15:59:31.0000000+00:00' In_Motion: false Serial_Number_Displayed: 106770-0008 GPS_Odometer_Offset: 0.0968459119766175 GPS_Odometer_Offset_Date: '2017-10-19T17:43:24.4570000+00:00' Last_GPS_Odometer: 82199.4109386457 Last_Engine_Odometer: Last_Engine_Time: 8865.42166666667 Last_Fuel_Efficiency: RTOS_Image_Version: '2015-02-01' Last_idEvent_Code: 4 Last_Nearby_Address: '6931 Leslie, San Antonio, TX 78254' Last_Landmark_Name: Last_RSSI: 0 Last_Satellites: 10 Last_GPS_Speed: 0 Last_Engine_Speed: 0 Last_Posted_Speed: Last_Engine_RPM: 775 Last_Coolant_Temp: 167 Last_Battery_Voltage: 13.464 Last_Battery_Percentage: 0 Bus_Type: 13-3 Wire Install VIN: '' Last_Total_Fuel_Used: Last_Total_Engine_Idle_Fuel: Last_Total_Engine_Idle_Time: Last_Altitude: 889.107611548556 Last_Fuel_Level_Percent_1: 5 Last_Fuel_Level_Percent_2: Last_Engine_Time_Offset: -683.3625 Last_Engine_Time_Offset_Date: '2018-01-08T09:42:47.0800000+00:00' Last_Engine_Running: true Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Motion Stop Latitude: 29.50433 Longitude: -98.704735 Last_Heading_Cardinal: N Last_Location_DateTime_Local: '2018-01-15T09:59:37.0000000+00:00' Last_Location_Time_Local: 9:59 AM CST Last_Location_Date_Local: '2018-01-15' Device_Type: MC-3 Days_Since_Start: 1347 Estimated_GPS_Odometer: 82199.5077845576 Estimated_Engine_Hours: 8182.05916666667 Last_Nearby_House_Number: '6931' Last_Nearby_Street: Leslie Last_Nearby_House_Number_and_Street: 6931 Leslie Last_Nearby_Locality: San Antonio Last_Nearby_Region: TX Last_Nearby_Postal_Code: '78254' Last_Nearby_County: Bexar County Last_Nearby_isoCountryCode: US Last_JBUS_Data: Is_Running: true EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true Alert_Count: 0 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/cement-pump-truck-yellow.png Asset_idImage: 99 Asset_idImageCustom: Dealership_Customer_Name: Customer_Customer_Name: Is_Running: true GroupListCSV: 'All Mobiles, Another group, Another Small Group, Apple Review Group' Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: Updated_By_UserName: Is_Dirty: false Driver: CurrentDriver: CurrentIdDriver: ELDAsset: FindNearestAssetDistance: Is_Valid_Install: '/assets/{id}': get: summary: Asset by ID description: 'Gets an Asset by ID (idAsset) and includes Device and Driver information. ' operationId: 5a721091f504ba0ab89946f8 parameters: - name: id in: path description: The unique identifier of the Asset (idAsset). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAsset: 47074 idAsset_Type: 2 idDevice: 51046 Asset_Label: ACME-0001 Asset_Description: '' Asset_TZ: '-5' Asset_DST: Created_By: 4210 Created_On: '2022-01-24T16:53:18.9670000+00:00' Icon_Color: 1 Updated_By: 274 Updated_On: '2023-06-09T14:20:06.4330000+00:00' TZ_Index: 20 Make: PETERBILT Model: PB337 Year: 2018 Vin: P01 V14 S0000000 LicensePlate: DAN 123 EquipmentID: '680001' GPSInstallDate: BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: Diesel ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: Unit installed in rear cabinet behind driver HarnessType: Widget BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: '2023-04-09T00:00:00.0000000+00:00' Installed_By: Installer_Updated_By: Installer_YellowIron: Installer_AntennaType: Installer_RelayUsed: VehicleClass: OdometerSource: E SpeedSource: G Primary_idAsset: EquipmentType: Widget EquipmentSubType: Semi TankCapacity_ml: 120 FuelEcon_City_kpl: 12 FuelEcon_Hwy_kpl: 16 Engine: MSRP: 35000 Style: 4-Door Double Cab 5.0-Foot Bed 4WD 4.0-Liter 6-Cyclinder 5-Speed Automatic Installer_PO: Cvdv GrossVehicleWeightRating: 4 Tons Installed_By_Name: Johnny @Smith InstallType: Data Cable GPS Installer_SelfVerify: false Installer_SelfAssesment: "Odometer at Install: 27,534.65 miles\nEngine Hours at Install: 1,811.4 hours\n" Installer_Vendor_Name: Harry's Device: idDevice: 51046 idDevice_Type: 16 Last_idRaw_Data: 54764377 idCustomer: 56 idCarrier: 3 Created_On: '2022-01-24T22:29:16.1670000+00:00' Serial_Nbr: 0016-1345620032 Last_Location_Time: '2023-06-08T17:12:20.0000000+00:00' Last_Communication: '2023-06-08T17:12:20.0000000+00:00' Last_Heading: 186 Configuration_Status: Last_Motion_Event: 3 Last_Motion_Time: '2023-06-08T17:11:23.0000000+00:00' In_Motion: false Carrier1: AT&T Direct IMEI: Order_Nbr: Serial_Number_Displayed: 134562-0032 GPS_Odometer_Offset: 0 GPS_Odometer_Offset_Date: '2023-06-09T14:20:06.8070000+00:00' Last_GPS_Odometer: 32436.28 Last_Engine_Odometer: 32436.28 Last_Engine_Time: 2239.59 Last_Fuel_Efficiency: 7.41 RTOS_Image_Version: Device_Notes: Item_Nbr: Last_idEvent_Code: 21 Last_Nearby_Address: '3061 Riverside Ave, Rialto, CA 92377' Last_Landmark_Name: Last_RSSI: 11 Last_Satellites: 0 Last_GPS_Speed: 0 Last_Engine_Speed: 0 Last_Posted_Speed: Last_Engine_RPM: 51 Last_Coolant_Temp: 88 Last_Battery_Voltage: 12.712 Last_Battery_Percentage: Bus_Type: 12-CAN500/J1939 VIN: 2NP2HJ7X2MM732478 Last_Total_Fuel_Used: 4364.39 Last_Total_Engine_Idle_Fuel: 1061.18 Last_Total_Engine_Idle_Time: 1403.2 ICCID: Last_Altitude: 0 Last_Fuel_Level_Percent_1: 86 Last_Fuel_Level_Percent_2: Last_Engine_Time_Offset: -0.4 Last_Engine_Time_Offset_Date: '2023-05-02T15:40:51.7000000+00:00' Last_Engine_Running: false Last_Battery_Temp: Last_Temp_Sensor1: Last_idLandmark: AssignedToidCustomer: DeviceModel: MC4 SIMNBR: idCustomer_Final: idDevice_Final: DeviceSwapType: idDealer_Swappable: First_Report_Date: '2022-01-24T22:30:10.0000000+00:00' Last_Event: Ignition Off Latitude: 34.0480193 Longitude: -117.3688525 Last_Heading_Cardinal: S Last_Location_DateTime_Local: '2023-06-08T12:12:20.0000000+00:00' Last_Location_Time_Local: 12:12 PM CDT Last_Location_Date_Local: '2023-06-08' Last_Communication_Local: '2023-06-08T12:12:20.0000000+00:00' Device_Type: MC-4 Days_Since_Start: 500 Estimated_GPS_Odometer: 32436.28 Estimated_Engine_Hours: 2239.19 Last_Nearby_House_Number: '3061' Last_Nearby_Street: Riverside Ave Last_Nearby_House_Number_and_Street: 3061 Riverside Ave Last_Nearby_Locality: Rialto Last_Nearby_Region: CA Last_Nearby_Postal_Code: '92377' Last_Nearby_County: San Bernardino County Last_Nearby_isoCountryCode: US Last_JBUS_Data: vin: NP2HJ7X2MM73247 Is_Running: false EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true CityStatePostal: 'Rialto,CA,92377' LatLong: '34.0480193,-117.3688525' Alert_Count: 2 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/truck-mack-red.png Asset_idImage: 343 Asset_idImageCustom: Hier_ParentAccount_Name: ACME Ready Mix Hier_Level2_Name: North America Region Hier_Level3_Name: USA Hier_Level4_Name: Iowas Hier_Level5_Name: Cedar Rapids Hier_ParentAccount_Id: 56 Hier_Level2_Id: 2920 Hier_Level3_Id: 2964 Hier_Level4_Id: 3279 Hier_Level5_Id: 3335 Is_Running: false GroupListCSV: Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: 5G Tower Admin Updated_By_UserName: John @Smith Driver: idDriver: 428 idCustomer: 56 idAddress: 4312 idImageCustomDriver: 100668 FirstName: Joe LastName: Driver EmailAddress: joedriver@temeda.com WorkPhone: '8024974916' CellPhone: 111-111-1111 Description: Title: test Dept: Gender: EmployeeID: DLNumber: '1234' DLState: Created_On: '2021-10-01T02:24:45.8330000+00:00' Created_By: 274 Updated_On: '2023-05-25T21:38:38.8170000+00:00' Updated_By: 274 Enabled: FuelCardNumber: IsRoutingAndDispatchEnabled: false idRoutingAndDispatchDriver: idUser: Address: idAddress: 4312 Address_Line1: Address_Line2: Address_Line3: Locality: Region: Postal_Code: isoCountryCode: idAddress_Type: Created_On: Created_By: Latitude: Longitude: Driver_Icon_Full_Path: images/library/custom_drivers/56_20220524_050743.jpeg?cache=1653412063631 FullName: Joe Driver AssignedAssets: AssignedAssetsList: Created_By_UserName: Updated_By_UserName: CurrentDriver: Joe Driver CurrentIdDriver: 428 FindNearestAssetDistance: Is_Valid_Install: Primary_Asset_Label: CustomData: HierarchyidCustomer: 3335 HierarchyLevel: 5 MaintDueCount: MaintOverdueCount: YearMakeModel: '2018,PETERBILT,PB337' Installer_Latitude: 37.785834 Installer_Longitude: -122.406417 /locations: get: summary: Locations description: Gets all Locations. operationId: 5a721091f504ba0ab89946f9 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idLandmark: 13594 idCustomer: 3000 idLandmark_Style: 15 Landmark_Category: 1 Created_On: '2018-05-02T14:56:09.3700000+00:00' Created_By: 3417 Landmark_Name: Location from Enterprise Landmark_Label: TG Airport Landmark_Type: Circle Landmark_House_Nbr: Arrivals - Terminal 5 Landmark_Address_Line1: Arrivals - Terminal 5 Landmark_Address_Line2: Landmark_City: Chicago Landmark_Region: IL Landmark_Postal_Code: '60666' Landmark_Country: US Landmark_Altitude: Landmark_Radius: 42 Start_Date: End_Date: Updated_By: 3417 Updated_On: '2018-05-02T18:49:19.3330000+00:00' IsActive: true Landmark_Location_Text: SRID=4326;POINT (-87.88745449999999 41.973148040566059) Latitude: 41.9731480405661 Longitude: -87.8874545 Location_Text: Landmark_Style: Airport Created_By_UserName: Updated_By_UserName: ELDLandmark: ExternalID: /devices/unassigned: get: summary: Devices (Unassigned) description: Gets all unassigned Devices (GPS devices not yet assigned to an Asset). operationId: 5a721091f504ba0ab89946fa parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idDevice: 1734 idDevice_Type: 2 Last_idRaw_Data: idCustomer: 56 idCarrier: 1 Created_On: '2017-06-13T16:44:41.9570000+00:00' Serial_Nbr: 0002-0001110000 Last_Location_Time: Last_Communication: Last_Heading: Last_Motion_Event: Last_Motion_Time: In_Motion: Serial_Number_Displayed: '0001110000' GPS_Odometer_Offset: 2318 GPS_Odometer_Offset_Date: '2018-01-10T02:42:00.2770000+00:00' Last_GPS_Odometer: Last_Engine_Odometer: Last_Engine_Time: Last_Fuel_Efficiency: RTOS_Image_Version: Last_idEvent_Code: Last_Nearby_Address: Last_Landmark_Name: Last_RSSI: Last_Satellites: Last_GPS_Speed: Last_Engine_Speed: Last_Posted_Speed: Last_Engine_RPM: Last_Coolant_Temp: Last_Battery_Voltage: Last_Battery_Percentage: Bus_Type: VIN: Last_Total_Fuel_Used: Last_Total_Engine_Idle_Fuel: Last_Total_Engine_Idle_Time: Last_Altitude: Last_Fuel_Level_Percent_1: Last_Fuel_Level_Percent_2: Last_Engine_Time_Offset: 1641600 Last_Engine_Time_Offset_Date: '2018-01-08T22:20:34.7630000+00:00' Last_Engine_Running: Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Latitude: Longitude: Last_Heading_Cardinal: '' Last_Location_DateTime_Local: Last_Location_Time_Local: Last_Location_Date_Local: Device_Type: MC-3 Days_Since_Start: 0 Estimated_GPS_Odometer: Estimated_Engine_Hours: 456 Last_Nearby_House_Number: Last_Nearby_Street: Last_Nearby_House_Number_and_Street: Last_Nearby_Locality: Last_Nearby_Region: Last_Nearby_Postal_Code: Last_Nearby_County: Last_Nearby_isoCountryCode: Last_JBUS_Data: Is_Running: EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true /zones: get: summary: Zones description: Gets all Zones. operationId: 5a721091f504ba0ab89946fb parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idLandmark: 8461 Landmark_Name: East Zone Landmark_Label: Big Zone Label2 Landmark_Category: 2 Landmark_House_Nbr: Landmark_Address_Line1: Landmark_City: Landmark_Region: Landmark_Country: Landmark_Type: Polygon Landmark_Style: Headquarters /drivers: get: summary: Drivers (Basic) description: Gets a simplified list of Drivers and the currently assigned Asset name. operationId: 5a721091f504ba0ab89946fc parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idDriver: 37 FullName: Sally Jones III EmailAddress: sally@temeda.com Dept: Marketing CellPhone: '5551234567' - idDriver: 39 FullName: John Smith EmailAddress: user@company.com AssignedAssetLabel: ACME-0001 Dept: '123123' CellPhone: '6305551111' /groups: get: summary: Groups description: Gets all Groups. operationId: 5a721091f504ba0ab89946fd parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - Assets: - 1798 - 1813 - 2285 - 3384 - 3492 Locations: idGroup: 4323 idCustomer: 56 Created_On: '2017-12-11T16:44:35.3730000+00:00' Created_By: 274 Group_Name: Passenger Cars Group_Description: '' Notification_Default: Deleted_Flag: Updated_By: Updated_On: Deleted_By: Deleted_On: IsTimeBased: false StartDate: EndDate: ProjectManager: ProjectManagerContactInfo: IsActive: Group_Name_With_Number_Of_Assets: Passenger Cars (5) Number_Of_Assets: 5 Number_Of_Users: 0 Number_Of_Locations: 0 /projects: get: summary: Projects description: Gets all Projects. operationId: 5a721091f504ba0ab89946fe parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - Assets: - 3492 - 2592 - 1798 - 1813 Locations: - 13485 idGroup: 4304 idCustomer: 56 Created_On: '2017-06-22T20:22:32.9930000+00:00' Created_By: 274 Group_Name: TeMeDa Project Group_Description: Working it Notification_Default: Deleted_Flag: Updated_By: 3291 Updated_On: '2017-08-23T19:06:11.3670000+00:00' Deleted_By: Deleted_On: IsTimeBased: true StartDate: '2015-05-01T00:00:00.0000000+00:00' EndDate: ProjectManager: Joe TeMeDa ProjectManagerContactInfo: IsActive: true Group_Name_With_Number_Of_Assets: TeMeDa Project (4) Number_Of_Assets: 4 Number_Of_Users: 2 Number_Of_Locations: 1 '/alertevents/{id}': get: summary: Alert Event by ID description: Gets an Alert Events by ID (idAlert_Event). operationId: 5a721091f504ba0ab89946ff parameters: - name: id in: path description: The unique ID of the Alert Event (idAlert_Event). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAlert_Event: 348350 idUser_Alert_Def: 4206 idAsset: 3384 idRaw_Data: 22258546 Alert_Text: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST.' Created_On: '2018-01-14T21:07:35.3170000+00:00' idLandmark: idAlert: 506 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) Alert for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST near 1000-1012 Walter Payton Memorial Highway, Oswego, IL traveling at 0 mph. Alert event: Harsh Braking' idMaintPlan: Alert_Type: 'Erratic Driving (Harsh Accel, Brake, Maneuver)' Event_Timestamp_Local: '2018-01-14T15:07:35.3170000+00:00' Asset_Label: Julie's Toyota Highlander idDevice: User_Alert_Defs_Alert_Name: Erratic Driving Alert! User_Alert_Defs_Severity_LevelName: idCustomer: 0 '/drivers/{id}': get: summary: Driver by ID description: Gets a Driver by ID (idDriver) and includes assigned asset data. operationId: 5a721091f504ba0ab8994700 parameters: - name: id in: path description: Unique ID (idDriver) required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idDriver: 123 idCustomer: 456 idAddress: idImageCustomDriver: 100000 FirstName: Fred LastName: Sanford EmailAddress: Fred.Sanford@example.com WorkPhone: CellPhone: Description: Title: Dept: Gender: EmployeeID: DLNumber: DLState: Created_On: '2018-10-25T16:19:31.2600000+00:00' Created_By: 111 Updated_On: '2018-11-05T21:55:23.9500000+00:00' Updated_By: 111 Enabled: Address: Driver_Icon_Full_Path: images/library/custom_drivers/12345.png FullName: Fred Sanford AssignedAssets: - idDriverAsset: 567 idDriver: 123 idAsset: 54321 DriverAssetStartDate: '2018-10-31T10:00:00.0000000+00:00' DriverAssetEndDate: Created_On: '2018-11-05T21:55:24.0830000+00:00' Created_By: 111 Updated_On: Updated_By: Asset_Label: F-350 1234 Driver_Icon_Full_Path: FullName: HomeAddress: AssignedAssets: AssignedAssetsList: idImageCustomDriver: AssignedAssetsList: F-350 1234 Created_By_UserName: John Smith Updated_By_UserName: John Smith ELDDriver: '/groups/{id}': get: summary: Group by ID description: Gets a Group for the specified ID (idGroup). operationId: 5a721091f504ba0ab8994701 parameters: - name: id in: path description: The unique identifier of the Group (idGroup). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idGroup: 4321 Created_On: '2017-12-05T20:30:00.5270000+00:00' Created_By: 274 Group_Name: Temeda Team Group_Description: '' Notification_Default: Updated_By: 274 Updated_On: '2018-01-16T20:28:03.6730000+00:00' idCustomer: 56 IsTimeBased: false StartDate: EndDate: ProjectManager: ProjectManagerContactInfo: IsActive: Active: Group_Name_With_Number_Of_Assets: Temeda Team (5) GroupLandmarkList: Locations: ListOfUserIds: ListOfAssetIds: - 1798 - 1813 - 2285 - 3384 - 3492 Created_By_UserName: John Smith Updated_By_UserName: John Smith '/projects/{id}': get: summary: Project by ID description: Gets a Project for the specified ID (idGroup). operationId: 5a721091f504ba0ab8994702 parameters: - name: id in: path description: The unique identifier of the Group (idGroup). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idGroup: 4304 Created_On: '2017-06-22T20:22:32.9930000+00:00' Created_By: 274 Group_Name: TeMeDa Project Group_Description: Working it Notification_Default: Updated_By: 3291 Updated_On: '2017-08-23T19:06:11.3670000+00:00' idCustomer: 56 IsTimeBased: true StartDate: '2015-05-01T00:00:00.0000000+00:00' EndDate: ProjectManager: Joe TeMeDa ProjectManagerContactInfo: IsActive: true Active: true Group_Name_With_Number_Of_Assets: TeMeDa Project (4) GroupLandmarkList: Locations: ListOfUserIds: ListOfAssetIds: - 3492 - 2592 - 1798 - 1813 Created_By_UserName: John Smith Updated_By_UserName: Jack Sanderson /users: get: summary: Users description: Gets all Users. No sensitive information. operationId: 5a721091f504ba0ab8994703 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idUser: 274 First_Name: John Last_Name: Smith Email_Address: user@bear.com idCustomerType: 1 Customer_Name: 'ACME Ready Mix, Inc.' CustomerType: Account UserRole: idUserRole: 1 Role_Label: Administrator SortOrder: 1 Last_Access: '2018-01-16T20:28:34.0330000+00:00' '/zones/{id}': get: summary: Zone by ID description: Gets a Zone by ID (idLandmark). operationId: 5a721091f504ba0ab8994704 parameters: - name: id in: path description: The unique ID of the Location (idLandmark). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idLandmark: 8461 idCustomer: 56 idLandmark_Style: 7 Landmark_Category: 2 Created_On: '2015-10-23T19:27:42.3830000+00:00' Created_By: 274 Landmark_Name: East Zone Landmark_Label: Big Zone Label2 Landmark_Type: Polygon Landmark_House_Nbr: Landmark_Address_Line1: Landmark_Address_Line2: Landmark_City: Landmark_Region: Landmark_Postal_Code: Landmark_Country: Landmark_Altitude: Landmark_Radius: Start_Date: End_Date: Updated_By: 274 Updated_On: '2017-12-20T19:29:32.8900000+00:00' Landmark_Location_Text: 'SRID=4326;POLYGON ((-81.23016357421875 24.274508749861877, -79.177093505859375 25.665046968936018, -80.128097534179688 31.430420824215691, -74.7509765625 35.371135022801013, -71.015625 40.547200234410489, -65.93994140625 44.863656305406138, -67.1044921875 47.472662868613419, -86.85791015625 49.1673386062911, -92.52685546875 48.44377831058803, -93.88916015625 29.649868677972304, -89.241943359375 28.314053058069589, -84.3695068359375 27.366889032381298, -81.23016357421875 24.274508749861877))' Latitude: Longitude: Location_Text: Landmark_Style: Created_By_UserName: John Smith Updated_By_UserName: John Smith ELDLandmark: /historytrail: get: summary: History Trail description: 'Gets telemetry data, events, and alerts for the specified date range for an Asset. ' operationId: 5a721091f504ba0ab8994705 parameters: - name: id in: query description: The unique ID of the Asset (idAsset). required: true schema: type: number - name: dateRange in: query description: Start Date and End Date comma separated in UTC. required: true schema: enum: - '1/15/2018 06:00 AM,1/15/2018 11:00 PM' type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idEvent_Code: 20 idDevice: 400 Event_Type: Ignition On idRaw_Data: 22283024 Event_Timestamp: '2018-01-16T13:34:29.0000000+00:00' Event_Timestamp_Local: 01/16/2018 7:34 AM CST Event_Date_Local: '2018-01-16' Event_Time_Local: 7:34 AM CST Latitude: 41.7344233 Longitude: -88.11632 Nearby_Address: '100 West Street, Naperville, IL' Last_Heading: 138 Last_Heading_Cardinal: SE Last_Speed: 0 Posted_Speed: Engine_Speed: Engine_RPM: Engine_Odometer: Coolant_Temp: GPS_Odometer: 59516300 In_Motion: false Alerts: - idAlert_Event: 348443 idUser_Alert_Def: 4224 idAsset: 1798 idRaw_Data: 22283024 Alert_Text: 'Dave''s Sequoia Ignition On or Engine Running detected on 01/16/2018 at 7:34 AM CST near 100 West Street, Naperville, IL.' Created_On: '2018-01-16T07:35:59.4230000+00:00' idLandmark: idAlert: 28 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: Dave's Sequoia - Ignition On or Engine Running detected on 01/16/2018 at 7:34 AM CST. idMaintPlan: Alert_Type: Ignition On/Engine Running Event_Timestamp_Local: Asset_Label: idDevice: User_Alert_Defs_Alert_Name: Dave Started his Car!! User_Alert_Defs_Severity_LevelName: idCustomer: 0 Total_Engine_Hours: 5702070 SensorEvent: CameraMediaEventIds: - idEvent_Code: 2 idDevice: 400 Event_Type: Motion Start idRaw_Data: 22283023 Event_Timestamp: '2018-01-16T13:34:53.0000000+00:00' Event_Timestamp_Local: 01/16/2018 7:34 AM CST Event_Date_Local: '2018-01-16' Event_Time_Local: 7:34 AM CST Latitude: 41.7344233 Longitude: -88.11632 Nearby_Address: '100 W Street, Naperville, IL' Last_Heading: 138 Last_Heading_Cardinal: SE Last_Speed: 0 Posted_Speed: Engine_Speed: Engine_RPM: Engine_Odometer: Coolant_Temp: GPS_Odometer: 59517000 In_Motion: true Alerts: Total_Engine_Hours: 5702094 SensorEvent: CameraMediaEventIds: - idEvent_Code: 3 idDevice: 400 Event_Type: In Motion idRaw_Data: 22283022 Event_Timestamp: '2018-01-16T13:34:59.0000000+00:00' Event_Timestamp_Local: 01/16/2018 7:34 AM CST Event_Date_Local: '2018-01-16' Event_Time_Local: 7:34 AM CST Latitude: 41.7344233 Longitude: -88.11632 Nearby_Address: '100 W Street, Naperville, IL' Last_Heading: 138 Last_Heading_Cardinal: SE Last_Speed: 0 Posted_Speed: Engine_Speed: Engine_RPM: Engine_Odometer: Coolant_Temp: GPS_Odometer: 59517000 In_Motion: true Alerts: Total_Engine_Hours: 5702100 SensorEvent: CameraMediaEventIds: - idEvent_Code: 4 idDevice: 400 Event_Type: Motion Stop idRaw_Data: 22283313 Event_Timestamp: '2018-01-16T13:53:46.0000000+00:00' Event_Timestamp_Local: 01/16/2018 7:53 AM CST Event_Date_Local: '2018-01-16' Event_Time_Local: 7:53 AM CST Latitude: 41.7095017 Longitude: -88.1906883 Nearby_Address: 'TeMeDa HQ / 2244 95th St, Naperville, IL' Last_Heading: 78 Last_Heading_Cardinal: E Last_Speed: 0 Posted_Speed: Engine_Speed: Engine_RPM: Engine_Odometer: Coolant_Temp: GPS_Odometer: 59527300 In_Motion: true Alerts: Total_Engine_Hours: 5703226 SensorEvent: CameraMediaEventIds: - idEvent_Code: 21 idDevice: 400 Event_Type: Ignition Off idRaw_Data: 22283315 Event_Timestamp: '2018-01-16T13:54:00.0000000+00:00' Event_Timestamp_Local: 01/16/2018 7:54 AM CST Event_Date_Local: '2018-01-16' Event_Time_Local: 7:54 AM CST Latitude: 41.7095017 Longitude: -88.1906883 Nearby_Address: 'TeMeDa HQ / 2244 95th St, Naperville, IL' Last_Heading: 78 Last_Heading_Cardinal: E Last_Speed: 0 Posted_Speed: Engine_Speed: Engine_RPM: Engine_Odometer: Coolant_Temp: GPS_Odometer: 59527300 In_Motion: true Alerts: Total_Engine_Hours: 5703226 SensorEvent: CameraMediaEventIds: /maintlogs: get: summary: Maintenance Logs description: Gets Maintenance Logs for all Assets for a given date range. operationId: 5a721091f504ba0ab8994706 parameters: - name: dateRange in: query description: 'A string with Start Date,End Date separated by a comma' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idMaintLog: 179 idCustomer: 56 idMaintPlan: 1000029 idAsset: 1813 ServiceInDate: '2018-01-08T00:00:00.0000000+00:00' ServiceDate: '2018-01-09T00:00:00.0000000+00:00' Odometer: 62144 EngineHours: 971 InvoiceNbr: A1232 WorkOrderNbr: WO123 PartsCost: 500 LaborCost: 250 LaborHours: 40 TotalAmount: TechnicianName: John Smith ServiceNotes: Created_On: '2018-01-09T14:55:07.5170000+00:00' Created_By: 274 Updated_On: '2018-01-09T15:17:37.5770000+00:00' Updated_By: 274 Iteration: IterationDate: Asset_Label: Dan's Altima "Silver" PlanName: Oil Change - Every 3000 miles or 90 days idMaintSchedule: ScheduleName: IterationLabel: miles Created_By_UserName: Updated_By_UserName: /reports: post: summary: Reports description: 'Any Report within the app can be run via the API. Get report data for the specified Report, Assets, Groups or Hierarchy, and a Date Range.' operationId: 5a721091f504ba0ab8994707 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string requestBody: description: "\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Report NamereporttypeParameters
Activity DetailactivitydetailAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Activity Detail (AEMP)activitydetailconstructionaempAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Activity Detail ConstructionactivitydetailconstructionAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Alert DetailalertdetailAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,alerts,shift
Asset Utilization By HourassetutilizationbyhourAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
Begin/End DaybeginenddayAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
Driver Safety SummarydriversafetysummaryAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Driver Safety DetaildriversafetydetailAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Assets and DriversassetsanddriversAsset, Group, Project, Hierarchy, or Companyreport,type,id
DTC - Diagnostic Trouble CodescheckenginedtcAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
Engine Hours by AssetenginehoursbyassetAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Engine Hours by DayenginehoursbydayAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Fleet SummaryfleetsummaryAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Fuel EfficiencyfueleconomyAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
Fuel UsagefuelusageAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
Idle ReportidlereportAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Idle By RPMidlerpmreportAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,rpm,shift
Job Site UtilizationjobsiteutilizationAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,location,shift
Job Site Utilization By WeekjobsiteutilizationbyweekAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,location,shift
Location DurationlocationdurationAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,location,durationHoursThreshold
Maintenance StatusmaintenancestatusAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id
ProximityproximityAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,location,shift,distance
Sensors (Binary)sensorsAsset, Group, Project, Hierarchy, or Companyreport,type,id,date
Start Stop ReportstartstopAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
State MileagestatemileageAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date,shift
Temperature SensortempsensorAsset, Driver, Group, Project, Hierarchy, or Companyreport,type,id,date
\n
\n

Parameter explanations\n
\n

\n
\n report (required): report from above table e.g. report:\"activitydetail\"
\n
\n type (required): type from above table e.g. type:\"Asset\" or type:\"Group\" or \"Company\"
\n
\n id (required): Comma separated list of Asset IDs, Driver IDs, Group IDs, Project IDs or Hierarchy Customer IDs\n
\n \n
\n
\n date (required): Comma separated start and end DateTime Range e.g. date:\"12/13/17+00:00,12/13/17+23:59\"
\n
\n location: Comma separated list of Location IDs
\n alerts: Comma separated list of Alert IDs (idAlert) for Alert Reports\n
\n \n
\n
\n rpm: RPM for Idle by RPM Reports
\n
\n distance: Proximity report - distance from location in users unit of measure (miles or km)
\n\t
\n durationHoursThreshold: Location Duration report - number of hours in a Location
\n
\n shift: 3 comma separated values: Shift Start Time, Shift EndTime, 0 (Not Enabled) or 1 (Enabled) e.g. shift:\"10:00:00,16:00:00,1\"\n
\n \n
\n
\n
" content: application/json: schema: $ref: '#/components/schemas/Body' example: report: activitydetail type: asset id: '1234,1798' date: '12/07/2017,12/08/2017' responses: '200': description: '' content: application/json: example: Summary: - Group_Name: Asset_Label: Truck 001 GPS_Distance: 15.9071420582351 Motion_Duration: 2902 Stop_Duration: 47748 Idle_Duration: 355 Engine_On_Duration: 3257 Engine_Fuel_Consumed: Engine_Distance: Last_Engine_Hours: Estimated_Engine_Hours: 954.7625 Estimated_GPS_Odometer: 62324.9486087464 - Group_Name: Asset_Label: Truck 002 GPS_Distance: 11.0604347123666 Motion_Duration: 1701 Stop_Duration: 53291 Idle_Duration: 127 Engine_On_Duration: 1828 Engine_Fuel_Consumed: Engine_Distance: Last_Engine_Hours: Estimated_Engine_Hours: 3113.4 Estimated_GPS_Odometer: 117195.6 Detail: - Group_Name: Asset_Label: Truck 001 Event_Timestamp: '2019-09-12T13:18:47.0000000+00:00' Event_Date: '2019-09-12' Event_Time: 1:18 PM CDT Event_Description: Running Latitude: 42.0339357 Longitude: -87.6743754 GPS_Speed: 0 Heading: 310 Heading_Cardinal: NW Address_Line2: '123 Main St Chicago, IL' Locality: Chicago Region: IL Postal_Code: '60652' County: Cook County Landmark_Name: GPS_Distance: Engine_On_Duration: Motion_Duration: Stop_Duration: Idle_Duration: Engine_Fuel_Consumed: Engine_Distance: GPS_Odometer: Odometer_Offset: Estimated_GPS_Odometer: 62298.4159928915 Last_Engine_Time_Offset: Estimated_Engine_Hours: 953.341111111111 idAsset: 1234 Serial_Number_Displayed: '0987654321' VIN: 1234567890A98 EquipmentId: '1234567890' /eventcodes: get: summary: Event IDs description: Gets all Event IDs (idEvent_Code) and descriptions. operationId: 5a721091f504ba0ab8994708 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idEvent_Code: 0 Event_Type: Location Event_Description: Location - idEvent_Code: 1 Event_Type: Diagnostic Event_Description: Diagnostic - idEvent_Code: 2 Event_Type: Motion Start Event_Description: Motion Start - idEvent_Code: 3 Event_Type: In Motion Event_Description: In Motion - idEvent_Code: 4 Event_Type: Motion Stop Event_Description: Motion Stop - idEvent_Code: 5 Event_Type: 'Geofence #0' Event_Description: 'Geofence #0' - idEvent_Code: 6 Event_Type: 'Geofence #1' Event_Description: 'Geofence #1' - idEvent_Code: 7 Event_Type: 'Geofence #2' Event_Description: 'Geofence #2' - idEvent_Code: 8 Event_Type: 'Geofence #3' Event_Description: 'Geofence #3' - idEvent_Code: 9 Event_Type: Device Battery Low Event_Description: Device Battery Low - idEvent_Code: 10 Event_Type: Device Battery State Event_Description: Device Battery State - idEvent_Code: 11 Event_Type: Running Event_Description: Running - idEvent_Code: 12 Event_Type: Vehicle1 Event_Description: Vehicle1 - idEvent_Code: 13 Event_Type: Vehicle2 Event_Description: Vehicle2 - idEvent_Code: 14 Event_Type: Vehicle3 Event_Description: Vehicle3 - idEvent_Code: 15 Event_Type: VCM Detect Event_Description: VCM Detect - idEvent_Code: 16 Event_Type: 'Sensor #1' Event_Description: 'Sensor #1' - idEvent_Code: 17 Event_Type: 'Sensor #2' Event_Description: 'Sensor #2' - idEvent_Code: 18 Event_Type: 'Sensor #3' Event_Description: 'Sensor #3' - idEvent_Code: 19 Event_Type: Device Health Event_Description: Device Health - idEvent_Code: 20 Event_Type: Ignition On Event_Description: Ignition On - idEvent_Code: 21 Event_Type: Ignition Off Event_Description: Ignition Off - idEvent_Code: 22 Event_Type: Speed Thresholds Reached Event_Description: Speed Thresholds Reached - idEvent_Code: 23 Event_Type: Speed Thresholds Cleared Event_Description: Speed Thresholds Cleared - idEvent_Code: 24 Event_Type: RPM Thresholds Reached Event_Description: RPM Thresholds Reached - idEvent_Code: 25 Event_Type: RPM Thresholds Cleared Event_Description: RPM Thresholds Cleared - idEvent_Code: 26 Event_Type: Harsh Braking Event_Description: Harsh Braking - idEvent_Code: 27 Event_Type: Harsh Acceleration Event_Description: Harsh Acceleration - idEvent_Code: 28 Event_Type: Harsh Maneuver Event_Description: Harsh Maneuver - idEvent_Code: 29 Event_Type: DTCs Detected Event_Description: DTCs Detected - idEvent_Code: 30 Event_Type: DTCs Cleared Event_Description: DTCs Cleared - idEvent_Code: 31 Event_Type: Idle Threshold Exceeded Event_Description: Idle Threshold Exceeded - idEvent_Code: 32 Event_Type: Idle Cleared Event_Description: Idle Threshold Cleared - idEvent_Code: 33 Event_Type: Tow Detected Event_Description: Tow Detected - idEvent_Code: 34 Event_Type: Speed Threshold 2 Reached Event_Description: Speed Threshold 2 Reached - idEvent_Code: 35 Event_Type: Speed Threshold 2 Cleared Event_Description: Speed Threshold 2 Cleared - idEvent_Code: 36 Event_Type: Speed Threshold 3 Reached Event_Description: Speed Threshold 3 Reached - idEvent_Code: 37 Event_Type: Speed Threshold 3 Cleared Event_Description: Speed Threshold 3 Cleared - idEvent_Code: 39 Event_Type: Device Power On/Boot Event_Description: Device Power On/Boot - idEvent_Code: 40 Event_Type: Scan Tool Detect Report Event_Description: Scan Tool Detect Report - idEvent_Code: 41 Event_Type: Configurable DTC Active Report Event_Description: Configurable DTC Active Report - idEvent_Code: 42 Event_Type: Configurable DTC Clear Report Event_Description: Configurable DTC Clear Report - idEvent_Code: 43 Event_Type: OTA Sys Log Report Event_Description: OTA Sys Log Report - idEvent_Code: 44 Event_Type: OTA Comm Log Report Event_Description: OTA Comm Log Report - idEvent_Code: 247 Event_Type: 'Sensor #0' Event_Description: 'Sensor #0' - idEvent_Code: 248 Event_Type: Temperature Sensor Event_Description: Temperature Sensor - idEvent_Code: 249 Event_Type: Sleep Entry Event_Description: Sleep Entry - idEvent_Code: 250 Event_Type: Tow In Motion Event_Description: Tow In Motion - idEvent_Code: 251 Event_Type: Tow Stop Event_Description: Tow Stop - idEvent_Code: 252 Event_Type: Camera On Event_Description: Camera On - idEvent_Code: 253 Event_Type: Wake Up Event_Description: Wake Up - idEvent_Code: 254 Event_Type: Tethered Power Loss Event_Description: Tethered Power Loss - idEvent_Code: 255 Event_Type: Tethered Power On Event_Description: Tethered Power On - idEvent_Code: 256 Event_Type: SerialDataMessage Event_Description: Serial Data Message - idEvent_Code: 976 Event_Type: Power Loss Event_Description: Power Loss - idEvent_Code: 1023 Event_Type: ERROR Event_Description: SCRIPT ERROR - idEvent_Code: 2000 Event_Type: SmartWitness Alarm In Event_Description: Alarm In - idEvent_Code: 2001 Event_Type: SmartWitness Signal Event_Description: Signal - idEvent_Code: 2002 Event_Type: SmartWitness Shock Event_Description: Shock - idEvent_Code: 2003 Event_Type: SmartWitness Panic Button Event_Description: Panic Button - idEvent_Code: 2004 Event_Type: SmartWitness AlarmOutControl Event_Description: AlarmOutControl - idEvent_Code: 2005 Event_Type: SmartWitness Device Offline Event_Description: Device Offline - idEvent_Code: 2006 Event_Type: SmartWitness Device Online Event_Description: Device Online - idEvent_Code: 2007 Event_Type: SmartWitness Severe Shock Event_Description: Severe Shock - idEvent_Code: 2099 Event_Type: SmartWitness Unknown Event Event_Description: Unknown Event - idEvent_Code: 3000 Event_Type: TrackerAppStarted Event_Description: Tracker App Started - idEvent_Code: 3001 Event_Type: TrackerAppStopped Event_Description: Tracker App Stopped - idEvent_Code: 3002 Event_Type: PhoneShake Event_Description: Phone Shake /maintplans: get: summary: Maintenance Plans description: Gets all Maintenance Plans. operationId: 5a721091f504ba0ab8994709 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idMaintPlan: 1000029 idCustomer: 56 PlanName: Oil Change - Every 3000 miles or 90 days PlanDescription: Recurring: true DistanceEnabled: true DistanceInterval: 3000 DistanceStart: DistanceEnd: TimeEnabled: true TimeInterval: 90 TimeStart: '2017-01-10T00:00:00.0000000+00:00' TimeEnd: EngineHoursEnabled: false EngineHoursInterval: EngineHoursStart: EngineHoursEnd: SelectionType: asset SortOrder: Created_On: '2017-01-10T16:57:41.7970000+00:00' Created_By: 274 Updated_On: '2017-12-20T02:11:17.4700000+00:00' Updated_By: 274 FixedInterval: false Owner_On: '2017-12-20T02:11:17.4700000+00:00' idOwner: 274 DueOverduePercent: 0.9 Enabled: true idSchedule: ScheduleFixedInterval: false ListOfIds: - 1798 - 1813 ListOfTaskIds: - 1 - 5 - 41 - 8 - 6 Created_By_UserName: Updated_By_UserName: /mainttasks: get: summary: Maintenance Tasks description: Gets all Maintenance Tasks. operationId: 5a721091f504ba0ab899470a parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idMaintTask: 1 idCustomer: 0 TaskName: Engine Oil TaskDescription: Oil Change TaskAction: Replace SortOrder: 1 Created_On: Created_By: 0 Updated_On: Updated_By: TaskNameWithAction: Replace - Engine Oil TaskType: Standard Created_By_UserName: Updated_By_UserName: - idMaintTask: 2 idCustomer: 0 TaskName: Tuneup TaskDescription: Engine Tuneup TaskAction: Service SortOrder: 1 Created_On: Created_By: 0 Updated_On: Updated_By: TaskNameWithAction: Service - Tuneup TaskType: Standard Created_By_UserName: Updated_By_UserName: - idMaintTask: 3 idCustomer: 0 TaskName: Rotate Tires TaskDescription: Tire Rotation TaskAction: Service SortOrder: 3 Created_On: Created_By: 0 Updated_On: Updated_By: TaskNameWithAction: Service - Rotate Tires TaskType: Standard Created_By_UserName: Updated_By_UserName: /useralerts: get: summary: User Alerts description: Gets all User created Alerts. operationId: 5a721091f504ba0ab899470b parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idUser_Alert_Def: 4230 AlertName: Dan is speeding Scope: Asset Unscheduled: 1 Enabled: true NotificationName: Dan email AlertType: Speeding Account_Wide: false User_Alert_Defs_Severity_LevelName: Critical Created_By: 3291 - idUser_Alert_Def: 4205 AlertName: Dan's Almost Out Of Gas!!! Scope: Asset Unscheduled: 1 Enabled: true NotificationName: Dan email AlertType: Fuel Level Low Alert Account_Wide: false User_Alert_Defs_Severity_LevelName: Warning Created_By: 3291 /alerts: get: summary: Alert Types description: Gets all Alert Types. operationId: 5a721091f504ba0ab899470c parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAlert: 23 Alert_Name: Off Hours Usage Alert_Description: Asset activity detected Off Hours Default_Subject: '{asset} is operating off-hours on {date} at {time} near {address}.' Default_Message: '{alert:name}: {asset} is operating off-hours on {date} at {time} near {address}.' Inside_Schedule: true Default_Alert_Cadence: 30 Default_Notification_Cadence: 1440 Alert_Type: 1 Token_List: 'address,alert:type,alert:name,alert:severity,asset,date,device:serialnumber,enginehours,heading,heading:deg,location,speed:mph,speed:kph,time,zone' idCustomer: Fact_Name: Fact_Type: Fact_Type_Data_Type: UOM_Abbreviation: UOM_Description: Fact_NameLookupCode: SortOrder: 23 GroupName: Asset Activity & Movement - idAlert: 28 Alert_Name: Ignition On/Engine Running Alert_Description: Vehicle started or running Default_Subject: '{asset} Ignition On or Engine Running detected on {date} at {time} near {address}.' Default_Message: '{asset} - Ignition On or Engine Running detected on {date} at {time} near {address}.' Inside_Schedule: true Default_Alert_Cadence: 60 Default_Notification_Cadence: 60 Alert_Type: 1 Token_List: 'address,alert:type,alert:name,alert:severity,asset,date,device:serialnumber,enginehours,heading,heading:deg,location,speed:mph,speed:kph,time,zone' idCustomer: Fact_Name: Fact_Type: Fact_Type_Data_Type: UOM_Abbreviation: UOM_Description: Fact_NameLookupCode: SortOrder: 23.9 GroupName: Asset Activity & Movement /devices: get: summary: Devices description: Gets all telematics Devices. operationId: 5a721091f504ba0ab899470d parameters: - name: createdOnStart in: query description: (Optional) DateTime field for filtering devices based off of the Temeda Created_On field schema: type: datetime - name: createdOnEnd in: query description: (Optional) DateTime field for filtering devices based off of the Temeda Created_On field schema: type: datetime - name: updatedOnStart in: query description: (Optional) DateTime field for filtering devices based off of the Temeda Updated_On field schema: type: datetime - name: updatedOnEnd in: query description: (Optional) DateTime field for filtering devices based off of the Temeda Updated_On field schema: type: datetime - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idDevice: 400 idDevice_Type: 2 Last_idRaw_Data: 22302064 idCustomer: 56 idCarrier: 1 Created_On: '2014-05-21T00:00:00.0000000+00:00' Serial_Nbr: 0002-1097990415 Last_Location_Time: '2018-01-17T17:54:52.0000000+00:00' Last_Communication: '2018-01-17T17:54:52.0000000+00:00' Last_Heading: 13 Last_Motion_Event: 3 Last_Motion_Time: '2018-01-17T13:47:26.0000000+00:00' In_Motion: false Serial_Number_Displayed: 109799-0415 GPS_Odometer_Offset: 129080266.904 GPS_Odometer_Offset_Date: '2018-01-16T17:06:28.5730000+00:00' Last_GPS_Odometer: 59550800 Last_Engine_Odometer: Last_Engine_Time: 5705911 Last_Fuel_Efficiency: 2.91777509068924 RTOS_Image_Version: 2.192.40 Last_idEvent_Code: 19 Last_Nearby_Address: '2244 95th St, Naperville, IL 60564' Last_Landmark_Name: TeMeDa HQ Last_RSSI: 19 Last_Satellites: 9 Last_GPS_Speed: 0 Last_Engine_Speed: 3.88 Last_Posted_Speed: Last_Engine_RPM: 1346 Last_Coolant_Temp: 85 Last_Battery_Voltage: 12.36 Last_Battery_Percentage: 0 Bus_Type: 11-ISO9141 VIN: '' Last_Total_Fuel_Used: 67668 Last_Total_Engine_Idle_Fuel: 7767 Last_Total_Engine_Idle_Time: 776 Last_Altitude: 224 Last_Fuel_Level_Percent_1: 5 Last_Fuel_Level_Percent_2: 25 Last_Engine_Time_Offset: 5505014 Last_Engine_Time_Offset_Date: '2018-01-16T17:05:43.7930000+00:00' Last_Engine_Running: Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Latitude: 41.7096433 Longitude: -88.19076 Last_Heading_Cardinal: N Last_Location_DateTime_Local: Last_Location_Time_Local: Last_Location_Date_Local: Device_Type: Days_Since_Start: 0 Estimated_GPS_Odometer: Estimated_Engine_Hours: Last_Nearby_House_Number: Last_Nearby_Street: Last_Nearby_House_Number_and_Street: Last_Nearby_Locality: Last_Nearby_Region: Last_Nearby_Postal_Code: Last_Nearby_County: Last_Nearby_isoCountryCode: Last_JBUS_Data: Is_Running: EngineHoursSource: OdometerSource: SpeedSource: SourceUIEnabled: VSSOdometerSourceEnabled: '/location/{id}': get: summary: Location by ID description: Gets a Location by ID (idLandmark). operationId: 5a721091f504ba0ab899470f parameters: - name: id in: path description: '' required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idLandmark: 13487 idCustomer: 56 idLandmark_Style: 16 Landmark_Category: 1 Created_On: '2017-08-02T13:06:26.3770000+00:00' Created_By: 3291 Landmark_Name: McBride's North Landmark_Label: Landmark_Type: Circle Landmark_House_Nbr: 2340 South Eola Road Landmark_Address_Line1: 2340 South Eola Road Landmark_Address_Line2: 2340 South Eola Road Landmark_City: Aurora Landmark_Region: IL Landmark_Postal_Code: '60503' Landmark_Country: US Landmark_Altitude: Landmark_Radius: 69 Start_Date: End_Date: Updated_By: 3291 Updated_On: '2017-08-15T18:50:01.5930000+00:00' Landmark_Location_Text: SRID=4326;POINT (-88.2533723115921 41.7120825568799) Latitude: 41.7120825568799 Longitude: -88.2533723115921 Location_Text: Landmark_Style: Created_By_UserName: Dan Thul Updated_By_UserName: Dan Thul ELDLandmark: ExternalID: /locationtypes: get: summary: Landmark Styles description: Gets all Location Types. operationId: 5a721091f504ba0ab8994711 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idLandmark_Style: 15 idCustomer: 0 Landmark_Style: Airport Landmark_Description: Airport Landmark_Type_Icon: - idLandmark_Style: 76 idCustomer: 0 Landmark_Style: Apartment Landmark_Description: Apartment Landmark_Type_Icon: - idLandmark_Style: 16 idCustomer: 0 Landmark_Style: Bar Landmark_Description: Bar Landmark_Type_Icon: /countries: get: summary: Countries description: Gets all Countries. operationId: 5a721091f504ba0ab8994712 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - iso: GB name: UNITED KINGDOM printable_name: United Kingdom iso3: GBR numcode: 826 - iso: US name: UNITED STATES printable_name: United States iso3: USA numcode: 840 /customers: get: summary: Customers description: Gets basic Customers and account hierachy information. operationId: 5a721091f504ba0ab8994713 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idCustomer: 56 Customer_Name: 'ACME Ready Mix, Inc.' idCustomerType: 1 idParentCustomer: Created_On: '2014-05-08T21:00:45.0130000+00:00' /alertevents: get: summary: Alert Events description: Gets Alert Events for the given UTC time frame. operationId: 5a721091f504ba0ab8994714 parameters: - name: datetime_start in: query description: Date/Time in UTC to start from. required: true schema: type: string - name: datetime_end in: query description: Date/Time in UTC to end from. required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAlert_Event: 348350 idUser_Alert_Def: 4206 idAsset: 3384 idRaw_Data: 22258546 Alert_Text: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST.' Created_On: '2018-01-14T21:07:35.3170000+00:00' idLandmark: idAlert: 506 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) Alert for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST near 1000-1012 Walter Payton Memorial Highway, Oswego, IL traveling at 0 mph. Alert event: Harsh Braking' idMaintPlan: Alert_Type: 'Erratic Driving (Harsh Accel, Brake, Maneuver)' Event_Timestamp_Local: '2018-01-14T15:07:35.3170000+00:00' Asset_Label: Julie's Toyota Highlander idDevice: User_Alert_Defs_Alert_Name: Erratic Driving Alert! User_Alert_Defs_Severity_LevelName: Warning idCustomer: 0 /reports/groupstatus: get: summary: Report-Group Status description: Gets data for the Group Status Report for a list of GroupIDs. operationId: 5a7374e4f504ba0ad8ffde3c parameters: - name: groupids in: query description: '' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idGroup: 4330 Group_Name: A Big Group idAsset: 1807 Asset_Label: Asset-0008 Serial_Number: 106770-0008 Device_Type: MC-3 Last_Communication: 02/01/2018 2:07 PM CST Last_Event: Motion Stop Last_Landmark_Name: Last_Nearby_Address: 'Hwy 54, San Antonio, TX 78254' Latitude: 29.5034733 Longitude: -98.7059167 Last_Heading: Last_Speed: Last_RSSI: 23 Last_Satellites: 11 Days_Since_Start: 1364 Last_Odometer: 83535.3348938074 Last_Battery_Voltage: 13.272 Last_Battery_Percentage: 0 Alert_Count: 0 Last_Engine_Time: Last_Engine_Time_Offset: Estimated_Engine_Hours: 8313.34 '/assets/SerialNumber/{SerialNumber}': get: summary: Asset by Serial Number description: 'Gets an Asset by Serial Number and includes Device and Driver information. ' operationId: 5a81c0ebf504ba1548dc98cb parameters: - name: SerialNumber in: path description: Serial Number of the GPS telematics device. required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAsset: 1798 idAsset_Type: 2 idDevice: 400 Asset_Label: Dave's Sequoia Asset_Description: hello Asset_TZ: Asset_DST: Created_By: 209 Created_On: '2015-11-06T14:18:10.0830000+00:00' Icon_Color: 7 Updated_By: 274 Updated_On: '2017-12-29T12:03:34.7600000+00:00' TZ_Index: 20 Make: Toyota Model: Sequoia Year: 2004 Vin: 108730-0067 LicensePlate: SUBBY1 EquipmentID: '123456' GPSInstallDate: '2017-06-06T00:00:00.0000000+00:00' BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: Gasoline ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: unit is located above gas pedal HarnessType: '' BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: Installed_By: 3334 Installer_Updated_By: 3334 Installer_YellowIron: Installer_AntennaType: Installer_RelayUsed: VehicleClass: OdometerSource: V SpeedSource: G Device: idDevice: 400 idDevice_Type: 2 Last_idRaw_Data: 22270588 idCustomer: 56 idCarrier: 1 Created_On: '2014-05-21T00:00:00.0000000+00:00' Serial_Nbr: 0002-1097990415 Last_Location_Time: '2018-01-15T17:54:43.0000000+00:00' Last_Communication: '2018-01-15T17:54:43.0000000+00:00' Last_Heading: 84 Last_Motion_Event: 3 Last_Motion_Time: '2018-01-15T14:53:29.0000000+00:00' In_Motion: false Carrier1: KORE GSM IMEI: Order_Nbr: '4567' APN: Serial_Number_Displayed: 109799-0415 SMS_Number: '5444833966' GPS_Odometer_Offset: 80205.9399753936 GPS_Odometer_Offset_Date: '2017-12-29T12:03:35.4870000+00:00' Last_GPS_Odometer: 36976.773087104 Last_Engine_Odometer: Last_Engine_Time: 1583.66666666667 Last_Fuel_Efficiency: 6.86303251244257 RTOS_Image_Version: 2.192.40 Device_Notes: Dave Sommer's Car Item_Nbr: GATE MC3CV-NXTRQ Order_Price: 20 TMC_Part_Nbr: 10X91685-005-A Last_idEvent_Code: 19 Last_Nearby_Address: '2244 95th St, Naperville, IL 60564' Last_Landmark_Name: TeMeDa HQ Last_RSSI: 20 Last_Satellites: 9 Last_GPS_Speed: 0 Last_Engine_Speed: 11.7886542591267 Last_Posted_Speed: Last_Engine_RPM: 904 Last_Coolant_Temp: 187 Last_Battery_Voltage: 12.36 Last_Battery_Percentage: 0 Bus_Type: 11-ISO9141 VIN: '' Last_Total_Fuel_Used: 17.8760028636264 Last_Total_Engine_Idle_Fuel: 2.051825297656 Last_Total_Engine_Idle_Time: 0.215555555555556 ICCID: daves iccid Last_Altitude: 567.58530183727 Last_Fuel_Level_Percent_1: 5 Last_Fuel_Level_Percent_2: 25 Last_Engine_Time_Offset: 529.185277777778 Last_Engine_Time_Offset_Date: '2017-09-26T11:47:57.0670000+00:00' Last_Engine_Running: Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Device Health Latitude: 41.709275 Longitude: -88.1906 Last_Heading_Cardinal: E Last_Location_DateTime_Local: '2018-01-15T11:54:43.0000000+00:00' Last_Location_Time_Local: 11:54 AM CST Last_Location_Date_Local: '2018-01-15' Device_Type: MC-3 Days_Since_Start: 1335 Estimated_GPS_Odometer: 117182.713062498 Estimated_Engine_Hours: 2112.85194444444 Last_Nearby_House_Number: Last_Nearby_Street: Last_Nearby_House_Number_and_Street: Last_Nearby_Locality: Last_Nearby_Region: Last_Nearby_Postal_Code: Last_Nearby_County: Last_Nearby_isoCountryCode: Last_JBUS_Data: Is_Running: EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true Alert_Count: 4 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/toyota-sequoia-4dr-gray.png Asset_idImage: 42 Asset_idImageCustom: Dealership_Customer_Name: Customer_Customer_Name: Is_Running: GroupListCSV: Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: Matt Ruppert Updated_By_UserName: John Smith Is_Dirty: false Driver: idDriver: 94 idCustomer: 56 idAddress: idImageCustomDriver: 100024 FirstName: Dave LastName: Sommer EmailAddress: dave.a.sommer@temeda.com WorkPhone: CellPhone: '6306052886' Description: Title: Web Guy Dept: Gender: EmployeeID: '123' DLNumber: DLState: Created_On: '2017-07-18T16:31:16.3470000+00:00' Created_By: 274 Updated_On: '2018-01-08T16:27:49.7430000+00:00' Updated_By: 274 Enabled: Address: Driver_Icon_Full_Path: images/library/custom_drivers/56_20171215_151325.png?cache=1513350804955 FullName: Dave Sommer AssignedAssets: AssignedAssetsList: Created_By_UserName: Updated_By_UserName: ELDDriver: CurrentDriver: Dave Sommer CurrentIdDriver: 94 ELDAsset: FindNearestAssetDistance: Is_Valid_Install: '/assets/EquipmentID/{EquipmentID}': get: summary: Asset by Equipment ID description: 'Gets an Asset by Equipment ID and includes Device and Driver information. ' operationId: 5a81c2f25e347687516609d1 parameters: - name: EquipmentID in: path required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAsset: 1798 idAsset_Type: 2 idDevice: 400 Asset_Label: Dave's Sequoia Asset_Description: hello Asset_TZ: Asset_DST: Created_By: 209 Created_On: '2015-11-06T14:18:10.0830000+00:00' Icon_Color: 7 Updated_By: 274 Updated_On: '2017-12-29T12:03:34.7600000+00:00' TZ_Index: 20 Make: Toyota Model: Sequoia Year: 2004 Vin: 108730-0067 LicensePlate: SUBBY1 EquipmentID: '123456' GPSInstallDate: '2017-06-06T00:00:00.0000000+00:00' BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: Gasoline ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: unit is located above gas pedal HarnessType: '' BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: Installed_By: 3334 Installer_Updated_By: 3334 Installer_YellowIron: Installer_AntennaType: Installer_RelayUsed: VehicleClass: OdometerSource: V SpeedSource: G Device: idDevice: 400 idDevice_Type: 2 Last_idRaw_Data: 22270588 idCustomer: 56 idCarrier: 1 Created_On: '2014-05-21T00:00:00.0000000+00:00' Serial_Nbr: 0002-1097990415 Last_Location_Time: '2018-01-15T17:54:43.0000000+00:00' Last_Communication: '2018-01-15T17:54:43.0000000+00:00' Last_Heading: 84 Last_Motion_Event: 3 Last_Motion_Time: '2018-01-15T14:53:29.0000000+00:00' In_Motion: false Carrier1: KORE GSM IMEI: Order_Nbr: '4567' APN: Serial_Number_Displayed: 109799-0415 SMS_Number: '5444833966' GPS_Odometer_Offset: 80205.9399753936 GPS_Odometer_Offset_Date: '2017-12-29T12:03:35.4870000+00:00' Last_GPS_Odometer: 36976.773087104 Last_Engine_Odometer: Last_Engine_Time: 1583.66666666667 Last_Fuel_Efficiency: 6.86303251244257 RTOS_Image_Version: 2.192.40 Device_Notes: Dave Sommer's Car Item_Nbr: GATE MC3CV-NXTRQ Order_Price: 20 TMC_Part_Nbr: 10X91685-005-A Last_idEvent_Code: 19 Last_Nearby_Address: '2244 95th St, Naperville, IL 60564' Last_Landmark_Name: TeMeDa HQ Last_RSSI: 20 Last_Satellites: 9 Last_GPS_Speed: 0 Last_Engine_Speed: 11.7886542591267 Last_Posted_Speed: Last_Engine_RPM: 904 Last_Coolant_Temp: 187 Last_Battery_Voltage: 12.36 Last_Battery_Percentage: 0 Bus_Type: 11-ISO9141 VIN: '' Last_Total_Fuel_Used: 17.8760028636264 Last_Total_Engine_Idle_Fuel: 2.051825297656 Last_Total_Engine_Idle_Time: 0.215555555555556 ICCID: daves iccid Last_Altitude: 567.58530183727 Last_Fuel_Level_Percent_1: 5 Last_Fuel_Level_Percent_2: 25 Last_Engine_Time_Offset: 529.185277777778 Last_Engine_Time_Offset_Date: '2017-09-26T11:47:57.0670000+00:00' Last_Engine_Running: Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Device Health Latitude: 41.709275 Longitude: -88.1906 Last_Heading_Cardinal: E Last_Location_DateTime_Local: '2018-01-15T11:54:43.0000000+00:00' Last_Location_Time_Local: 11:54 AM CST Last_Location_Date_Local: '2018-01-15' Device_Type: MC-3 Days_Since_Start: 1335 Estimated_GPS_Odometer: 117182.713062498 Estimated_Engine_Hours: 2112.85194444444 Last_Nearby_House_Number: Last_Nearby_Street: Last_Nearby_House_Number_and_Street: Last_Nearby_Locality: Last_Nearby_Region: Last_Nearby_Postal_Code: Last_Nearby_County: Last_Nearby_isoCountryCode: Last_JBUS_Data: Is_Running: EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true Alert_Count: 4 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/toyota-sequoia-4dr-gray.png Asset_idImage: 42 Asset_idImageCustom: Dealership_Customer_Name: Customer_Customer_Name: Is_Running: GroupListCSV: Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: Matt Ruppert Updated_By_UserName: John Smith Is_Dirty: false Driver: idDriver: 94 idCustomer: 56 idAddress: idImageCustomDriver: 100024 FirstName: Dave LastName: Sommer EmailAddress: dave.a.sommer@temeda.com WorkPhone: CellPhone: '6306052886' Description: Title: Web Guy Dept: Gender: EmployeeID: '123' DLNumber: DLState: Created_On: '2017-07-18T16:31:16.3470000+00:00' Created_By: 274 Updated_On: '2018-01-08T16:27:49.7430000+00:00' Updated_By: 274 Enabled: Address: Driver_Icon_Full_Path: images/library/custom_drivers/56_20171215_151325.png?cache=1513350804955 FullName: Dave Sommer AssignedAssets: AssignedAssetsList: Created_By_UserName: Updated_By_UserName: ELDDriver: CurrentDriver: Dave Sommer CurrentIdDriver: 94 ELDAsset: FindNearestAssetDistance: Is_Valid_Install: '/groups/{id}/assets/': get: summary: Assets by Group ID description: 'Gets Assets by Group ID (idGroup) and includes Device and Driver information. ' operationId: 5aa676382b5e1caaeda79c06 parameters: - name: id in: path description: '' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 3492 idAsset_Type: 2 idDevice: 1768 Asset_Label: Charles Truck Asset_Description: '' Asset_TZ: Asset_DST: Created_By: 0 Created_On: '2017-06-15T14:57:11.2630000+00:00' Icon_Color: 7 Updated_By: 274 Updated_On: '2017-09-20T09:52:22.2700000+00:00' TZ_Index: 20 Make: Honda Model: CR-V Year: 2008 Vin: 5J6RE48538L031053 LicensePlate: A656639 EquipmentID: '' GPSInstallDate: '2017-06-15T00:00:00.0000000+00:00' BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: Gasoline ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: '' HarnessType: Standard OBD II Y-Cable with Scan Tool Detect BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: Installed_By: 3342 Installer_Updated_By: Installer_YellowIron: false Installer_AntennaType: Installer_RelayUsed: false VehicleClass: OdometerSource: G SpeedSource: G Primary_idAsset: Device: idDevice: 1768 idDevice_Type: 2 Last_idRaw_Data: 23083700 idCustomer: 56 idCarrier: 1 Created_On: '2017-06-15T17:28:18.7430000+00:00' Serial_Nbr: 0002-1132810029 Last_Location_Time: '2018-03-12T13:04:45.0000000+00:00' Last_Communication: '2018-03-12T13:04:45.0000000+00:00' Last_Heading: 139 Last_Motion_Event: 3 Last_Motion_Time: '2018-03-12T13:04:30.0000000+00:00' In_Motion: false Order_Nbr: Serial_Number_Displayed: 113281-0029 GPS_Odometer_Offset: 140399.766566419 GPS_Odometer_Offset_Date: '2017-09-20T09:51:59.0170000+00:00' Last_GPS_Odometer: 11290.715448569 Last_Engine_Odometer: Last_Engine_Time: 345.624166666667 Last_Fuel_Efficiency: RTOS_Image_Version: '0192-02-25' Last_idEvent_Code: 21 Last_Nearby_Address: '2244 95th St, Naperville, IL 60564' Last_Landmark_Name: TeMeDa HQ Last_RSSI: 22 Last_Satellites: 7 Last_GPS_Speed: 0 Last_Engine_Speed: 0 Last_Posted_Speed: Last_Engine_RPM: 716 Last_Coolant_Temp: 190 Last_Battery_Voltage: 12.936 Last_Battery_Percentage: Bus_Type: 8-CAN 500 29-bit VIN: 5J6RE48538L031053 Last_Total_Fuel_Used: Last_Total_Engine_Idle_Fuel: Last_Total_Engine_Idle_Time: Last_Altitude: 659.448818897638 Last_Fuel_Level_Percent_1: 73 Last_Fuel_Level_Percent_2: Last_Engine_Time_Offset: 2000 Last_Engine_Time_Offset_Date: '2017-09-20T09:52:22.2900000+00:00' Last_Engine_Running: false Last_Battery_Temp: Last_Temp_Sensor1: Last_Event: Ignition Off Latitude: 41.709505 Longitude: -88.190575 Last_Heading_Cardinal: SE Last_Location_DateTime_Local: '2018-03-12T08:04:45.0000000+00:00' Last_Location_Time_Local: 8:04 AM CDT Last_Location_Date_Local: '2018-03-12' Device_Type: MC-3 Days_Since_Start: 269 Estimated_GPS_Odometer: 151690.482014988 Estimated_Engine_Hours: 2345.62416666667 Last_Nearby_House_Number: '2244' Last_Nearby_Street: 95th St Last_Nearby_House_Number_and_Street: 2244 95th St Last_Nearby_Locality: Naperville Last_Nearby_Region: IL Last_Nearby_Postal_Code: '60564' Last_Nearby_County: Will County Last_Nearby_isoCountryCode: US Last_JBUS_Data: Is_Running: false EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true Alert_Count: 0 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/custom/"56"_20170615_195619.png Asset_idImage: Asset_idImageCustom: 100115 Dealership_Customer_Name: Customer_Customer_Name: Is_Running: false GroupListCSV: Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: Updated_By_UserName: Is_Dirty: false Driver: CurrentDriver: CurrentIdDriver: ELDAsset: FindNearestAssetDistance: Is_Valid_Install: Primary_Asset_Label: CustomData: '/alerts/{id}/alertevents': get: summary: Alert Events by Alert ID description: Gets Alert Events for the given Alert ID (alert type) and UTC time frame. operationId: 5aabe50a65526a1af8df2261 parameters: - name: id in: path description: The unique ID of the Alert Type (idAlert). required: true schema: type: string - name: datetime_start in: query description: Date/Time in UTC to start from. required: true schema: type: string - name: datetime_end in: query description: Date/Time in UTC to end from. required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAlert_Event: 348350 idUser_Alert_Def: 4206 idAsset: 3384 idRaw_Data: 22258546 Alert_Text: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST.' Created_On: '2018-01-14T21:07:35.3170000+00:00' idLandmark: idAlert: 506 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: 'Erratic Driving Alert!: Erratic Driving (Harsh Accel, Brake, Maneuver) Alert for Julie''s Toyota Highlander on 01/14/2018 at 3:07 PM CST near 1000-1012 Walter Payton Memorial Highway, Oswego, IL traveling at 0 mph. Alert event: Harsh Braking' idMaintPlan: Alert_Type: 'Erratic Driving (Harsh Accel, Brake, Maneuver)' Event_Timestamp_Local: '2018-01-14T15:07:35.3170000+00:00' Asset_Label: Julie's Toyota Highlander idDevice: User_Alert_Defs_Alert_Name: Erratic Driving Alert! User_Alert_Defs_Severity_LevelName: Warning idCustomer: 0 '/assets/{id}/basic': get: summary: Asset By ID (Basic) description: 'Gets an Asset by ID (idAsset) and includes Device and basic location information. ' operationId: 5ad57064f504ba1f3c0a32b9 parameters: - name: id in: path description: The unique identifier of the Asset (idAsset). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAsset: 1798 Asset_Label: Dave's Sequoia Asset_Description: hello here is a description EquipmentID: '123456' Year: 2004 Make: Toyota Model: Sequoia Hier_ParentAccount_Name: 'ACME Ready Mix, Inc.' Hier_Level2_Name: North America Region Hier_Level3_Name: Hier_Level4_Name: Hier_Level5_Name: Hier_ParentAccount_Id: 1678 Hier_Level2_Id: 1801 Hier_Level3_Id: Hier_Level4_Id: Hier_Level5_Id: GPSInstallDate: '2017-06-05T00:00:00.0000000+00:00' Device: idDevice: 2016 Serial_Number_Displayed: 105548-0014 Last_Location_Time: '2018-03-20T12:45:03.0000000+00:00' Last_Location_DateTime_Local: '2018-03-20T07:45:03.0000000+00:00' Latitude: 41.7094933 Longitude: -88.1907133 Device_Type: MC-3 Last_idLandmark: Last_Landmark_Name: Last_Nearby_House_Number: '2244' Last_Nearby_Street: 95th St Last_Nearby_House_Number_and_Street: 2244 95th St Last_Nearby_Locality: Naperville Last_Nearby_Region: IL Last_Nearby_Postal_Code: '60564' Last_Nearby_County: Will County Last_Nearby_isoCountryCode: US Estimated_GPS_Odometer: 125000 Estimated_Engine_Hours: 0 /alertevents/rd: get: summary: Alert Events (with Location) description: Gets Alert Events (with Location) for the given UTC time frame. operationId: 5ad635e8f504ba233cde0e78 parameters: - name: datetime_start in: query description: Date/Time in UTC to start from. required: true schema: type: string - name: datetime_end in: query description: Date/Time in UTC to end from. required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - EquipmentID: '123456' Latitude: 41.7087217 Longitude: -88.190215 Address_Line2: '2244 95th St, Naperville, IL' Locality: Naperville Region: IL Postal_Code: '60564' County: Will County isoCountryCode: US idAlert_Event: 349835 idUser_Alert_Def: 4212 idAsset: 1798 idRaw_Data: 22487737 Alert_Text: Dave's Sequoia entered TeMeDa HQ on 01/31/2018 at 7:45 AM CST. Created_On: '2018-01-31T13:45:19.5970000+00:00' idLandmark: 13485 idAlert: 10 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: 'Entered Temeda World HQ Alert!: Dave''s Sequoia entered TeMeDa HQ on 01/31/2018 at 7:45 AM CST near 2244 95th St, Naperville, IL at 15.1 mph.' idMaintPlan: Alert_Type: Location Entry Event_Timestamp_Local: '2018-01-31T07:45:19.5970000+00:00' Asset_Label: Dave's Sequoia idDevice: 400 User_Alert_Defs_Alert_Name: Entered Temeda World HQ Alert! User_Alert_Defs_Severity_LevelName: Information idCustomer: 56 '/assets/basic/customer/{id}': get: summary: Assets (Basic) by Customer ID description: Gets all Assets for a given Customer ID including Device with a limited number of fields. operationId: 5ad761a0f504ba233cde0e79 parameters: - name: id in: path description: '' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 1865 Asset_Label: Truck-0002 Asset_Description: Joe's Truck EquipmentID: '0002' Year: 2011 Make: Chevrolet Model: Sierra Hier_ParentAccount_Name: 'ACME Ready Mix, Inc.' Hier_Level2_Name: Midwest Region Hier_Level3_Name: Chicago Hier_Level4_Name: Hier_Level5_Name: GPSInstallDate: '2016-02-07T00:00:00.0000000+00:00' Device: idDevice: 395 Serial_Number_Displayed: 106770-0002 Last_Location_Time: '2018-04-14T16:47:43.0000000+00:00' Last_Location_DateTime_Local: '2018-04-14T11:47:43.0000000+00:00' Latitude: 29.5362267 Longitude: -98.6888417 Device_Type: MC-3 Last_idLandmark: 8708 Last_Landmark_Name: Acme HQ Last_Nearby_House_Number: '123' Last_Nearby_Street: Maple Rd Last_Nearby_House_Number_and_Street: 123 Maple Rd Last_Nearby_Locality: San Antonio Last_Nearby_Region: TX Last_Nearby_Postal_Code: '78254' Last_Nearby_County: Bexar County Last_Nearby_isoCountryCode: US Estimated_GPS_Odometer: 181823.791119341 Estimated_Engine_Hours: 13221.9941666667 /locations/hierarchy: get: summary: Locations/Hierarchy description: Gets all Locations in all Hierarchies. operationId: 5b64b67cf2f063cddf7f53af parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idLandmark: 13594 idCustomer: 3000 idLandmark_Style: 15 Landmark_Category: 1 Created_On: '2018-05-02T14:56:09.3700000+00:00' Created_By: 3417 Landmark_Name: Location from Enterprise Landmark_Label: TG Airport Landmark_Type: Circle Landmark_House_Nbr: Arrivals - Terminal 5 Landmark_Address_Line1: Arrivals - Terminal 5 Landmark_Address_Line2: Landmark_City: Chicago Landmark_Region: IL Landmark_Postal_Code: '60666' Landmark_Country: US Landmark_Altitude: Landmark_Radius: 42 Start_Date: End_Date: Updated_By: 3417 Updated_On: '2018-05-02T18:49:19.3330000+00:00' IsActive: true Landmark_Location_Text: SRID=4326;POINT (-87.88745449999999 41.973148040566059) Latitude: 41.9731480405661 Longitude: -87.8874545 Location_Text: Landmark_Style: Airport Created_By_UserName: Updated_By_UserName: ELDLandmark: ExternalID: '/alertevents/rd/{id}/': get: summary: 'Alert Events (with Location) by User Alert ' description: Gets Alert Events (with Location) for the given User Alert (idUser_Alert_Def) and UTC time frame. operationId: 5bd875e1e9dad29729b42ade parameters: - name: id in: path description: The unique id of the User Alert (idUser_Alert_Def) required: true schema: type: integer - name: datetime_start in: query description: Date/Time in UTC to start from. required: true schema: type: string - name: datetime_end in: query description: Date/Time in UTC to end from. required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - EquipmentID: '123456' Latitude: 41.7087217 Longitude: -88.190215 Address_Line2: '2244 95th St, Naperville, IL' Locality: Naperville Region: IL Postal_Code: '60564' County: Will County isoCountryCode: US idAlert_Event: 349835 idUser_Alert_Def: 4212 idAsset: 1798 idRaw_Data: 22487737 Alert_Text: Dave's Sequoia entered TeMeDa HQ on 01/31/2018 at 7:45 AM CST. Created_On: '2018-01-31T13:45:19.5970000+00:00' idLandmark: 13485 idAlert: 10 idCustomer_Alert: Notification_Sent: Notification_Sent_On: Alert_Message: 'Entered Temeda World HQ Alert!: Dave''s Sequoia entered TeMeDa HQ on 01/31/2018 at 7:45 AM CST near 2244 95th St, Naperville, IL at 15.1 mph.' idMaintPlan: Alert_Type: Location Entry Event_Timestamp_Local: '2018-01-31T07:45:19.5970000+00:00' Asset_Label: Dave's Sequoia idDevice: 400 User_Alert_Defs_Alert_Name: Entered Temeda World HQ Alert! User_Alert_Defs_Severity_LevelName: Information idCustomer: 56 '/maintlogs/asset/{id}': get: summary: Maintenance Logs by Asset ID description: Gets all Maintenance Logs for a specified Asset (idAsset). operationId: 5c98fa0e42a1e062ff08d73b parameters: - name: id in: path description: The unique identifier of an Asset (idAsset). required: true schema: type: number - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idMaintLog: 179 idCustomer: 56 idMaintPlan: 1000029 idAsset: 1813 ServiceInDate: '2018-01-08T00:00:00.0000000+00:00' ServiceDate: '2018-01-09T00:00:00.0000000+00:00' Odometer: 62144 EngineHours: 971 InvoiceNbr: A1232 WorkOrderNbr: WO123 PartsCost: 500 LaborCost: 250 LaborHours: 40 TotalAmount: TechnicianName: John Smith ServiceNotes: Created_On: '2018-01-09T14:55:07.5170000+00:00' Created_By: 274 Updated_On: '2018-01-09T15:17:37.5770000+00:00' Updated_By: 274 Iteration: IterationDate: Asset_Label: Dan's Altima "Silver" PlanName: Oil Change - Every 3000 miles or 90 days idMaintSchedule: ScheduleName: IterationLabel: miles Created_By_UserName: Updated_By_UserName: /maintstatus: get: summary: Maintenance Status description: 'Gets the maintenance status (Due, Over-Due, Not-Due) for entire organization' operationId: maintenance-plan-status parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' '/assets/customer/{idCustomer}/types': get: summary: Assets (Basic) by Equipment Type description: Gets a list of Assets by Equipment Types and includes Device and location information. operationId: 5d88d864d7196894d7033581 parameters: - name: idCustomer in: path description: Unique identifier for the customer (idCustomer) or hierarchy level. required: true schema: type: string - name: EquipmentType in: query description: 'Comma delimited string of Equipment Types ' required: true schema: type: string - name: EquipmentSubType in: query description: Comma delimited string of Equipment SubTypes schema: type: string - name: Authorization in: header description: '** Authorization Token is required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 1865 Asset_Label: Acme-0002 Asset_Description: IgnOnUptime 123 EquipmentID: Acme-0002 edit Year: 2011 Make: BigOrangeTruck Model: T56 Hier_ParentAccount_Name: 'ACME Ready Mix, Inc.' Hier_Level2_Name: North America Region Hier_Level3_Name: USA Hier_Level4_Name: Illinois Hier_Level5_Name: Woodridge Hier_ParentAccount_Id: 56 Hier_Level2_Id: 2920 Hier_Level3_Id: 2964 Hier_Level4_Id: 3278 Hier_Level5_Id: 3357 GPSInstallDate: '2016-01-29T00:00:00.0000000+00:00' EquipmentSubType: Spinner EquipmentType: Cement Device: idDevice: 395 Serial_Number_Displayed: 106770-0002 Last_Location_Time: '2019-09-23T15:13:21.0000000+00:00' Last_Location_DateTime_Local: '2019-09-23T10:13:21.0000000+00:00' Latitude: 28.5376133 Longitude: -99.68863 Device_Type: MC-3 Last_idLandmark: 8708 Last_Landmark_Name: Acme HQ Last_Nearby_House_Number: '12324' Last_Nearby_Street: Brown Rd Last_Nearby_House_Number_and_Street: 12324 Brown Rd Last_Nearby_Locality: Dallas Last_Nearby_Region: TX Last_Nearby_Postal_Code: '78254' Last_Nearby_County: Dallas County Last_Nearby_isoCountryCode: US Estimated_GPS_Odometer: 120792.39 Estimated_Engine_Hours: 8033.45 '/vendors/forwardgeo/{address}': get: summary: Vendors - Forward Geocode description: 'Gets a Forward Geo (Lat,Long) for the specified address. Must be a Temeda vendor to invoke this call.' operationId: 5e1f58af23b268b186f26aff parameters: - name: address in: path description: 'example: 123 Main St. Chicago IL' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: Latitude: 41.7093471 Longitude: -88.1901807 formatted_address: '2244 95th St, Naperville, IL 60564, USA' /vendors/customers: get: summary: Vendors - Get Customers description: Gets customer information and list of devices for the vendor's customers. Must be a Temeda vendor to invoke this call. operationId: 5e1f64cb5586c4add02b2e0d parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idCustomer: 56 Devices: - idDevice: 318 Serial_Nbr: 0002-1055480008 Serial_Number_Displayed: 105548-0008 idDevice_Type: 2 SMS_Number: '5555746709' Created_On: '2014-01-29T21:50:18.8900000+00:00' VCM_Image_Version: 1.0.21 RTOS_Image_Version: 2.192.40 Application1_Image_Version: '2014-02-01' ScriptId: 01.08.AB CustomerConfigurationId: 00.4E.EA Carrier: VIN: '' Bus_Type: 10-CAN 250/J1939 /maintstatus/dtc: get: summary: Maintenance DTCs description: Gets maintenance DTCs (Diagnostic Trouble Codes) for a given date range. operationId: 5f3fe188c2313fe3a1191c22 parameters: - name: dateRange in: query description: 'A string with StartDate,EndDate separated by a comma.' required: true schema: type: string - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idAsset: 2000 Asset_Label: LSW0485HAF0028158 Event_Description: DTCs Detected Event_Timestamp: '2020-08-20T16:24:20.0000000+00:00' Event_Date: '2020-08-20' Last_Nearby_Address: 'Haileys Ferry Rd, Lilesville, NC' Make: Lonking Model: CDM6485H Year: 2016 Estimated_Engine_Hours: 4972.1 Estimated_GPS_Odometer: DTC_Info_HTML: "Diagnostic Information:
SPN: 111 FMI: 2 Occurrence Count: 127 Conversion Method: 0
SPN Name: Engine Coolant Level 1
SPN Description: Ratio of volume of liquid found in engine cooling system to total cooling system volume. Typical monitoring location is in the coolant expansion tank.
FMI Fault Code: 422
Lamp Status: Amber
Manufacturer: Cummins
FMI Description: Coolant Level - Data Erratic, Intermittent, or\nIncorrect" DTC_Info_NO_HTML: "Diagnostic Information: SPN: 111 FMI: 2 Occurrence Count: 127 Conversion Method: 0 SPN Name: Engine Coolant Level 1 SPN Description: Ratio of volume of liquid found in engine cooling system to total cooling system volume. Typical monitoring location is in the coolant expansion tank. FMI Fault Code: 422 Lamp Status: Amber Manufacturer: Cummins FMI Description: Coolant Level - Data Erratic, Intermittent, or\nIncorrect" DTC_Codes: /hierarchy/tree: get: summary: Account Hierarchy description: 'Gets account hierarchy ' operationId: account-hierarchy parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idCustomerAccountHierarchy: 0 idCustomer: 123 HierarchyName: Top Level Co HierarchyLevel: 1 AssetCount: 50 CustomerCount: 4 CustomerList: - idCustomer: 124 Customer_Name: TL - Region 1 Customer_Addresses: [ ] Customer_Contacts: [ ] AssetCount: 50 CustomerList: - idCustomer: 125 Customer_Name: TL - Division 1 idParentCustomer: 124 Customer_Addresses: [ ] Customer_Contacts: [ ] AssetCount: 15 HierarchyLevel: 3 - idCustomer: 126 Customer_Name: TL - Division 2 idParentCustomer: 124 Customer_Addresses: [ ] Customer_Contacts: [ ] AssetCount: 25 HierarchyLevel: 3 - idCustomer: 127 Customer_Name: TL - Division 3 idParentCustomer: 124 Customer_Addresses: [ ] Customer_Contacts: [ ] AssetCount: 10 HierarchyLevel: 3 HierarchyName: TL - Region 1 HierarchyLevel: 2 /drivers/assets: get: summary: Drivers (with Asset Assignments) description: 'Gets all drivers, including assigned asset information' operationId: 602feeaf72be742247e48125 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idDriver: 100 idCustomer: 123 idAddress: 4321 idImageCustomDriver: 100008 FirstName: Alice LastName: Jones EmailAddress: Alice.Jones@example.com WorkPhone: CellPhone: '1234567890' Description: Only drives on Saturdays Title: Driving Guy Dept: '4' Gender: EmployeeID: DLNumber: 12345-67-8901 DLState: IL Created_On: '2018-01-11T22:29:59.5070000+00:00' Created_By: 111 Updated_On: '2020-01-10T17:24:42.2230000+00:00' Updated_By: 111 Enabled: Address: idAddress: 3295 Address_Line1: 123 Main St Address_Line2: Address_Line3: Locality: Chicago Region: IL Postal_Code: '60652' isoCountryCode: US idAddress_Type: Created_On: Created_By: Latitude: Longitude: Driver_Icon_Full_Path: images/library/custom_drivers/alice.png FullName: Alice Jones AssignedAssets: - idDriverAsset: 682 idDriver: 100 idAsset: 24375 DriverAssetStartDate: '2018-09-04T11:00:00.0000000+00:00' DriverAssetEndDate: Created_On: '2020-01-10T17:24:42.3630000+00:00' Created_By: 111 Updated_On: Updated_By: Asset_Label: Alice's Rig Driver_Icon_Full_Path: FullName: HomeAddress: AssignedAssets: AssignedAssetsList: idImageCustomDriver: AssignedAssetsList: Alice's Rig Created_By_UserName: Updated_By_UserName: ELDDriver: - idDriver: 101 idCustomer: 56 idAddress: 3586 idImageCustomDriver: 100049 FirstName: Joe LastName: Smith EmailAddress: Joe.Smith@example.com WorkPhone: '0987654321' CellPhone: Description: Title: Dept: Gender: EmployeeID: DLNumber: 1234asdf DLState: NY Created_On: '2020-01-16T11:00:34.5730000+00:00' Created_By: 111 Updated_On: '2020-01-16T11:01:11.2330000+00:00' Updated_By: 111 Enabled: Address: idAddress: 3586 Address_Line1: Address_Line2: Address_Line3: Locality: Region: Postal_Code: isoCountryCode: idAddress_Type: Created_On: Created_By: Latitude: Longitude: Driver_Icon_Full_Path: images/library/custom_drivers/joe.png FullName: Joe Smith AssignedAssets: - idDriverAsset: 694 idDriver: 101 idAsset: 3493 DriverAssetStartDate: '2020-01-05T00:00:00.0000000+00:00' DriverAssetEndDate: '2020-01-11T00:00:00.0000000+00:00' Created_On: '2020-01-16T11:01:11.3430000+00:00' Created_By: 111 Updated_On: Updated_By: Asset_Label: Joe's Truck 1 Driver_Icon_Full_Path: FullName: HomeAddress: AssignedAssets: AssignedAssetsList: idImageCustomDriver: - idDriverAsset: 695 idDriver: 101 idAsset: 3494 DriverAssetStartDate: '2020-01-01T00:00:00.0000000+00:00' DriverAssetEndDate: '2020-01-03T00:00:00.0000000+00:00' Created_On: '2020-01-16T11:01:11.3600000+00:00' Created_By: 111 Updated_On: Updated_By: Asset_Label: Joe's Truck 2 Driver_Icon_Full_Path: FullName: HomeAddress: AssignedAssets: AssignedAssetsList: idImageCustomDriver: AssignedAssetsList: 'Joe''s Truck 1, Joe''s Truck 2' Created_By_UserName: Updated_By_UserName: ELDDriver: /inspections: get: summary: Maintenance Inspections description: Gets Maintenance Inspections for all Assets for a given date range. Inspections can also be filtered by Asset with additional parameter "&AssetId=int". operationId: 624eec64ee8ff4c38fd9c85f parameters: - name: startedAfter in: query required: true schema: type: date/time UTC - name: startedBefore in: query required: true schema: type: date/time UTC - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - assetLabel: ACME-0004 completedOn: '2022-04-03T04:52:58.4270000+00:00' Created_By_UserName: John @Smith Created_On: '2022-04-03T04:52:58.4270000+00:00' idAsset: 46995 idCustomer: 56 idMaintInspection: 1488 idMaintInspectionTemplate: 541 inspectedByName: '34534' inspectionTemplateLabel: Daily Safety Inspection metadata: createdBy: 274 createdByName: John @Smith createdByUsername: user@bear.com createdOn: '2022-04-03T04:52:58.4270000+00:00' updatedBy: 274 updatedByName: John @Smith updatedByUsername: user@bear.com updatedOn: '2022-04-03T08:12:29.8830000+00:00' odometer: 1222 startedOn: '2022-04-03T04:47:24.0000000+00:00' status: 3 statusName: fail tasks: - action: Inspect isRequired: false name: Check Engine Light sortOrder: 1 value: 1 valueName: pass - action: Inspect isRequired: false name: Battery sortOrder: 2 value: 1 valueName: pass - action: Inspect isRequired: false name: Brake Hoses & Line Pipes sortOrder: 3 value: 1 valueName: pass - action: Inspect isRequired: false name: Radiator & Coolant sortOrder: 4 value: 1 valueName: pass - action: Inspect comment: '354' isRequired: false name: Wiper Blades sortOrder: 5 value: 3 valueName: fail - action: Inspect isRequired: false name: Check the Windshield for cracks. sortOrder: 6 value: 1 valueName: pass - action: Check isRequired: false name: Tire Pressure sortOrder: 7 value: 1 valueName: pass Updated_By_UserName: John @Smith Updated_On: '2022-04-03T08:12:29.8830000+00:00' '/inspections/{idInspection}': get: summary: Maintenance Inspections by ID description: Gets a Maintenance Inspection for a given Inspection ID. operationId: 624eefe13e68d96550b1edba parameters: - name: idInspection in: path description: unique identifier of the Inspection required: true schema: type: int - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: assetLabel: ACME-0004 completedOn: '2022-04-03T04:52:58.4270000+00:00' Created_By_UserName: John @Smith Created_On: '2022-04-03T04:52:58.4270000+00:00' documents: - Ancillary: 0971d507-5463-4ee1-b385-8718f3645669 FriendlyName: depositphotos_10790426_m-2015.jpg idDocument: 1971 Type: image/jpeg URL: https://mcdevstorageaccount.blob.core.windows.net/56-4-1488/a1a99635-1de4-4520-9315-fd3cafeacffa.jpg?sv=2018-03-28&sr=c&sig=gngBRtlbPIfqP6kbWqP5T69K1hfojDw27cGw4vmjiLc%3D&se=2022-04-08T14%3A05%3A03Z&sp=r idAsset: 46995 idCustomer: 56 idMaintInspection: 1488 idMaintInspectionTemplate: 541 inspectedByName: '34534' inspectionTemplateLabel: Daily Safety Inspection metadata: createdBy: 274 createdByName: John @Smith createdByUsername: user@bear.com createdOn: '2022-04-03T04:52:58.4270000+00:00' updatedBy: 274 updatedByName: John @Smith updatedByUsername: user@bear.com updatedOn: '2022-04-07T14:02:03.9770000+00:00' odometer: 1222 startedOn: '2022-04-03T04:47:24.0000000+00:00' status: 3 statusName: fail tasks: - action: Inspect isRequired: false name: Check Engine Light sortOrder: 1 value: 1 valueName: pass - action: Inspect isRequired: false name: Battery sortOrder: 2 value: 1 valueName: pass - action: Inspect isRequired: false name: Brake Hoses & Line Pipes sortOrder: 3 value: 1 valueName: pass - action: Inspect isRequired: false name: Radiator & Coolant sortOrder: 4 value: 1 valueName: pass - action: Inspect comment: broken wiper blade documentsToken: 0971d507-5463-4ee1-b385-8718f3645669 isRequired: false name: Wiper Blades sortOrder: 5 value: 3 valueName: fail - action: Inspect isRequired: false name: Check the Windshield for cracks. sortOrder: 6 value: 1 valueName: pass - action: Check isRequired: false name: Tire Pressure sortOrder: 7 value: 1 valueName: pass Updated_By_UserName: John @Smith Updated_On: '2022-04-07T14:02:03.9770000+00:00' '/assets/vin/{vin}': get: summary: Asset by VIN description: 'Gets an Asset by VIN and includes Device and Driver information. ' operationId: 64837e69e9a06a1c2b355cb8 parameters: - name: vin in: path required: true schema: type: '' - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: idAsset: 47074 idAsset_Type: 2 idDevice: 51046 Asset_Label: ACME-0001 Asset_Description: '' Asset_TZ: '-5' Asset_DST: Created_By: 4210 Created_On: '2022-01-24T16:53:18.9670000+00:00' Icon_Color: 1 Updated_By: 274 Updated_On: '2023-06-09T14:20:06.4330000+00:00' TZ_Index: 20 Make: PETERBILT Model: PB337 Year: 2018 Vin: P01 V14 S0000000 LicensePlate: DAN 123 EquipmentID: '680001' GPSInstallDate: BatteryTypeVoltage: '12' BusinessUnit: Division: Department: Region: AssignedTo: LocationInfo: Status: FuelType: Diesel ProcurementOption: ProcurementInfo: InitialCost: ExternalID: GPSInstallNotes: Unit installed in rear cabinet behind driver HarnessType: Widget BillingRatePerHour: EngineHoursFromEngineBus: false District: idLandmark: AcquiredDate: '2023-04-09T00:00:00.0000000+00:00' Installed_By: Installer_Updated_By: Installer_YellowIron: Installer_AntennaType: Installer_RelayUsed: VehicleClass: OdometerSource: E SpeedSource: G Primary_idAsset: EquipmentType: Widget EquipmentSubType: Semi TankCapacity_ml: 120 FuelEcon_City_kpl: 12 FuelEcon_Hwy_kpl: 16 Engine: MSRP: 35000 Style: 4-Door Double Cab 5.0-Foot Bed 4WD 4.0-Liter 6-Cyclinder 5-Speed Automatic Installer_PO: Cvdv GrossVehicleWeightRating: 4 Tons Installed_By_Name: Johnny @Smith InstallType: Data Cable GPS Installer_SelfVerify: false Installer_SelfAssesment: "Odometer at Install: 27,534.65 miles\nEngine Hours at Install: 1,811.4 hours\n" Installer_Vendor_Name: Harry's Device: idDevice: 51046 idDevice_Type: 16 Last_idRaw_Data: 54764377 idCustomer: 56 idCarrier: 3 Created_On: '2022-01-24T22:29:16.1670000+00:00' Serial_Nbr: 0016-1345620032 Last_Location_Time: '2023-06-08T17:12:20.0000000+00:00' Last_Communication: '2023-06-08T17:12:20.0000000+00:00' Last_Heading: 186 Configuration_Status: Last_Motion_Event: 3 Last_Motion_Time: '2023-06-08T17:11:23.0000000+00:00' In_Motion: false Carrier1: AT&T Direct IMEI: Order_Nbr: Serial_Number_Displayed: 134562-0032 GPS_Odometer_Offset: 0 GPS_Odometer_Offset_Date: '2023-06-09T14:20:06.8070000+00:00' Last_GPS_Odometer: 32436.28 Last_Engine_Odometer: 32436.28 Last_Engine_Time: 2239.59 Last_Fuel_Efficiency: 7.41 RTOS_Image_Version: Device_Notes: Item_Nbr: Last_idEvent_Code: 21 Last_Nearby_Address: '3061 Riverside Ave, Rialto, CA 92377' Last_Landmark_Name: Last_RSSI: 11 Last_Satellites: 0 Last_GPS_Speed: 0 Last_Engine_Speed: 0 Last_Posted_Speed: Last_Engine_RPM: 51 Last_Coolant_Temp: 88 Last_Battery_Voltage: 12.712 Last_Battery_Percentage: Bus_Type: 12-CAN500/J1939 VIN: 2NP2HJ7X2MM732478 Last_Total_Fuel_Used: 4364.39 Last_Total_Engine_Idle_Fuel: 1061.18 Last_Total_Engine_Idle_Time: 1403.2 ICCID: Last_Altitude: 0 Last_Fuel_Level_Percent_1: 86 Last_Fuel_Level_Percent_2: Last_Engine_Time_Offset: -0.4 Last_Engine_Time_Offset_Date: '2023-05-02T15:40:51.7000000+00:00' Last_Engine_Running: false Last_Battery_Temp: Last_Temp_Sensor1: Last_idLandmark: AssignedToidCustomer: DeviceModel: MC4 SIMNBR: idCustomer_Final: idDevice_Final: DeviceSwapType: idDealer_Swappable: First_Report_Date: '2022-01-24T22:30:10.0000000+00:00' Last_Event: Ignition Off Latitude: 34.0480193 Longitude: -117.3688525 Last_Heading_Cardinal: S Last_Location_DateTime_Local: '2023-06-08T12:12:20.0000000+00:00' Last_Location_Time_Local: 12:12 PM CDT Last_Location_Date_Local: '2023-06-08' Last_Communication_Local: '2023-06-08T12:12:20.0000000+00:00' Device_Type: MC-4 Days_Since_Start: 500 Estimated_GPS_Odometer: 32436.28 Estimated_Engine_Hours: 2239.19 Last_Nearby_House_Number: '3061' Last_Nearby_Street: Riverside Ave Last_Nearby_House_Number_and_Street: 3061 Riverside Ave Last_Nearby_Locality: Rialto Last_Nearby_Region: CA Last_Nearby_Postal_Code: '92377' Last_Nearby_County: San Bernardino County Last_Nearby_isoCountryCode: US Last_JBUS_Data: vin: NP2HJ7X2MM73247 Is_Running: false EngineHoursSource: E OdometerSource: G SpeedSource: G SourceUIEnabled: true VSSOdometerSourceEnabled: true CityStatePostal: 'Rialto,CA,92377' LatLong: '34.0480193,-117.3688525' Alert_Count: 2 Group_Name: User_Specified_Odometer: User_Specified_EngineHours: User_Specified_Odometer_IsDirty: User_Specified_EngineHours_IsDirty: Asset_Icon_Full_Path: images/library/truck-mack-red.png Asset_idImage: 343 Asset_idImageCustom: Hier_ParentAccount_Name: ACME Ready Mix Hier_Level2_Name: North America Region Hier_Level3_Name: USA Hier_Level4_Name: Iowas Hier_Level5_Name: Cedar Rapids Hier_ParentAccount_Id: 56 Hier_Level2_Id: 2920 Hier_Level3_Id: 2964 Hier_Level4_Id: 3279 Hier_Level5_Id: 3335 Is_Running: false GroupListCSV: Sensor_Count: 0 ListOfGroupIds: Created_By_UserName: 5G Tower Admin Updated_By_UserName: John @Smith Driver: idDriver: 428 idCustomer: 56 idAddress: 4312 idImageCustomDriver: 100668 FirstName: Joe LastName: Driver EmailAddress: joedriver@temeda.com WorkPhone: '8024974916' CellPhone: 111-111-1111 Description: Title: test Dept: Gender: EmployeeID: DLNumber: '1234' DLState: Created_On: '2021-10-01T02:24:45.8330000+00:00' Created_By: 274 Updated_On: '2023-05-25T21:38:38.8170000+00:00' Updated_By: 274 Enabled: FuelCardNumber: IsRoutingAndDispatchEnabled: false idRoutingAndDispatchDriver: idUser: Address: idAddress: 4312 Address_Line1: Address_Line2: Address_Line3: Locality: Region: Postal_Code: isoCountryCode: idAddress_Type: Created_On: Created_By: Latitude: Longitude: Driver_Icon_Full_Path: images/library/custom_drivers/56_20220524_050743.jpeg?cache=1653412063631 FullName: Joe Driver AssignedAssets: AssignedAssetsList: Created_By_UserName: Updated_By_UserName: CurrentDriver: Joe Driver CurrentIdDriver: 428 FindNearestAssetDistance: Is_Valid_Install: Primary_Asset_Label: CustomData: HierarchyidCustomer: 3335 HierarchyLevel: 5 MaintDueCount: MaintOverdueCount: YearMakeModel: '2018,PETERBILT,PB337' Installer_Latitude: 37.785834 Installer_Longitude: -122.406417 /rd/orders: get: summary: Route Orders description: Gets all Route/Dispatch orders operationId: 64eca0038b7a81a54d4d0879 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idOrder: WokZ22tGbFp9EYZGz title: 001037 - Order 04/18 description: description 04/18 - stop 1 serviceType: HVAC stops: - idStop: gjR8JDLdeD8tGhrBN stopType: None earliestDate: '2023-04-15T09:00:00.0000000+00:00' latestDate: '2023-04-15T10:00:00.0000000+00:00' scheduledEarliestDate: '2023-04-15T09:00:00.0000000+00:00' scheduledLatestDate: '2023-04-15T10:00:00.0000000+00:00' description: stop 1 location: lat: 41.65827 lng: -88.20505 companyId: companyName: A Home address: 123 Main St city: Plainfield state: IL zipCode: '60585' country: US phone: '' contact: '' email: '' serviceDuration: UpdateReason: createdAt: '2023-04-18T20:52:34.0000000+00:00' totalStops: '1' orderStatus: Unassigned post: summary: Route - Create Orders description: Create a new order or job. operationId: 64ecf31653254818caaeb036 parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string requestBody: description: '' content: application/json: schema: $ref: '#/components/schemas/Body' example: idOrder: '0' title: Khalid Test 0629 - Trip Status serviceType: ELECTRICAL description: '' orderStatus: '' totalStops: 1 createdAt: '2023-06-27T11:28:00.0000000+00:00' stops: - scheduledEarliestDate: '2023-06-30T07:00:00.0000000+00:00' scheduledLatestDate: '2023-06-30T09:00:00.0000000+00:00' description: '' location: lat: 42.9397059 lng: -78.7295067 companyId: '' companyName: '' address: 4200 Genesee Street city: Buffalo state: NY zipCode: '14225' country: '' phone: '1234567890' contact: dfd email: sdfds@jkdsf.com UpdateReason: add stopType: '' serviceDuration: 30 idStop: 0 earliestDate: '2023-06-30T07:00:00.0000000+00:00' latestDate: '2023-06-30T09:00:00.0000000+00:00' - scheduledEarliestDate: '2023-06-30T09:00:00.0000000+00:00' scheduledLatestDate: '2023-06-30T11:00:00.0000000+00:00' description: '' location: lat: 42.9397059 lng: -78.7295067 companyId: '' companyName: '' address: 4100 Genesee Street city: Buffalo state: NY zipCode: '14225' country: '' phone: '1234567890' contact: dfd email: sdfds@jkdsf.com UpdateReason: add stopType: '' serviceDuration: 30 idStop: 0 earliestDate: '2023-06-30T09:00:00.0000000+00:00' latestDate: '2023-06-30T11:00:00.0000000+00:00' responses: '200': description: '' content: application/json: example: - idGroup: GroupName: idAsset: 1813 AssetLabel: Dan's Altima idSensor: 9 SensorName: Dan's Passenger Door (Active Ajar) ActiveStartDate: '2017-12-07' ActiveStart: '2017-12-07T15:18:51.4170000+00:00' ActiveStartAddress: '1515 W Monroe St, Chicago, IL 60607' ActiveStop: '2017-12-07T15:19:00.7500000+00:00' ActiveStopAddress: '1515 W Monroe St, Chicago, IL 60607' ActiveDuration: 9.333 - idGroup: GroupName: idAsset: 1813 AssetLabel: Dan's Altima idSensor: 10 SensorName: Driver Door (Active Open) ActiveStartDate: '2017-12-07' ActiveStart: '2017-12-07T15:18:20.9600000+00:00' ActiveStartAddress: '1515 W Monroe St, Chicago, IL 60607' ActiveStop: '2017-12-07T15:18:38.7530000+00:00' ActiveStopAddress: '1515 W Monroe St, Chicago, IL 60607' ActiveDuration: 17.793 /rd/ordersbydate: get: summary: Route Orders by Date description: Gets all Route/Dispatch orders for a given start and end date. operationId: 64eca3533f8cd9423f406b67 parameters: - name: startedAfter in: query description: Local datetime to filter orders After. required: true schema: type: datetime - name: startedBefore in: query description: "Local datetime to filter orders Before.\n" required: true schema: type: datetime - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idOrder: WokZ22tGbFp9EYZGz title: 001037 - Order 04/18 description: description 04/18 - stop 1 serviceType: HVAC stops: - idStop: gjR8JDLdeD8tGhrBN stopType: None earliestDate: '2023-04-15T09:00:00.0000000+00:00' latestDate: '2023-04-15T10:00:00.0000000+00:00' scheduledEarliestDate: '2023-04-15T09:00:00.0000000+00:00' scheduledLatestDate: '2023-04-15T10:00:00.0000000+00:00' description: stop 1 location: lat: 41.65827 lng: -88.20505 companyId: companyName: A Home address: 123 Main St city: Plainfield state: IL zipCode: '60585' country: US phone: '' contact: '' email: '' serviceDuration: UpdateReason: createdAt: '2023-04-18T20:52:34.0000000+00:00' totalStops: '1' orderStatus: Unassigned /rd/plans: get: summary: Route Plans description: Gets all Route/Dispatch plans operationId: 64eca750d30c206831e88d4f parameters: - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idPlan: 230 planName: Route Plan 0718 planStartDateTime: '2023-07-18T10:00:00.0000000+00:00' planEndDateTime: '2023-07-18T18:00:00.0000000+00:00' planStatus: InProgress errorMessage: startLocationId: zWYp8GpHK32beEdMG endLocationId: zWYp8GpHK32beEdMG idCustomer: 56 vehicleType: Light isBalanced: true driverCount: 1 orderCount: 1 stopCount: 1 idRoute: dmbLzqYysGGzxeoX3 complete: 1 missed: 0 avgStopTime: 30 serviceTime: drivingTime: totalTime: 101.12 distance: 46 ActualServiceTime: ActualDrivingTime: ActualTotalTime: planCreatedDateTime: orderIds: driverIds: assetIds: segments: unassignedOrders: [ ] /rd/plansbydate: get: summary: Route Plans by Date description: Gets all Route/Dispatch plans for a given start and end date. operationId: 64ecb2f4be989a882fe15978 parameters: - name: startedAfter in: query description: Local datetime to filter orders After. required: true schema: type: datetime - name: startedBefore in: query description: "Local datetime to filter orders Before.\n" required: true schema: type: datetime - name: Authorization in: header description: '** Authorization Token is Required.' required: true schema: type: string - name: EnvironmentCode in: header description: '** Required. 3 character Environment Code.' required: true schema: type: string responses: '200': description: '' content: application/json: example: - idOrder: WokZ22tGbFp9EYZGz title: 001037 - Order 04/18 description: description 04/18 - stop 1 serviceType: HVAC stops: - idStop: gjR8JDLdeD8tGhrBN stopType: None earliestDate: '2023-04-15T09:00:00.0000000+00:00' latestDate: '2023-04-15T10:00:00.0000000+00:00' scheduledEarliestDate: '2023-04-15T09:00:00.0000000+00:00' scheduledLatestDate: '2023-04-15T10:00:00.0000000+00:00' description: stop 1 location: lat: 41.65827 lng: -88.20505 companyId: companyName: A Home address: 123 Main St city: Plainfield state: IL zipCode: '60585' country: US phone: '' contact: '' email: '' serviceDuration: UpdateReason: createdAt: '2023-04-18T20:52:34.0000000+00:00' totalStops: '1' orderStatus: Unassigned components: schemas: Body: example: id: '1813,1798' date: '12/07/2017,12/08/2017' securitySchemes: apiKeyHeader: type: apiKey name: Ocp-Apim-Subscription-Key in: header apiKeyQuery: type: apiKey name: subscription-key in: query security: - apiKeyHeader: [ ] - apiKeyQuery: [ ]