POST api/Map/GetBusStops

Request Information

URI Parameters

None.

Body Parameters

GetBusStopsRequestModel
NameDescriptionTypeAdditional information
VoyageId

integer

None.

PassengerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VoyageId": 1,
  "PassengerId": 2
}

application/xml, text/xml

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

multipart/form-data

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfGetBusStopsResponseModel
NameDescriptionTypeAdditional information
Data

GetBusStopsResponseModel

None.

IsSuccess

boolean

None.

ExceptionMsg

string

None.

lastLoginDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "BusStops": [
      {
        "Id": 1,
        "Number": 2,
        "Name": "sample string 3",
        "CurrentBusStop": 4
      },
      {
        "Id": 1,
        "Number": 2,
        "Name": "sample string 3",
        "CurrentBusStop": 4
      }
    ]
  },
  "IsSuccess": true,
  "ExceptionMsg": "sample string 2",
  "lastLoginDate": "2026-11-12T23:17:32.2813094+03:00"
}

application/xml, text/xml

Sample:
<BaseModelOfGetBusStopsResponseModel4YG3OKg5 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.2813094+03:00</lastLoginDate>
  <Data>
    <BusStops xmlns:d3p1="http://schemas.datacontract.org/2004/07/BMS.DATA.Clases.ApiModels">
      <d3p1:BusStop>
        <d3p1:CurrentBusStop>4</d3p1:CurrentBusStop>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Number>2</d3p1:Number>
      </d3p1:BusStop>
      <d3p1:BusStop>
        <d3p1:CurrentBusStop>4</d3p1:CurrentBusStop>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Number>2</d3p1:Number>
      </d3p1:BusStop>
    </BusStops>
  </Data>
</BaseModelOfGetBusStopsResponseModel4YG3OKg5>

multipart/form-data

Sample:
<BaseModelOfGetBusStopsResponseModel4YG3OKg5 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.2813094+03:00</lastLoginDate><Data><BusStops xmlns:d3p1="http://schemas.datacontract.org/2004/07/BMS.DATA.Clases.ApiModels"><d3p1:BusStop><d3p1:CurrentBusStop>4</d3p1:CurrentBusStop><d3p1:Id>1</d3p1:Id><d3p1:Name>sample string 3</d3p1:Name><d3p1:Number>2</d3p1:Number></d3p1:BusStop><d3p1:BusStop><d3p1:CurrentBusStop>4</d3p1:CurrentBusStop><d3p1:Id>1</d3p1:Id><d3p1:Name>sample string 3</d3p1:Name><d3p1:Number>2</d3p1:Number></d3p1:BusStop></BusStops></Data></BaseModelOfGetBusStopsResponseModel4YG3OKg5>