Gets a ride within a traject

Request Information

Parameters

NameDescriptionAdditional information
id The traject Id

Define this parameter in the request URI.

childId the ride Id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Uri": "/trajects/1/rides/1",
  "Id": 1,
  "TrajectUri": "/trajects/1",
  "TrajectId": 1,
  "Name": "Naar Brugge",
  "StartTime": "2025-12-06T22:06:53.3434629+01:00",
  "EndTime": "2025-12-07T00:06:53.3434629+01:00",
  "PriorityInTraject": 1,
  "CustomFields": null
}

application/xml, text/xml

Sample:
<RideRestGet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>Naar Brugge</Name>
  <StartTime>2025-12-06T22:06:53.3434629+01:00</StartTime>
  <EndTime>2025-12-07T00:06:53.3434629+01:00</EndTime>
  <PriorityInTraject>1</PriorityInTraject>
  <Uri>/trajects/1/rides/1</Uri>
  <Id>1</Id>
  <TrajectUri>/trajects/1</TrajectUri>
  <TrajectId>1</TrajectId>
</RideRestGet>