POST api/IClassUsers/SendOTPToNumber

Request Information

URI Parameters

None.

Body Parameters

IclassUserVerifyOTP
NameDescriptionTypeAdditional information
UserID

integer

None.

OTP

string

None.

MobileNo

string

None.

IsScratchCardSelected

boolean

None.

ScratchCard

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "OTP": "sample string 2",
  "MobileNo": "sample string 3",
  "IsScratchCardSelected": true,
  "ScratchCard": "sample string 5"
}

application/xml, text/xml

Sample:
<IclassUserVerifyOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <IsScratchCardSelected>true</IsScratchCardSelected>
  <MobileNo>sample string 3</MobileNo>
  <OTP>sample string 2</OTP>
  <ScratchCard>sample string 5</ScratchCard>
  <UserID>1</UserID>
</IclassUserVerifyOTP>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Id>3</Id>
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
</APIResponse>