POST api/SubmitForm/PostAssessment

Request Information

URI Parameters

None.

Body Parameters

AssessmentModel
NameDescriptionTypeAdditional information
ClientName

string

None.

Salutation

string

None.

Phone

string

None.

Email

string

None.

Region

string

None.

District

string

None.

Building

string

None.

HousingEstate

string

None.

Street

string

None.

StreetNumber

string

None.

BlockNumber

string

None.

Floor

string

None.

Room

string

None.

PropertyType

string

None.

EvaluationResult

string

None.

Date

string

None.

Time

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Salutation": "sample string 2",
  "Phone": "sample string 3",
  "Email": "sample string 4",
  "Region": "sample string 5",
  "District": "sample string 6",
  "Building": "sample string 7",
  "HousingEstate": "sample string 8",
  "Street": "sample string 9",
  "StreetNumber": "sample string 10",
  "BlockNumber": "sample string 11",
  "Floor": "sample string 12",
  "Room": "sample string 13",
  "PropertyType": "sample string 14",
  "EvaluationResult": "sample string 15",
  "Date": "sample string 16",
  "Time": "sample string 17"
}

text/xml

Sample:
<AssessmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <BlockNumber>sample string 11</BlockNumber>
  <Building>sample string 7</Building>
  <ClientName>sample string 1</ClientName>
  <Date>sample string 16</Date>
  <District>sample string 6</District>
  <Email>sample string 4</Email>
  <EvaluationResult>sample string 15</EvaluationResult>
  <Floor>sample string 12</Floor>
  <HousingEstate>sample string 8</HousingEstate>
  <Phone>sample string 3</Phone>
  <PropertyType>sample string 14</PropertyType>
  <Region>sample string 5</Region>
  <Room>sample string 13</Room>
  <Salutation>sample string 2</Salutation>
  <Street>sample string 9</Street>
  <StreetNumber>sample string 10</StreetNumber>
  <Time>sample string 17</Time>
</AssessmentModel>

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

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

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

text/xml

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