POST api/Login/SendOtpSmsForPassenger

Request Information

URI Parameters

None.

Body Parameters

SendOtpSmsPassengerRequestModel
NameDescriptionTypeAdditional information
GsmNumber

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GsmNumber": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<SendOtpSmsPassengerRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
  <GsmNumber>sample string 1</GsmNumber>
  <Message>sample string 2</Message>
</SendOtpSmsPassengerRequestModel>

multipart/form-data

Sample:
<SendOtpSmsPassengerRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><GsmNumber>sample string 1</GsmNumber><Message>sample string 2</Message></SendOtpSmsPassengerRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfSendOtpSmsPassengerResponseModel
NameDescriptionTypeAdditional information
Data

SendOtpSmsPassengerResponseModel

None.

IsSuccess

boolean

None.

ExceptionMsg

string

None.

lastLoginDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "PassengerId": 1
  },
  "IsSuccess": true,
  "ExceptionMsg": "sample string 2",
  "lastLoginDate": "2026-11-12T23:17:34.2032221+03:00"
}

application/xml, text/xml

Sample:
<BaseModelOfSendOtpSmsPassengerResponseModel4YG3OKg5 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:34.2032221+03:00</lastLoginDate>
  <Data>
    <PassengerId>1</PassengerId>
  </Data>
</BaseModelOfSendOtpSmsPassengerResponseModel4YG3OKg5>

multipart/form-data

Sample:
<BaseModelOfSendOtpSmsPassengerResponseModel4YG3OKg5 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:34.2032221+03:00</lastLoginDate><Data><PassengerId>1</PassengerId></Data></BaseModelOfSendOtpSmsPassengerResponseModel4YG3OKg5>