GET TransportStopPoint/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&transportId={transportId}&trsId={trsId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

transportId

integer

Required

trsId

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

ListReplyOfTransportStopPointRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of TransportStopPointRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": 1,
      "transportId": 2,
      "longitude": 3.1,
      "latitude": 4.1,
      "address": "sample string 5",
      "postalCode": "sample string 6",
      "postalTown": "sample string 7",
      "country": "sample string 8",
      "note": "sample string 9",
      "fromDate": "2025-04-24T10:09:34.1588269+02:00",
      "toDate": "2025-04-24T10:09:34.1588269+02:00"
    },
    {
      "id": 1,
      "transportId": 2,
      "longitude": 3.1,
      "latitude": 4.1,
      "address": "sample string 5",
      "postalCode": "sample string 6",
      "postalTown": "sample string 7",
      "country": "sample string 8",
      "note": "sample string 9",
      "fromDate": "2025-04-24T10:09:34.1588269+02:00",
      "toDate": "2025-04-24T10:09:34.1588269+02:00"
    }
  ],
  "errorCode": 1,
  "error": "sample string 2",
  "top": 3,
  "total": 2
}

text/javascript

Sample:
{"data":[{"id":1,"transportId":2,"longitude":3.1,"latitude":4.1,"address":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","note":"sample string 9","fromDate":"2025-04-24T10:09:34.1588269+02:00","toDate":"2025-04-24T10:09:34.1588269+02:00"},{"id":1,"transportId":2,"longitude":3.1,"latitude":4.1,"address":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","note":"sample string 9","fromDate":"2025-04-24T10:09:34.1588269+02:00","toDate":"2025-04-24T10:09:34.1588269+02:00"}],"errorCode":1,"error":"sample string 2","top":3,"total":2}

application/xml, text/xml

Sample:
<ListReplyOfTransportStopPointRecord47aJv9zI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib.Models">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSP_Transport.Model">
    <d2p1:TransportStopPointRecord>
      <d2p1:address>sample string 5</d2p1:address>
      <d2p1:country>sample string 8</d2p1:country>
      <d2p1:fromDate>2025-04-24T10:09:34.1588269+02:00</d2p1:fromDate>
      <d2p1:id>1</d2p1:id>
      <d2p1:latitude>4.1</d2p1:latitude>
      <d2p1:longitude>3.1</d2p1:longitude>
      <d2p1:note>sample string 9</d2p1:note>
      <d2p1:postalCode>sample string 6</d2p1:postalCode>
      <d2p1:postalTown>sample string 7</d2p1:postalTown>
      <d2p1:toDate>2025-04-24T10:09:34.1588269+02:00</d2p1:toDate>
      <d2p1:transportId>2</d2p1:transportId>
    </d2p1:TransportStopPointRecord>
    <d2p1:TransportStopPointRecord>
      <d2p1:address>sample string 5</d2p1:address>
      <d2p1:country>sample string 8</d2p1:country>
      <d2p1:fromDate>2025-04-24T10:09:34.1588269+02:00</d2p1:fromDate>
      <d2p1:id>1</d2p1:id>
      <d2p1:latitude>4.1</d2p1:latitude>
      <d2p1:longitude>3.1</d2p1:longitude>
      <d2p1:note>sample string 9</d2p1:note>
      <d2p1:postalCode>sample string 6</d2p1:postalCode>
      <d2p1:postalTown>sample string 7</d2p1:postalTown>
      <d2p1:toDate>2025-04-24T10:09:34.1588269+02:00</d2p1:toDate>
      <d2p1:transportId>2</d2p1:transportId>
    </d2p1:TransportStopPointRecord>
  </data>
  <error>sample string 2</error>
  <errorCode>1</errorCode>
  <top>3</top>
</ListReplyOfTransportStopPointRecord47aJv9zI>

application/x-protobuf

Sample:

An exception has occurred while using the formatter 'ProtoBufFormatter' to generate sample for media type 'application/x-protobuf'. Exception message: Type is not expected, and no contract can be inferred: T8UtilityLib.Models.ListReply`1[[T8LSP_Transport.Model.TransportStopPointRecord, T8LSP_Transport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]