Get a list of trajects, for a dispatcher company, which are either in edit mode or assigned to a transporter.

Request Information

Parameters

NameDescriptionAdditional information
options Add $top and $skip to the URL to page through your requests. Example: /trajects/dispatcher?$top=10&$skip=10, skips the first 10 records and takes the next 10.

None.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Uri": "/trajects/2",
    "Id": 2,
    "DispatcherId": 3,
    "TransporterId": 4,
    "State": 0,
    "Name": "sample string 5",
    "StartDate": "2025-12-08T00:56:18.0854902+01:00",
    "Description": "sample string 7",
    "CustomFields": [
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      }
    ]
  },
  {
    "Uri": "/trajects/2",
    "Id": 2,
    "DispatcherId": 3,
    "TransporterId": 4,
    "State": 0,
    "Name": "sample string 5",
    "StartDate": "2025-12-08T00:56:18.0854902+01:00",
    "Description": "sample string 7",
    "CustomFields": [
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      }
    ]
  },
  {
    "Uri": "/trajects/2",
    "Id": 2,
    "DispatcherId": 3,
    "TransporterId": 4,
    "State": 0,
    "Name": "sample string 5",
    "StartDate": "2025-12-08T00:56:18.0854902+01:00",
    "Description": "sample string 7",
    "CustomFields": [
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "PopUpOnTablet": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTrajectRestGet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TrajectRestGet>
    <Name>sample string 5</Name>
    <StartDate>2025-12-08T00:56:18.0854902+01:00</StartDate>
    <Description>sample string 7</Description>
    <CustomFields>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
    </CustomFields>
    <Uri>/trajects/2</Uri>
    <Id>2</Id>
    <DispatcherId>3</DispatcherId>
    <TransporterId>4</TransporterId>
    <State>None</State>
  </TrajectRestGet>
  <TrajectRestGet>
    <Name>sample string 5</Name>
    <StartDate>2025-12-08T00:56:18.0854902+01:00</StartDate>
    <Description>sample string 7</Description>
    <CustomFields>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
    </CustomFields>
    <Uri>/trajects/2</Uri>
    <Id>2</Id>
    <DispatcherId>3</DispatcherId>
    <TransporterId>4</TransporterId>
    <State>None</State>
  </TrajectRestGet>
  <TrajectRestGet>
    <Name>sample string 5</Name>
    <StartDate>2025-12-08T00:56:18.0854902+01:00</StartDate>
    <Description>sample string 7</Description>
    <CustomFields>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
      <CustomFieldRest>
        <Name>sample string 1</Name>
        <Value>sample string 2</Value>
        <PopUpOnTablet>true</PopUpOnTablet>
      </CustomFieldRest>
    </CustomFields>
    <Uri>/trajects/2</Uri>
    <Id>2</Id>
    <DispatcherId>3</DispatcherId>
    <TransporterId>4</TransporterId>
    <State>None</State>
  </TrajectRestGet>
</ArrayOfTrajectRestGet>