POST api/v1/otp/verify

Request Information

URI Parameters

None.

Body Parameters

ValidateOTPModel
NameDescriptionTypeAdditional information
type

string

Required

reference

integer

Required

otp

string

Required

Request Formats

application/json, text/json

Sample:
{
  "type": "sample string 1",
  "reference": 2,
  "otp": "sample string 3"
}

application/xml, text/xml

Sample:
<ValidateOTPModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Movam">
  <Otp>sample string 3</Otp>
  <Reference>2</Reference>
  <Type>sample string 1</Type>
</ValidateOTPModel>

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 'ValidateOTPModel'.

Response Information

Resource Description

MovamApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<MovamApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Movam">
  <Data />
  <Message>sample string 1</Message>
</MovamApiResponse>