POST api/DemandCalculator

Post a request to spicerhaart to generate and dispatch a demand calculator document to a given email address using the posted data.

Request Information

Parameters

NameDescriptionAdditional information
request
a wrapper summerising the requestor and property which is to be put on the market

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Salutation": "sample string 1",
  "AddressLine1": "sample string 2",
  "AddressLine2": "sample string 3",
  "Town": "sample string 4",
  "County": "sample string 5",
  "Postcode": "sample string 6",
  "Email": "sample string 7",
  "OfficeId": "sample string 8",
  "Brand": "sample string 9"
}

application/xml, text/xml

Sample:
<DemandCalculatorRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spicerhaart.RedWebAPI.Controllers">
  <AddressLine1>sample string 2</AddressLine1>
  <AddressLine2>sample string 3</AddressLine2>
  <Brand>sample string 9</Brand>
  <County>sample string 5</County>
  <Email>sample string 7</Email>
  <OfficeId>sample string 8</OfficeId>
  <Postcode>sample string 6</Postcode>
  <Salutation>sample string 1</Salutation>
  <Town>sample string 4</Town>
</DemandCalculatorRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.