POST api/FMPP/PostPreferences

Request Information

URI Parameters

None.

Body Parameters

PostPreferencesInputModel
NameDescriptionTypeAdditional information
Selected_preferences

Collection of string

None.

Tenure

string

None.

Investment_type

string

None.

Investment_amount

string

None.

Reinvest

string

None.

Min_roi

string

None.

Max_roi

string

None.

IFAID

string

None.

IFAKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Selected_preferences": [
    "sample string 1",
    "sample string 2"
  ],
  "Tenure": "sample string 1",
  "Investment_type": "sample string 2",
  "Investment_amount": "sample string 3",
  "Reinvest": "sample string 4",
  "Min_roi": "sample string 5",
  "Max_roi": "sample string 6",
  "IFAID": "sample string 7",
  "IFAKey": "sample string 8"
}

application/xml, text/xml

Sample:
<PostPreferencesInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LendenWrapper.Models">
  <IFAID>sample string 7</IFAID>
  <IFAKey>sample string 8</IFAKey>
  <Investment_amount>sample string 3</Investment_amount>
  <Investment_type>sample string 2</Investment_type>
  <Max_roi>sample string 6</Max_roi>
  <Min_roi>sample string 5</Min_roi>
  <Reinvest>sample string 4</Reinvest>
  <Selected_preferences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Selected_preferences>
  <Tenure>sample string 1</Tenure>
</PostPreferencesInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PostPreferencesOutputModel
NameDescriptionTypeAdditional information
Preferences

PreferenceData

None.

Status

string

None.

Message

string

None.

LCResponse

LCResponse

None.

IFAID

string

None.

IFAKey

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Preferences": {
    "pref_id": 1,
    "borrower_percent": 2.1,
    "expected_returns": 3.1,
    "annualized_yield": 4.1,
    "from": "sample string 5"
  },
  "Status": "sample string 1",
  "Message": "sample string 2",
  "LCResponse": {
    "code": "sample string 1",
    "message": "sample string 2",
    "Data": {
      "checksum": "sample string 1",
      "payload": "sample string 2"
    },
    "IFAID": "sample string 3",
    "IFAKey": "sample string 4"
  },
  "IFAID": "sample string 3",
  "IFAKey": "sample string 4"
}

application/xml, text/xml

Sample:
<PostPreferencesOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LendenWrapper.Models">
  <IFAID>sample string 3</IFAID>
  <IFAKey>sample string 4</IFAKey>
  <LCResponse>
    <IFAID>sample string 3</IFAID>
    <IFAKey>sample string 4</IFAKey>
    <Data>
      <checksum>sample string 1</checksum>
      <payload>sample string 2</payload>
    </Data>
    <code>sample string 1</code>
    <message>sample string 2</message>
  </LCResponse>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
  <Preferences>
    <annualized_yield>4.1</annualized_yield>
    <borrower_percent>2.1</borrower_percent>
    <expected_returns>3.1</expected_returns>
    <from>sample string 5</from>
    <pref_id>1</pref_id>
  </Preferences>
</PostPreferencesOutputModel>