POST api/v1/otp/send

Request Information

URI Parameters

None.

Body Parameters

SendOTPModel
NameDescriptionTypeAdditional information
type

string

Required

reference

integer

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

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>