POST api/Login/getOTP

Request Information

URI Parameters

None.

Body Parameters

CustomerEmail
NameDescriptionTypeAdditional information
Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1"
}

application/xml, text/xml

Sample:
<CustomerEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alphawin.MODAL.CustomerModal">
  <Email>sample string 1</Email>
</CustomerEmail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerEmail'.

Response Information

Resource Description

CustomerOTPResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

CDS

CustomerOTP

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "CDS": {
    "CustomerId": "sample string 1",
    "OTP": "sample string 2",
    "CustomerEmail": "sample string 3",
    "OTPTime": "sample string 4",
    "ReferalCode": "sample string 5",
    "Access_token": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<CustomerOTPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alphawin.MODAL.CustomerModal">
  <CDS>
    <Access_token>sample string 6</Access_token>
    <CustomerEmail>sample string 3</CustomerEmail>
    <CustomerId>sample string 1</CustomerId>
    <OTP>sample string 2</OTP>
    <OTPTime>sample string 4</OTPTime>
    <ReferalCode>sample string 5</ReferalCode>
  </CDS>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</CustomerOTPResponse>