POST api/CentaEstimateMortgage/SubmitForm

Request Information

URI Parameters

None.

Body Parameters

CentaEstiMateApplication
NameDescriptionTypeAdditional information
PrnCode

string

None.

PropertyAddress

string

None.

EstimatedReferencePrice

decimal number

None.

BankMortgageLoanAmount

decimal number

None.

MortgageMonthlyPayment

decimal number

None.

MinimumIncomeRequirement

decimal number

None.

FullName

string

None.

AreaCode

string

None.

PhoneNumber

string

None.

ContactMethods

Collection of string

None.

Email

string

None.

InterestedServices

Collection of string

None.

AgreeToTerms

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PrnCode": "sample string 1",
  "PropertyAddress": "sample string 2",
  "EstimatedReferencePrice": 3.0,
  "BankMortgageLoanAmount": 4.0,
  "MortgageMonthlyPayment": 5.0,
  "MinimumIncomeRequirement": 6.0,
  "FullName": "sample string 7",
  "AreaCode": "sample string 8",
  "PhoneNumber": "sample string 9",
  "ContactMethods": [
    "sample string 1",
    "sample string 2"
  ],
  "Email": "sample string 10",
  "InterestedServices": [
    "sample string 1",
    "sample string 2"
  ],
  "AgreeToTerms": true
}

text/xml

Sample:
<CentaEstiMateApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AgreeToTerms>true</AgreeToTerms>
  <AreaCode>sample string 8</AreaCode>
  <BankMortgageLoanAmount>4</BankMortgageLoanAmount>
  <ContactMethods xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ContactMethods>
  <Email>sample string 10</Email>
  <EstimatedReferencePrice>3</EstimatedReferencePrice>
  <FullName>sample string 7</FullName>
  <InterestedServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </InterestedServices>
  <MinimumIncomeRequirement>6</MinimumIncomeRequirement>
  <MortgageMonthlyPayment>5</MortgageMonthlyPayment>
  <PhoneNumber>sample string 9</PhoneNumber>
  <PrnCode>sample string 1</PrnCode>
  <PropertyAddress>sample string 2</PropertyAddress>
</CentaEstiMateApplication>

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

Response Information

Resource Description

CentaEstiMateApplicationResponse
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

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

text/xml

Sample:
<CentaEstiMateApplicationResponse 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>
</CentaEstiMateApplicationResponse>