POST loan/SubmitOptinRequest

This sends an optIn request when customer selects YES

Request Information

URI Parameters

None.

Body Parameters

OptInRequest
NameDescriptionTypeAdditional information
request_id

string

None.

phone_number

string

None.

module_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "request_id": "sample string 1",
  "phone_number": "sample string 2",
  "module_name": "sample string 3"
}

application/xml, text/xml

Sample:
<OptInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <module_name>sample string 3</module_name>
  <phone_number>sample string 2</phone_number>
  <request_id>sample string 1</request_id>
</OptInRequest>

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

Response Information

Resource Description

OptInResponse
NameDescriptionTypeAdditional information
remittaRespId

string

None.

response_descr

string

None.

response_code

string

None.

full_description

string

None.

DisplayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "remittaRespId": "sample string 1",
  "response_descr": "sample string 2",
  "response_code": "sample string 3",
  "full_description": "sample string 4",
  "DisplayMessage": "sample string 5"
}

application/xml, text/xml

Sample:
<OptInResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <DisplayMessage>sample string 5</DisplayMessage>
  <full_description>sample string 4</full_description>
  <response_code>sample string 3</response_code>
  <response_descr>sample string 2</response_descr>
  <remittaRespId>sample string 1</remittaRespId>
</OptInResponse>