POST api/Values/getdataforotp

Request Information

URI Parameters

None.

Body Parameters

Email_Verification
NameDescriptionTypeAdditional information
email

string

None.

otp

string

None.

first_name

string

None.

project_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "otp": "sample string 2",
  "first_name": "sample string 3",
  "project_name": "sample string 4"
}

application/xml, text/xml

Sample:
<Email_Verification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses">
  <email>sample string 1</email>
  <first_name>sample string 3</first_name>
  <otp>sample string 2</otp>
  <project_name>sample string 4</project_name>
</Email_Verification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Otp_Verification_Response
NameDescriptionTypeAdditional information
success

boolean

None.

msg

string

None.

data

Collection of Email_Verification

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "msg": "sample string 2",
  "data": [
    {
      "email": "sample string 1",
      "otp": "sample string 2",
      "first_name": "sample string 3",
      "project_name": "sample string 4"
    },
    {
      "email": "sample string 1",
      "otp": "sample string 2",
      "first_name": "sample string 3",
      "project_name": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<Otp_Verification_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.FunctionClasses.Response">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses">
    <d2p1:Email_Verification>
      <d2p1:email>sample string 1</d2p1:email>
      <d2p1:first_name>sample string 3</d2p1:first_name>
      <d2p1:otp>sample string 2</d2p1:otp>
      <d2p1:project_name>sample string 4</d2p1:project_name>
    </d2p1:Email_Verification>
    <d2p1:Email_Verification>
      <d2p1:email>sample string 1</d2p1:email>
      <d2p1:first_name>sample string 3</d2p1:first_name>
      <d2p1:otp>sample string 2</d2p1:otp>
      <d2p1:project_name>sample string 4</d2p1:project_name>
    </d2p1:Email_Verification>
  </data>
  <msg>sample string 2</msg>
  <success>true</success>
</Otp_Verification_Response>