POST api/Login/SendOtpSms
Request Information
URI Parameters
None.
Body Parameters
SendOtpSmsRequestModel| Name | Description | Type | Additional 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:
<SendOtpSmsRequestModel 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> </SendOtpSmsRequestModel>
multipart/form-data
Sample:
<SendOtpSmsRequestModel 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></SendOtpSmsRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfSendOtpSmsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | SendOtpSmsResponseModel |
None. |
|
| IsSuccess | boolean |
None. |
|
| ExceptionMsg | string |
None. |
|
| lastLoginDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PersonId": 1
},
"IsSuccess": true,
"ExceptionMsg": "sample string 2",
"lastLoginDate": "2026-11-12T23:17:33.828221+03:00"
}
application/xml, text/xml
Sample:
<BaseModelOfSendOtpSmsResponseModel4YG3OKg5 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:33.828221+03:00</lastLoginDate>
<Data>
<PersonId>1</PersonId>
</Data>
</BaseModelOfSendOtpSmsResponseModel4YG3OKg5>
multipart/form-data
Sample:
<BaseModelOfSendOtpSmsResponseModel4YG3OKg5 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:33.828221+03:00</lastLoginDate><Data><PersonId>1</PersonId></Data></BaseModelOfSendOtpSmsResponseModel4YG3OKg5>