POST apioauth/matrixv2/services/{serviceId}/businessprivatejourney

Change the business / private flag on a journey

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceId

The service id of the journey

unsigned integer

Required

Body Parameters

The UpdateBusinessPrivateJourneyRequest request

UpdateBusinessPrivateJourneyRequest
NameDescriptionTypeAdditional 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-06-15T22:10:33.3958494+00:00",
  "JourneyEnd": "2025-06-15T22:10:33.3958494+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-06-15T22:10:33.3958494+00:00</JourneyStart>
  <JourneyEnd>2025-06-15T22:10:33.3958494+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

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean>true</boolean>