POST GetOTP

Request Information

URI Parameters

None.

Body Parameters

OTPRequest
NameDescriptionTypeAdditional information
ApplicantID

integer

None.

Demographics

ApplicantDemographics

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApplicantID": 1,
  "Demographics": {
    "Identifier": "sample string 1",
    "FirstName": "sample string 2",
    "Surname": "sample string 3",
    "MobileNumber": "sample string 4",
    "Email": "sample string 5"
  },
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<OTPRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AfiswitchCIOD.Models">
  <Token>sample string 2</Token>
  <ApplicantID>1</ApplicantID>
  <Demographics>
    <Email>sample string 5</Email>
    <FirstName>sample string 2</FirstName>
    <Identifier>sample string 1</Identifier>
    <MobileNumber>sample string 4</MobileNumber>
    <Surname>sample string 3</Surname>
  </Demographics>
</OTPRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OTPResponse
NameDescriptionTypeAdditional information
OTP

string

None.

Response

Response

None.

Response Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "Response": {
    "ResponseCode": 1,
    "ResponseMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<OTPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AfiswitchCIOD.Models">
  <Response>
    <ResponseCode>1</ResponseCode>
    <ResponseMessage>sample string 2</ResponseMessage>
  </Response>
  <OTP>sample string 1</OTP>
</OTPResponse>