POST Api/TripTracking/MarkStudentAsOnLeave
Request Information
URI Parameters
None.
Body Parameters
StudentSwipeDetailParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleID | globally unique identifier |
None. |
|
| TripID | globally unique identifier |
None. |
|
| ClientID | globally unique identifier |
None. |
|
| ClientName | string |
None. |
|
| StoppageID | globally unique identifier |
None. |
|
| StudentID | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| TripType | TripType |
None. |
|
| TripOn | date |
None. |
|
| BoardedStatus | BoardedStatus |
None. |
|
| ReportOn | date |
None. |
|
| RFID | string |
None. |
|
| LocationName | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| VehicleName | string |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleID": "8ba07177-48c1-4a8f-ba5f-0564ed9a9d5e",
"TripID": "b6b0ab46-1309-46bf-bfb8-0a23d2a2849b",
"ClientID": "e786c138-a968-461d-8d3f-f69a240858ae",
"ClientName": "sample string 2",
"StoppageID": "570e5040-fd55-4b1d-a53b-6d1e31e83595",
"StudentID": "5722bf7a-ca6a-47c1-915b-1481b6d89c6e",
"SchoolID": "fc7f6ac8-abf9-4c55-b0bf-36d0042ffec0",
"Month": 1,
"Year": 1,
"TripType": 0,
"TripOn": "2026-03-26T03:25:29.0532963+04:00",
"BoardedStatus": 0,
"ReportOn": "2026-03-26T03:25:29.0532963+04:00",
"RFID": "sample string 5",
"LocationName": "sample string 6",
"Latitude": 7.1,
"Longitude": 8.1,
"VehicleName": "sample string 9",
"Note": "sample string 10"
}
application/xml, text/xml
Sample:
<StudentSwipeDetailParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Reports"> <BoardedStatus>None</BoardedStatus> <ClientID>e786c138-a968-461d-8d3f-f69a240858ae</ClientID> <ClientName>sample string 2</ClientName> <Latitude>7.1</Latitude> <LocationName>sample string 6</LocationName> <Longitude>8.1</Longitude> <Month>1</Month> <Note>sample string 10</Note> <RFID>sample string 5</RFID> <ReportOn>2026-03-26T03:25:29.0532963+04:00</ReportOn> <SchoolID>fc7f6ac8-abf9-4c55-b0bf-36d0042ffec0</SchoolID> <StoppageID>570e5040-fd55-4b1d-a53b-6d1e31e83595</StoppageID> <StudentID>5722bf7a-ca6a-47c1-915b-1481b6d89c6e</StudentID> <TripID>b6b0ab46-1309-46bf-bfb8-0a23d2a2849b</TripID> <TripOn>2026-03-26T03:25:29.0532963+04:00</TripOn> <TripType>None</TripType> <VehicleID>8ba07177-48c1-4a8f-ba5f-0564ed9a9d5e</VehicleID> <VehicleName>sample string 9</VehicleName> <Year>1</Year> </StudentSwipeDetailParameter>
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": "01360570-a531-4cc9-916e-9fcc1c1f2093",
"Value": "sample string 3",
"RecordOn": "2026-03-26T03:25:29.0532963+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>01360570-a531-4cc9-916e-9fcc1c1f2093</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>2026-03-26T03:25:29.0532963+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>