POST api/OnTheGo/EmpTracking/PostEmployeeDOTHOSLog
Request Information
URI Parameters
None.
Body Parameters
EmployeeDOTHOSServiceLogName | Description | Type | Additional information |
---|---|---|---|
LogDate | date |
Required |
|
EmployeeID | integer |
Required |
|
UnitID | string |
None. |
|
Mileage | integer |
Required |
|
IsConfirmed | boolean |
Required |
|
Signature | Collection of byte |
Required |
|
HoursOffDuty | decimal number |
Required |
|
HoursSleeperBerth | decimal number |
Required |
|
HoursDriving | decimal number |
Required |
|
HoursOnDuty | decimal number |
Required |
|
UTCPostedOn | date |
None. |
|
EmployeeDOTActionLog | Collection of EmployeeDOTHOSActionLog |
None. |
|
Equipment | Equipment |
None. |
|
DOTHOSReportHeader | DOTHOSReportHeader |
None. |
|
DOTHOSLog | Collection of DOTHOSLog |
None. |
Request Formats
application/json, text/json
Sample:
{ "LogDate": "2025-05-02T12:04:05.464Z", "EmployeeID": 2, "UnitID": "sample string 3", "Mileage": 4, "IsConfirmed": true, "Signature": "QEA=", "HoursOffDuty": 6.0, "HoursSleeperBerth": 7.0, "HoursDriving": 8.0, "HoursOnDuty": 9.0, "UTCPostedOn": "2025-05-02T12:04:05.464Z", "EmployeeDOTActionLog": [ { "ActionTypeID": 1, "StartTime": "2025-05-02T12:04:05.464Z", "EndTime": "2025-05-02T12:04:05.464Z" }, { "ActionTypeID": 1, "StartTime": "2025-05-02T12:04:05.464Z", "EndTime": "2025-05-02T12:04:05.464Z" } ], "Equipment": { "EquipmentUnit": { "UnitID": "sample string 1", "VIN": "sample string 2", "OdometerStart": 1, "OdometerEnd": 1, "Mileage": 1, "EngineHoursStart": 1, "EngineHoursEnd": 1, "EngineHours": 1 }, "EquipmentInfo": "sample string 1", "EquipmentInfoJSON": [ { "UnitID": "sample string 1", "VIN": "sample string 2", "OdometerStart": 1, "OdometerEnd": 1, "Mileage": 1, "EngineHoursStart": 1, "EngineHoursEnd": 1, "EngineHours": 1 }, { "UnitID": "sample string 1", "VIN": "sample string 2", "OdometerStart": 1, "OdometerEnd": 1, "Mileage": 1, "EngineHoursStart": 1, "EngineHoursEnd": 1, "EngineHours": 1 } ] }, "DOTHOSReportHeader": { "RecordDate": "2025-05-02T12:04:05.464Z", "UTCDateCreated": "2025-05-02T12:04:05.464Z", "DisplayDate": "2025-05-02T12:04:05.464Z", "Comment": "sample string 4", "USDOT": 1, "DriverLicense": "sample string 5", "DriverLicenseState": "sample string 6", "ELDID": "sample string 7", "TruckTractorID": "sample string 8", "TruckTractorVIN": "sample string 9", "TrailerID": "sample string 10", "TimeZoneOffset": 11, "TimeZone": "sample string 12", "DriverName": "sample string 13", "CoDriverName": "sample string 14", "ELDVendor": "sample string 15", "ShippingID": "sample string 16", "IsDataDiagnosticIndicators": true, "DriverExemptStatus": "sample string 18", "HOSClockStartTime": "sample string 19", "DriverID": "sample string 20", "CoDriverID": "sample string 21", "IsUnidentifiedDriverRecords": true, "IsELDMalfunctionIndicators": true, "Carrier": "sample string 24", "Latitude": 1.0, "Longitude": 1.0, "CurrentLocation": "sample string 25" }, "DOTHOSLog": [ { "LogDate": "2025-05-02T12:04:05.479Z", "UTCDateTime": "2025-05-02T12:04:05.479Z", "ActionCode": "sample string 3", "ActionType": "sample string 4", "Latitude": 1.0, "Longitude": 1.0, "Location": "sample string 5", "EquipmentID": 1, "VIN": "sample string 6", "Odometer": 1, "EngineHours": 1, "UserOrderNumber": 7, "Username": "sample string 8", "Comment": "sample string 9", "IsConfirmed": true }, { "LogDate": "2025-05-02T12:04:05.479Z", "UTCDateTime": "2025-05-02T12:04:05.479Z", "ActionCode": "sample string 3", "ActionType": "sample string 4", "Latitude": 1.0, "Longitude": 1.0, "Location": "sample string 5", "EquipmentID": 1, "VIN": "sample string 6", "Odometer": 1, "EngineHours": 1, "UserOrderNumber": 7, "Username": "sample string 8", "Comment": "sample string 9", "IsConfirmed": true } ] }
application/xml, text/xml
Sample:
<EmployeeTrackingModel.EmployeeDOTHOSServiceLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models"> <DOTHOSLog> <EmployeeTrackingModel.DOTHOSLog> <ActionCode>sample string 3</ActionCode> <ActionType>sample string 4</ActionType> <Comment>sample string 9</Comment> <EngineHours>1</EngineHours> <EquipmentID>1</EquipmentID> <IsConfirmed>true</IsConfirmed> <Latitude>1</Latitude> <Location>sample string 5</Location> <LogDate>2025-05-02T12:04:05.4796836+00:00</LogDate> <Longitude>1</Longitude> <Odometer>1</Odometer> <UTCDateTime>2025-05-02T12:04:05.4796836+00:00</UTCDateTime> <UserOrderNumber>7</UserOrderNumber> <Username>sample string 8</Username> <VIN>sample string 6</VIN> </EmployeeTrackingModel.DOTHOSLog> <EmployeeTrackingModel.DOTHOSLog> <ActionCode>sample string 3</ActionCode> <ActionType>sample string 4</ActionType> <Comment>sample string 9</Comment> <EngineHours>1</EngineHours> <EquipmentID>1</EquipmentID> <IsConfirmed>true</IsConfirmed> <Latitude>1</Latitude> <Location>sample string 5</Location> <LogDate>2025-05-02T12:04:05.4796836+00:00</LogDate> <Longitude>1</Longitude> <Odometer>1</Odometer> <UTCDateTime>2025-05-02T12:04:05.4796836+00:00</UTCDateTime> <UserOrderNumber>7</UserOrderNumber> <Username>sample string 8</Username> <VIN>sample string 6</VIN> </EmployeeTrackingModel.DOTHOSLog> </DOTHOSLog> <DOTHOSReportHeader> <Carrier>sample string 24</Carrier> <CoDriverID>sample string 21</CoDriverID> <CoDriverName>sample string 14</CoDriverName> <Comment>sample string 4</Comment> <CurrentLocation>sample string 25</CurrentLocation> <DisplayDate>2025-05-02T12:04:05.4640534+00:00</DisplayDate> <DriverExemptStatus>sample string 18</DriverExemptStatus> <DriverID>sample string 20</DriverID> <DriverLicense>sample string 5</DriverLicense> <DriverLicenseState>sample string 6</DriverLicenseState> <DriverName>sample string 13</DriverName> <ELDID>sample string 7</ELDID> <ELDVendor>sample string 15</ELDVendor> <HOSClockStartTime>sample string 19</HOSClockStartTime> <IsDataDiagnosticIndicators>true</IsDataDiagnosticIndicators> <IsELDMalfunctionIndicators>true</IsELDMalfunctionIndicators> <IsUnidentifiedDriverRecords>true</IsUnidentifiedDriverRecords> <Latitude>1</Latitude> <Longitude>1</Longitude> <RecordDate>2025-05-02T12:04:05.4640534+00:00</RecordDate> <ShippingID>sample string 16</ShippingID> <TimeZone>sample string 12</TimeZone> <TimeZoneOffset>11</TimeZoneOffset> <TrailerID>sample string 10</TrailerID> <TruckTractorID>sample string 8</TruckTractorID> <TruckTractorVIN>sample string 9</TruckTractorVIN> <USDOT>1</USDOT> <UTCDateCreated>2025-05-02T12:04:05.4640534+00:00</UTCDateCreated> </DOTHOSReportHeader> <EmployeeDOTActionLog> <EmployeeTrackingModel.EmployeeDOTHOSActionLog> <ActionTypeID>1</ActionTypeID> <EndTime>2025-05-02T12:04:05.4640534+00:00</EndTime> <StartTime>2025-05-02T12:04:05.4640534+00:00</StartTime> </EmployeeTrackingModel.EmployeeDOTHOSActionLog> <EmployeeTrackingModel.EmployeeDOTHOSActionLog> <ActionTypeID>1</ActionTypeID> <EndTime>2025-05-02T12:04:05.4640534+00:00</EndTime> <StartTime>2025-05-02T12:04:05.4640534+00:00</StartTime> </EmployeeTrackingModel.EmployeeDOTHOSActionLog> </EmployeeDOTActionLog> <EmployeeID>2</EmployeeID> <Equipment> <EquipmentInfo>sample string 1</EquipmentInfo> <EquipmentInfoJSON> <EmployeeTrackingModel.EquipmentUnit> <EngineHours>1</EngineHours> <EngineHoursEnd>1</EngineHoursEnd> <EngineHoursStart>1</EngineHoursStart> <Mileage>1</Mileage> <OdometerEnd>1</OdometerEnd> <OdometerStart>1</OdometerStart> <UnitID>sample string 1</UnitID> <VIN>sample string 2</VIN> </EmployeeTrackingModel.EquipmentUnit> <EmployeeTrackingModel.EquipmentUnit> <EngineHours>1</EngineHours> <EngineHoursEnd>1</EngineHoursEnd> <EngineHoursStart>1</EngineHoursStart> <Mileage>1</Mileage> <OdometerEnd>1</OdometerEnd> <OdometerStart>1</OdometerStart> <UnitID>sample string 1</UnitID> <VIN>sample string 2</VIN> </EmployeeTrackingModel.EquipmentUnit> </EquipmentInfoJSON> <EquipmentUnit> <EngineHours>1</EngineHours> <EngineHoursEnd>1</EngineHoursEnd> <EngineHoursStart>1</EngineHoursStart> <Mileage>1</Mileage> <OdometerEnd>1</OdometerEnd> <OdometerStart>1</OdometerStart> <UnitID>sample string 1</UnitID> <VIN>sample string 2</VIN> </EquipmentUnit> </Equipment> <HoursDriving>8</HoursDriving> <HoursOffDuty>6</HoursOffDuty> <HoursOnDuty>9</HoursOnDuty> <HoursSleeperBerth>7</HoursSleeperBerth> <IsConfirmed>true</IsConfirmed> <LogDate>2025-05-02T12:04:05.4640534+00:00</LogDate> <Mileage>4</Mileage> <Signature>QEA=</Signature> <UTCPostedOn>2025-05-02T12:04:05.4640534+00:00</UTCPostedOn> <UnitID>sample string 3</UnitID> </EmployeeTrackingModel.EmployeeDOTHOSServiceLog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.