POST api/Map/GetPassengersAtBusStop

Request Information

URI Parameters

None.

Body Parameters

GetPassengersAtBusStopRequestModel
NameDescriptionTypeAdditional information
BusStopId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BusStopId": 1
}

application/xml, text/xml

Sample:
<GetPassengersAtBusStopRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
  <BusStopId>1</BusStopId>
</GetPassengersAtBusStopRequestModel>

multipart/form-data

Sample:
<GetPassengersAtBusStopRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><BusStopId>1</BusStopId></GetPassengersAtBusStopRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfGetPassengersAtBusStopResponseModel
NameDescriptionTypeAdditional information
Data

GetPassengersAtBusStopResponseModel

None.

IsSuccess

boolean

None.

ExceptionMsg

string

None.

lastLoginDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Passengers": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Surname": "sample string 3",
        "GsmNumber": "sample string 4",
        "NotificationToken": "sample string 5"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Surname": "sample string 3",
        "GsmNumber": "sample string 4",
        "NotificationToken": "sample string 5"
      }
    ]
  },
  "IsSuccess": true,
  "ExceptionMsg": "sample string 2",
  "lastLoginDate": "2026-11-12T23:17:32.7656896+03:00"
}

application/xml, text/xml

Sample:
<BaseModelOfGetPassengersAtBusStopResponseModel4YG3OKg5 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:32.7656896+03:00</lastLoginDate>
  <Data>
    <Passengers xmlns:d3p1="http://schemas.datacontract.org/2004/07/">
      <d3p1:MapPassenger>
        <d3p1:GsmNumber>sample string 4</d3p1:GsmNumber>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:NotificationToken>sample string 5</d3p1:NotificationToken>
        <d3p1:Surname>sample string 3</d3p1:Surname>
      </d3p1:MapPassenger>
      <d3p1:MapPassenger>
        <d3p1:GsmNumber>sample string 4</d3p1:GsmNumber>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:NotificationToken>sample string 5</d3p1:NotificationToken>
        <d3p1:Surname>sample string 3</d3p1:Surname>
      </d3p1:MapPassenger>
    </Passengers>
  </Data>
</BaseModelOfGetPassengersAtBusStopResponseModel4YG3OKg5>

multipart/form-data

Sample:
<BaseModelOfGetPassengersAtBusStopResponseModel4YG3OKg5 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:32.7656896+03:00</lastLoginDate><Data><Passengers xmlns:d3p1="http://schemas.datacontract.org/2004/07/"><d3p1:MapPassenger><d3p1:GsmNumber>sample string 4</d3p1:GsmNumber><d3p1:Id>1</d3p1:Id><d3p1:Name>sample string 2</d3p1:Name><d3p1:NotificationToken>sample string 5</d3p1:NotificationToken><d3p1:Surname>sample string 3</d3p1:Surname></d3p1:MapPassenger><d3p1:MapPassenger><d3p1:GsmNumber>sample string 4</d3p1:GsmNumber><d3p1:Id>1</d3p1:Id><d3p1:Name>sample string 2</d3p1:Name><d3p1:NotificationToken>sample string 5</d3p1:NotificationToken><d3p1:Surname>sample string 3</d3p1:Surname></d3p1:MapPassenger></Passengers></Data></BaseModelOfGetPassengersAtBusStopResponseModel4YG3OKg5>