POST api/SubmitForm/PostMortLoanLog

Request Information

URI Parameters

None.

Body Parameters

MortgageLoanLogModel
NameDescriptionTypeAdditional information
Price

decimal number

None.

Loan

decimal number

None.

Percentage

decimal number

None.

Tenor

integer

None.

Rate

decimal number

None.

Type

string

None.

IP

string

None.

Device

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Price": 1.0,
  "Loan": 2.0,
  "Percentage": 3.1,
  "Tenor": 4,
  "Rate": 5.1,
  "Type": "sample string 6",
  "IP": "sample string 7",
  "Device": "sample string 8"
}

text/xml

Sample:
<MortgageLoanLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <Device>sample string 8</Device>
  <IP>sample string 7</IP>
  <Loan>2</Loan>
  <Percentage>3.1</Percentage>
  <Price>1</Price>
  <Rate>5.1</Rate>
  <Tenor>4</Tenor>
  <Type>sample string 6</Type>
</MortgageLoanLogModel>

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

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 1</AlertMessage>
  <ResponseCode>Success</ResponseCode>
</ResponseBase>