POST api/Account/SendOTPCode?mobile={mobile}

Send OTP Code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mobile

string

Required

Body Parameters

None.

Response Information

Resource Description

OTPResultViewModel
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorNumber

integer

None.

ErrorMsg

string

None.

ErrorMsgUser

string

None.

AlreadyExists

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorNumber": 2,
  "ErrorMsg": "sample string 3",
  "ErrorMsgUser": "sample string 4",
  "AlreadyExists": true
}

application/xml, text/xml

Sample:
<OTPResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <AlreadyExists>true</AlreadyExists>
  <ErrorMsg>sample string 3</ErrorMsg>
  <ErrorMsgUser>sample string 4</ErrorMsgUser>
  <ErrorNumber>2</ErrorNumber>
  <Success>true</Success>
</OTPResultViewModel>