POST apiassetoauth/driive/drivershift

Send shift details

Request Information

URI Parameters

None.

Body Parameters

OAuthDriverShiftRequestModel

OAuthDriverShiftRequestModel
NameDescriptionTypeAdditional information
ShiftStartTime

The shift start time

date

None.

ShiftEndTime

The shift end time

date

None.

ShiftStatus

The status of the shift

ShiftStatus

None.

BreakCount

The number of breaks during the shift

integer

None.

BreakDuration

The total duration of the breaks in seconds

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShiftStartTime": "2025-04-27T15:43:07.7660307+00:00",
  "ShiftEndTime": "2025-04-27T15:43:07.7660307+00:00",
  "ShiftStatus": 0,
  "BreakCount": 3,
  "BreakDuration": 4
}

application/xml, text/xml

Sample:
<OAuthDriverShiftRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ShiftStartTime>2025-04-27T15:43:07.7660307+00:00</ShiftStartTime>
  <ShiftEndTime>2025-04-27T15:43:07.7660307+00:00</ShiftEndTime>
  <ShiftStatus>ShiftStart</ShiftStatus>
  <BreakCount>3</BreakCount>
  <BreakDuration>4</BreakDuration>
</OAuthDriverShiftRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean>true</boolean>