POST api/Arvento/GetWehicleLocationInformation
Request Information
URI Parameters
None.
Body Parameters
GetWehicleLocationInformationRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VoyageId | integer |
None. |
|
| PassengerId | integer |
None. |
|
| UserLatitude | decimal number |
None. |
|
| UserLongitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"VoyageId": 1,
"PassengerId": 2,
"UserLatitude": 3.0,
"UserLongitude": 4.0
}
application/xml, text/xml
Sample:
<GetWehicleLocationInformationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"> <PassengerId>2</PassengerId> <UserLatitude>3</UserLatitude> <UserLongitude>4</UserLongitude> <VoyageId>1</VoyageId> </GetWehicleLocationInformationRequestModel>
multipart/form-data
Sample:
<GetWehicleLocationInformationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><PassengerId>2</PassengerId><UserLatitude>3</UserLatitude><UserLongitude>4</UserLongitude><VoyageId>1</VoyageId></GetWehicleLocationInformationRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfGetWehicleLocationInformationResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | GetWehicleLocationInformationResponseModel |
None. |
|
| IsSuccess | boolean |
None. |
|
| ExceptionMsg | string |
None. |
|
| lastLoginDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"WehicleCoordinate": "sample string 1",
"EstimateTime": 2,
"BusStopName": "sample string 3",
"Latitude": 4.0,
"Longitude": 5.0
},
"IsSuccess": true,
"ExceptionMsg": "sample string 2",
"lastLoginDate": "2026-11-12T23:17:35.1719968+03:00"
}
application/xml, text/xml
Sample:
<BaseModelOfGetWehicleLocationInformationResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
<ExceptionMsg>sample string 2</ExceptionMsg>
<IsSuccess>true</IsSuccess>
<lastLoginDate>2026-11-12T23:17:35.1719968+03:00</lastLoginDate>
<Data>
<BusStopName>sample string 3</BusStopName>
<EstimateTime>2</EstimateTime>
<Latitude>4</Latitude>
<Longitude>5</Longitude>
<WehicleCoordinate>sample string 1</WehicleCoordinate>
</Data>
</BaseModelOfGetWehicleLocationInformationResponseModel4YG3OKg5>
multipart/form-data
Sample:
<BaseModelOfGetWehicleLocationInformationResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><ExceptionMsg>sample string 2</ExceptionMsg><IsSuccess>true</IsSuccess><lastLoginDate>2026-11-12T23:17:35.1719968+03:00</lastLoginDate><Data><BusStopName>sample string 3</BusStopName><EstimateTime>2</EstimateTime><Latitude>4</Latitude><Longitude>5</Longitude><WehicleCoordinate>sample string 1</WehicleCoordinate></Data></BaseModelOfGetWehicleLocationInformationResponseModel4YG3OKg5>