POST api/User/RequestForOTP
Request Information
URI Parameters
None.
Body Parameters
RequestOtpModelName | Description | Type | Additional information |
---|---|---|---|
TemporaryId | integer |
None. |
|
Mobile | string |
None. |
|
string |
None. |
||
CountryCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TemporaryId": 1, "Mobile": "sample string 2", "Email": "sample string 3", "CountryCode": 4 }
application/xml, text/xml
Sample:
<RequestOtpModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Login"> <CountryCode>4</CountryCode> <Email>sample string 3</Email> <Mobile>sample string 2</Mobile> <TemporaryId>1</TemporaryId> </RequestOtpModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfResponseOTPModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
Status | integer |
None. |
|
Result | ResponseOTPModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "Status": 3, "Result": { "OTP": "sample string 1" } }
application/xml, text/xml
Sample:
<ResponseOfResponseOTPModelW218GSWs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Login"> <d2p1:OTP>sample string 1</d2p1:OTP> </Result> <Status>3</Status> </ResponseOfResponseOTPModelW218GSWs>