PATCH apiassetoauth/driive/businessprivatedriverjourney
Update the is private miles flag on a journey for asset and vehicle
Request Information
URI Parameters
None.
Body Parameters
An UpdateBusinessPrivateJourneyRequest
UpdateBusinessPrivateJourneyRequestName | Description | Type | Additional information |
---|---|---|---|
JourneyStart |
The start of the journey |
date |
None. |
JourneyEnd |
The end of the journey |
date |
None. |
IsPrivate |
Set to true if the journey is to be private, false for business |
boolean |
None. |
Notes |
Notes for a journey |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "JourneyStart": "2025-04-27T15:45:41.4331034+00:00", "JourneyEnd": "2025-04-27T15:45:41.4331034+00:00", "IsPrivate": true, "Notes": "sample string 4" }
application/xml, text/xml
Sample:
<UpdateBusinessPrivateJourneyRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JourneyStart>2025-04-27T15:45:41.4331034+00:00</JourneyStart> <JourneyEnd>2025-04-27T15:45:41.4331034+00:00</JourneyEnd> <IsPrivate>true</IsPrivate> <Notes>sample string 4</Notes> </UpdateBusinessPrivateJourneyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200 on success
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>