GET api/tracking/latestlocation

Request Information

URI Parameters

None.

Body Parameters

VehicleLocation
NameDescriptionTypeAdditional information
VehLocId

integer

None.

TripId

integer

None.

VehicleId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

LocationTime

date

None.

Speed

decimal number

None.

InstId

integer

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

AddedBy

string

None.

UpdatedBy

string

None.

AddedTime

date

None.

UpdatedTime

date

None.

FromDate

date

None.

ToDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VehLocId": 1,
  "TripId": 2,
  "VehicleId": 3,
  "Latitude": 4.1,
  "Longitude": 5.1,
  "LocationTime": "2026-08-07T17:49:56.2951985+05:30",
  "Speed": 7.1,
  "InstId": 8,
  "IsDeleted": true,
  "IsActive": true,
  "AddedBy": "sample string 11",
  "UpdatedBy": "sample string 12",
  "AddedTime": "2026-08-07T17:49:56.2951985+05:30",
  "UpdatedTime": "2026-08-07T17:49:56.2951985+05:30",
  "FromDate": "2026-08-07T17:49:56.2951985+05:30",
  "ToDate": "2026-08-07T17:49:56.2951985+05:30"
}

application/xml, text/xml

Sample:
<VehicleLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Business.Transport">
  <AddedBy>sample string 11</AddedBy>
  <AddedTime>2026-08-07T17:49:56.2951985+05:30</AddedTime>
  <FromDate>2026-08-07T17:49:56.2951985+05:30</FromDate>
  <InstId>8</InstId>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Latitude>4.1</Latitude>
  <LocationTime>2026-08-07T17:49:56.2951985+05:30</LocationTime>
  <Longitude>5.1</Longitude>
  <Speed>7.1</Speed>
  <ToDate>2026-08-07T17:49:56.2951985+05:30</ToDate>
  <TripId>2</TripId>
  <UpdatedBy>sample string 12</UpdatedBy>
  <UpdatedTime>2026-08-07T17:49:56.2951985+05:30</UpdatedTime>
  <VehLocId>1</VehLocId>
  <VehicleId>3</VehicleId>
</VehicleLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfListOfVehicleLocation
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Collection of VehicleLocation

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": [
    {
      "VehLocId": 1,
      "TripId": 2,
      "VehicleId": 3,
      "Latitude": 4.1,
      "Longitude": 5.1,
      "LocationTime": "2026-08-07T17:49:56.2961729+05:30",
      "Speed": 7.1,
      "InstId": 8,
      "IsDeleted": true,
      "IsActive": true,
      "AddedBy": "sample string 11",
      "UpdatedBy": "sample string 12",
      "AddedTime": "2026-08-07T17:49:56.2971564+05:30",
      "UpdatedTime": "2026-08-07T17:49:56.2971564+05:30",
      "FromDate": "2026-08-07T17:49:56.2971564+05:30",
      "ToDate": "2026-08-07T17:49:56.2971564+05:30"
    },
    {
      "VehLocId": 1,
      "TripId": 2,
      "VehicleId": 3,
      "Latitude": 4.1,
      "Longitude": 5.1,
      "LocationTime": "2026-08-07T17:49:56.2961729+05:30",
      "Speed": 7.1,
      "InstId": 8,
      "IsDeleted": true,
      "IsActive": true,
      "AddedBy": "sample string 11",
      "UpdatedBy": "sample string 12",
      "AddedTime": "2026-08-07T17:49:56.2971564+05:30",
      "UpdatedTime": "2026-08-07T17:49:56.2971564+05:30",
      "FromDate": "2026-08-07T17:49:56.2971564+05:30",
      "ToDate": "2026-08-07T17:49:56.2971564+05:30"
    }
  ],
  "StatusCode": 3
}

application/xml, text/xml

Sample:
<ApiResponseOfArrayOfVehicleLocationJY_PlJSGH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Business.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/School.Business.Transport">
    <d2p1:VehicleLocation>
      <d2p1:AddedBy>sample string 11</d2p1:AddedBy>
      <d2p1:AddedTime>2026-08-07T17:49:56.2971564+05:30</d2p1:AddedTime>
      <d2p1:FromDate>2026-08-07T17:49:56.2971564+05:30</d2p1:FromDate>
      <d2p1:InstId>8</d2p1:InstId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Latitude>4.1</d2p1:Latitude>
      <d2p1:LocationTime>2026-08-07T17:49:56.2961729+05:30</d2p1:LocationTime>
      <d2p1:Longitude>5.1</d2p1:Longitude>
      <d2p1:Speed>7.1</d2p1:Speed>
      <d2p1:ToDate>2026-08-07T17:49:56.2971564+05:30</d2p1:ToDate>
      <d2p1:TripId>2</d2p1:TripId>
      <d2p1:UpdatedBy>sample string 12</d2p1:UpdatedBy>
      <d2p1:UpdatedTime>2026-08-07T17:49:56.2971564+05:30</d2p1:UpdatedTime>
      <d2p1:VehLocId>1</d2p1:VehLocId>
      <d2p1:VehicleId>3</d2p1:VehicleId>
    </d2p1:VehicleLocation>
    <d2p1:VehicleLocation>
      <d2p1:AddedBy>sample string 11</d2p1:AddedBy>
      <d2p1:AddedTime>2026-08-07T17:49:56.2971564+05:30</d2p1:AddedTime>
      <d2p1:FromDate>2026-08-07T17:49:56.2971564+05:30</d2p1:FromDate>
      <d2p1:InstId>8</d2p1:InstId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Latitude>4.1</d2p1:Latitude>
      <d2p1:LocationTime>2026-08-07T17:49:56.2961729+05:30</d2p1:LocationTime>
      <d2p1:Longitude>5.1</d2p1:Longitude>
      <d2p1:Speed>7.1</d2p1:Speed>
      <d2p1:ToDate>2026-08-07T17:49:56.2971564+05:30</d2p1:ToDate>
      <d2p1:TripId>2</d2p1:TripId>
      <d2p1:UpdatedBy>sample string 12</d2p1:UpdatedBy>
      <d2p1:UpdatedTime>2026-08-07T17:49:56.2971564+05:30</d2p1:UpdatedTime>
      <d2p1:VehLocId>1</d2p1:VehLocId>
      <d2p1:VehicleId>3</d2p1:VehicleId>
    </d2p1:VehicleLocation>
  </Data>
  <Message>sample string 2</Message>
  <StatusCode>3</StatusCode>
  <Success>true</Success>
</ApiResponseOfArrayOfVehicleLocationJY_PlJSGH>