POST Api/Tracking

Request Information

URI Parameters

None.

Body Parameters

TrackingDetail
NameDescriptionTypeAdditional information
TripID

globally unique identifier

None.

ImeiNo

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

Message

string

None.

StudentID

globally unique identifier

None.

TripOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TripID": "40ba1543-db83-4f30-9bbf-88f2c03d179e",
  "ImeiNo": "sample string 2",
  "Lat": 3.1,
  "Lng": 4.1,
  "Message": "sample string 5",
  "StudentID": "1e57a915-1e02-4a56-81fa-415de433cb72",
  "TripOn": "2026-06-06T03:34:58.7671402+04:00"
}

application/xml, text/xml

Sample:
<TrackingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
  <ImeiNo>sample string 2</ImeiNo>
  <Lat>3.1</Lat>
  <Lng>4.1</Lng>
  <Message>sample string 5</Message>
  <StudentID>1e57a915-1e02-4a56-81fa-415de433cb72</StudentID>
  <TripID>40ba1543-db83-4f30-9bbf-88f2c03d179e</TripID>
  <TripOn>2026-06-06T03:34:58.7671402+04:00</TripOn>
</TrackingDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SchoolGpsRecordLive
NameDescriptionTypeAdditional information
TimeStamp

date

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Angle

integer

None.

Speed

integer

None.

IsEngineOn

boolean

None.

VehicleID

globally unique identifier

None.

VehicleName

string

None.

VehicleType

VehicleType

None.

Driver

string

None.

DriverID

globally unique identifier

None.

LocationName

string

None.

InStatusFrom

date

None.

SchoolTripId

globally unique identifier

None.

SchoolTripStatus

integer

None.

EstimatedTime

time interval

None.

EstimatedKm

decimal number

None.

RecordType

LocationRecordType

None.

Response Formats

application/json, text/json

Sample:
{
  "TimeStamp": "2026-06-06T03:34:58.7827622+04:00",
  "Latitude": 2.1,
  "Longitude": 3.1,
  "Angle": 4,
  "Speed": 5,
  "IsEngineOn": true,
  "VehicleID": "04661f84-eaeb-46ad-be3a-8b3703f0157b",
  "VehicleName": "sample string 8",
  "VehicleType": 0,
  "Driver": "sample string 9",
  "DriverID": "f101b121-8e50-4da9-a74e-a98915c66a2d",
  "LocationName": "sample string 11",
  "InStatusFrom": "2026-06-06T03:34:58.7827622+04:00",
  "SchoolTripId": "ea5e42b1-c14f-4a62-95b4-b94a7914405d",
  "SchoolTripStatus": 14,
  "EstimatedTime": "00:00:00.1234567",
  "EstimatedKm": 16.1,
  "RecordType": 0
}

application/xml, text/xml

Sample:
<SchoolGpsRecordLive xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
  <Angle>4</Angle>
  <Driver>sample string 9</Driver>
  <DriverID>f101b121-8e50-4da9-a74e-a98915c66a2d</DriverID>
  <EstimatedKm>16.1</EstimatedKm>
  <EstimatedTime>PT0.1234567S</EstimatedTime>
  <InStatusFrom>2026-06-06T03:34:58.7827622+04:00</InStatusFrom>
  <IsEngineOn>true</IsEngineOn>
  <Latitude>2.1</Latitude>
  <LocationName>sample string 11</LocationName>
  <Longitude>3.1</Longitude>
  <RecordType>OK</RecordType>
  <SchoolTripId>ea5e42b1-c14f-4a62-95b4-b94a7914405d</SchoolTripId>
  <SchoolTripStatus>14</SchoolTripStatus>
  <Speed>5</Speed>
  <TimeStamp>2026-06-06T03:34:58.7827622+04:00</TimeStamp>
  <VehicleID>04661f84-eaeb-46ad-be3a-8b3703f0157b</VehicleID>
  <VehicleName>sample string 8</VehicleName>
  <VehicleType>None</VehicleType>
</SchoolGpsRecordLive>