POST api/IWonder

Request Information

URI Parameters

None.

Body Parameters

BoilerDetailsDto
NameDescriptionTypeAdditional information
CoverType

string

Required

BuildingType

string

Required

HouseNumberOrName

string

None.

Postcode

string

Required

SelectedAddress

string

Required

UnlistedAddress

string

None.

HouseNumber

string

Required

Street

string

Required

Locality

string

Required

TownOrCity

string

Required

IsBoilerInGoodWorkingOrder

boolean

Required

BoilerMake

string

Required

IsBoilerGasFueled

boolean

Required

BoilerAge

string

Required

BoilerServicedLast12Months

boolean

None.

WantsAnnualService

boolean

Required

WantsCentralHeating

boolean

Required

WantsPlumbingAndElectrics

boolean

Required

CoverStartDate

date

Required

PaymentOccurance

string

Required

ExcessPayment

string

Required

Title

string

Required

FirstName

string

Required

Max length: 50

LastName

string

Required

Max length: 50

DateOfBirth

date

Required

EmailAddress

string

Required

Max length: 100

TelephoneNumber

string

Required

Matching regular expression pattern: ^\d{11}$

Max length: 11

Min length: 11

Request Formats

application/json, text/json

Sample:
{
  "CoverType": "sample string 1",
  "BuildingType": "sample string 2",
  "HouseNumberOrName": "sample string 3",
  "Postcode": "sample string 4",
  "SelectedAddress": "sample string 5",
  "UnlistedAddress": "sample string 6",
  "HouseNumber": "sample string 7",
  "Street": "sample string 8",
  "Locality": "sample string 9",
  "TownOrCity": "sample string 10",
  "IsBoilerInGoodWorkingOrder": true,
  "BoilerMake": "sample string 12",
  "IsBoilerGasFueled": true,
  "BoilerAge": "sample string 14",
  "BoilerServicedLast12Months": true,
  "WantsAnnualService": true,
  "WantsCentralHeating": true,
  "WantsPlumbingAndElectrics": true,
  "CoverStartDate": "2026-01-09T13:00:08.4463452+00:00",
  "PaymentOccurance": "sample string 19",
  "ExcessPayment": "sample string 20",
  "Title": "sample string 21",
  "FirstName": "sample string 22",
  "LastName": "sample string 23",
  "DateOfBirth": "2026-01-09T13:00:08.4463452+00:00",
  "EmailAddress": "sample string 25",
  "TelephoneNumber": "sample string 26"
}

application/xml, text/xml

Sample:
<BoilerDetailsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWanderWebHook.Dto">
  <BoilerAge>sample string 14</BoilerAge>
  <BoilerMake>sample string 12</BoilerMake>
  <BoilerServicedLast12Months>true</BoilerServicedLast12Months>
  <BuildingType>sample string 2</BuildingType>
  <CoverStartDate>2026-01-09T13:00:08.4463452+00:00</CoverStartDate>
  <CoverType>sample string 1</CoverType>
  <DateOfBirth>2026-01-09T13:00:08.4463452+00:00</DateOfBirth>
  <EmailAddress>sample string 25</EmailAddress>
  <ExcessPayment>sample string 20</ExcessPayment>
  <FirstName>sample string 22</FirstName>
  <HouseNumber>sample string 7</HouseNumber>
  <HouseNumberOrName>sample string 3</HouseNumberOrName>
  <IsBoilerGasFueled>true</IsBoilerGasFueled>
  <IsBoilerInGoodWorkingOrder>true</IsBoilerInGoodWorkingOrder>
  <LastName>sample string 23</LastName>
  <Locality>sample string 9</Locality>
  <PaymentOccurance>sample string 19</PaymentOccurance>
  <Postcode>sample string 4</Postcode>
  <SelectedAddress>sample string 5</SelectedAddress>
  <Street>sample string 8</Street>
  <TelephoneNumber>sample string 26</TelephoneNumber>
  <Title>sample string 21</Title>
  <TownOrCity>sample string 10</TownOrCity>
  <UnlistedAddress>sample string 6</UnlistedAddress>
  <WantsAnnualService>true</WantsAnnualService>
  <WantsCentralHeating>true</WantsCentralHeating>
  <WantsPlumbingAndElectrics>true</WantsPlumbingAndElectrics>
</BoilerDetailsDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.