POST api/productWithAuthentication

Request Information

URI Parameters

None.

Body Parameters

ProductDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ProviderId

integer

None.

Name

string

None.

MinLTV

integer

None.

MaxLTV

integer

None.

Rate

decimal number

None.

RateType

string

None.

IndicativeAPC

decimal number

None.

MonthlyPayment

decimal number

None.

FixedYearLength

integer

None.

MinLoanAmount

decimal number

None.

MaxLoanAmount

decimal number

None.

BusinessType

string

None.

GreenMortgage

string

None.

BuyerType

string

None.

Provider

ProviderDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProviderId": 1,
  "Name": "sample string 2",
  "MinLTV": 1,
  "MaxLTV": 1,
  "Rate": 1.1,
  "RateType": "sample string 3",
  "IndicativeAPC": 1.1,
  "MonthlyPayment": 1.1,
  "FixedYearLength": 1,
  "MinLoanAmount": 1.1,
  "MaxLoanAmount": 1.1,
  "BusinessType": "sample string 4",
  "GreenMortgage": "sample string 5",
  "BuyerType": "sample string 6",
  "Provider": {
    "Id": 1,
    "Name": "sample string 2",
    "Url": "sample string 3",
    "Image": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ProductDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoneySherpaRepository.DataTransferObjects">
  <BusinessType>sample string 4</BusinessType>
  <BuyerType>sample string 6</BuyerType>
  <FixedYearLength>1</FixedYearLength>
  <GreenMortgage>sample string 5</GreenMortgage>
  <Id>1</Id>
  <IndicativeAPC>1.1</IndicativeAPC>
  <MaxLTV>1</MaxLTV>
  <MaxLoanAmount>1.1</MaxLoanAmount>
  <MinLTV>1</MinLTV>
  <MinLoanAmount>1.1</MinLoanAmount>
  <MonthlyPayment>1.1</MonthlyPayment>
  <Name>sample string 2</Name>
  <Provider>
    <Id>1</Id>
    <Image>sample string 4</Image>
    <Name>sample string 2</Name>
    <Url>sample string 3</Url>
  </Provider>
  <ProviderId>1</ProviderId>
  <Rate>1.1</Rate>
  <RateType>sample string 3</RateType>
</ProductDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.