Updates the traject with the given Id. Only a dispatcher can call this method.

Request Information

Parameters

NameDescriptionAdditional information
id the Id of the traject

Define this parameter in the request URI.

model A model that describes the traject (see examples below)

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "Brugge - Oostende",
  "StartDate": "2025-12-06T20:06:53.3434629+01:00",
  "Description": "Traject van brugge naar Oostende",
  "CustomFields": null
}

application/xml, text/xml

Sample:
<TrajectRest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>Brugge - Oostende</Name>
  <StartDate>2025-12-06T20:06:53.3434629+01:00</StartDate>
  <Description>Traject van brugge naar Oostende</Description>
</TrajectRest>