POST Api/GpsTracking
Request Information
URI Parameters
None.
Body Parameters
Collection of LocationRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| IMEINo | string |
None. |
|
| TimeStamp | date |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| CurrentLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"IMEINo": "sample string 1",
"TimeStamp": "2025-11-09T00:46:01.3995864+04:00",
"Latitude": 3.1,
"Longitude": 4.1,
"CurrentLocation": "sample string 5"
},
{
"IMEINo": "sample string 1",
"TimeStamp": "2025-11-09T00:46:01.3995864+04:00",
"Latitude": 3.1,
"Longitude": 4.1,
"CurrentLocation": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfLocationRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<LocationRecord>
<CurrentLocation>sample string 5</CurrentLocation>
<IMEINo>sample string 1</IMEINo>
<Latitude>3.1</Latitude>
<Longitude>4.1</Longitude>
<TimeStamp>2025-11-09T00:46:01.3995864+04:00</TimeStamp>
</LocationRecord>
<LocationRecord>
<CurrentLocation>sample string 5</CurrentLocation>
<IMEINo>sample string 1</IMEINo>
<Latitude>3.1</Latitude>
<Longitude>4.1</Longitude>
<TimeStamp>2025-11-09T00:46:01.3995864+04:00</TimeStamp>
</LocationRecord>
</ArrayOfLocationRecord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Collection of string |
None. |
|
| ResponseCodes | Collection of integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Value | string |
None. |
|
| RecordOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": [
"sample string 1",
"sample string 2"
],
"ResponseCodes": [
1,
2
],
"Id": "8cc94191-c164-4a76-886e-bf9f29bc0fa4",
"Value": "sample string 3",
"RecordOn": "2025-11-09T00:46:01.4152144+04:00"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<Id>8cc94191-c164-4a76-886e-bf9f29bc0fa4</Id>
<IsValid>true</IsValid>
<Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Message>
<RecordOn>2025-11-09T00:46:01.4152144+04:00</RecordOn>
<ResponseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ResponseCodes>
<Value>sample string 3</Value>
</Result>