GET api/Passengers/GetLatestPosition?contactNr={contactNr}

Get Latest Position of Passenger

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactNr

string

Required

Body Parameters

None.

Response Information

Resource Description

PassengerLocationDTO
NameDescriptionTypeAdditional information
ContactNr

Passenger Contact Number

string

None.

Lat

Latitude

decimal number

None.

Lon

Longitude

decimal number

None.

LastModifiedUtc

Last Date and Time Location was updated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ContactNr": "sample string 1",
  "Lat": 2.1,
  "Lon": 3.1,
  "LastModifiedUtc": "2025-12-11T05:28:59.5775118+02:00"
}

application/xml, text/xml

Sample:
<PassengerLocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.TMS.Passenger">
  <ContactNr>sample string 1</ContactNr>
  <LastModifiedUtc>2025-12-11T05:28:59.5775118+02:00</LastModifiedUtc>
  <Lat>2.1</Lat>
  <Lon>3.1</Lon>
</PassengerLocationDTO>