POST apioauth/matrixv2/services/{serviceId}/businessprivatejourney
Change the business / private flag on a journey
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceId |
The service id of the journey |
unsigned integer |
Required |
Body Parameters
The UpdateBusinessPrivateJourneyRequest request
UpdateBusinessPrivateJourneyRequest| Name | 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-12-13T19:15:34.6224487+00:00",
"JourneyEnd": "2025-12-13T19:15:34.6224487+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-12-13T19:15:34.6224487+00:00</JourneyStart> <JourneyEnd>2025-12-13T19:15:34.6224487+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>