POST api/homeinspection/submit

Request Information

URI Parameters

None.

Body Parameters

HomeInspectionPerosnalQuoteRequest
NameDescriptionTypeAdditional information
agentId

integer

None.

buyer

HomeInspectionersonalQuoteBuyer

None.

listingId

string

None.

initialQuote

decimal number

None.

discountedRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "agentId": 1,
  "buyer": {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3"
  },
  "listingId": "sample string 2",
  "initialQuote": 1.0,
  "discountedRate": 1.0
}

text/html

Sample:
{"agentId":1,"buyer":{"firstName":"sample string 1","lastName":"sample string 2","email":"sample string 3"},"listingId":"sample string 2","initialQuote":1.0,"discountedRate":1.0}

application/xml, text/xml

Sample:
<HomeInspectionPerosnalQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AgentId>1</AgentId>
  <Buyer>
    <Email>sample string 3</Email>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
  </Buyer>
  <DiscountedRate>1</DiscountedRate>
  <InitialQuote>1</InitialQuote>
  <ListingId>sample string 2</ListingId>
</HomeInspectionPerosnalQuoteRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.