POST api/Evaluation/PostHangSengEvaluation

Request Information

URI Parameters

None.

Body Parameters

HSEvaluationModel
NameDescriptionTypeAdditional information
AreaCode

string

None.

DistrictCode

string

None.

EstateCode

string

None.

BlockCode

string

None.

FloorCode

string

None.

FlatCode

string

None.

PlatformType

PlatformTypes

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaCode": "sample string 1",
  "DistrictCode": "sample string 2",
  "EstateCode": "sample string 3",
  "BlockCode": "sample string 4",
  "FloorCode": "sample string 5",
  "FlatCode": "sample string 6",
  "PlatformType": 0
}

text/xml

Sample:
<HSEvaluationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AreaCode>sample string 1</AreaCode>
  <BlockCode>sample string 4</BlockCode>
  <DistrictCode>sample string 2</DistrictCode>
  <EstateCode>sample string 3</EstateCode>
  <FlatCode>sample string 6</FlatCode>
  <FloorCode>sample string 5</FloorCode>
  <PlatformType>PC</PlatformType>
</HSEvaluationModel>

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

Response Information

Resource Description

HSEvaluationResult
NameDescriptionTypeAdditional information
TotalPrice

string

None.

ValuationDate

string

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPrice": "sample string 1",
  "ValuationDate": "sample string 2",
  "ResponseCode": 1,
  "AlertMessage": "sample string 3"
}

text/xml

Sample:
<HSEvaluationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 3</AlertMessage>
  <ResponseCode>Success</ResponseCode>
  <TotalPrice>sample string 1</TotalPrice>
  <ValuationDate>sample string 2</ValuationDate>
</HSEvaluationResult>