GET api/CustomerDemand/Detail?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerDemandDetailModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

CustomerId

integer

None.

IsBuy

boolean

None.

ProjectId

integer

None.

ProvinceId

integer

None.

DistrictListId

string

None.

DistrictListName

string

None.

WardListId

string

None.

WardListName

string

None.

DirectionListId

string

None.

DirectionListName

string

None.

TypeId

integer

None.

RoadId

integer

None.

AreaFrom

decimal number

None.

AreaTo

decimal number

None.

LengthFrom

integer

None.

LengthTo

integer

None.

FloorFrom

byte

None.

FloorTo

byte

None.

LivingroomFrom

byte

None.

LivingroomTo

byte

None.

BedroomFrom

byte

None.

BedroomTo

byte

None.

ToiletFrom

byte

None.

ToiletTo

byte

None.

UnitPrice

byte

None.

StatusId

byte

None.

PriceFrom

decimal number

None.

PriceTo

decimal number

None.

CommissionRate

decimal number

None.

CommissionValue

decimal number

None.

CommissionType

byte

None.

ShortDescription

string

None.

Title

string

None.

LegalId

integer

None.

SourceId

integer

None.

LevelId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "customerId": 3,
  "isBuy": true,
  "projectId": 5,
  "provinceId": 6,
  "districtListId": "sample string 7",
  "districtListName": "sample string 8",
  "wardListId": "sample string 9",
  "wardListName": "sample string 10",
  "directionListId": "sample string 11",
  "directionListName": "sample string 12",
  "typeId": 1,
  "roadId": 1,
  "areaFrom": 13.0,
  "areaTo": 14.0,
  "lengthFrom": 15,
  "lengthTo": 16,
  "floorFrom": 64,
  "floorTo": 64,
  "livingroomFrom": 64,
  "livingroomTo": 64,
  "bedroomFrom": 64,
  "bedroomTo": 64,
  "toiletFrom": 64,
  "toiletTo": 64,
  "unitPrice": 64,
  "statusId": 64,
  "priceFrom": 27.0,
  "priceTo": 28.0,
  "commissionRate": 29.0,
  "commissionValue": 30.0,
  "commissionType": 64,
  "shortDescription": "sample string 32",
  "title": "sample string 33",
  "legalId": 1,
  "sourceId": 1,
  "levelId": 1
}

application/xml, text/xml

Sample:
<CustomerDemandDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Customer">
  <AreaFrom>13</AreaFrom>
  <AreaTo>14</AreaTo>
  <BedroomFrom>64</BedroomFrom>
  <BedroomTo>64</BedroomTo>
  <Code>sample string 2</Code>
  <CommissionRate>29</CommissionRate>
  <CommissionType>64</CommissionType>
  <CommissionValue>30</CommissionValue>
  <CustomerId>3</CustomerId>
  <DirectionListId>sample string 11</DirectionListId>
  <DirectionListName>sample string 12</DirectionListName>
  <DistrictListId>sample string 7</DistrictListId>
  <DistrictListName>sample string 8</DistrictListName>
  <FloorFrom>64</FloorFrom>
  <FloorTo>64</FloorTo>
  <Id>1</Id>
  <IsBuy>true</IsBuy>
  <LegalId>1</LegalId>
  <LengthFrom>15</LengthFrom>
  <LengthTo>16</LengthTo>
  <LevelId>1</LevelId>
  <LivingroomFrom>64</LivingroomFrom>
  <LivingroomTo>64</LivingroomTo>
  <PriceFrom>27</PriceFrom>
  <PriceTo>28</PriceTo>
  <ProjectId>5</ProjectId>
  <ProvinceId>6</ProvinceId>
  <RoadId>1</RoadId>
  <ShortDescription>sample string 32</ShortDescription>
  <SourceId>1</SourceId>
  <StatusId>64</StatusId>
  <Title>sample string 33</Title>
  <ToiletFrom>64</ToiletFrom>
  <ToiletTo>64</ToiletTo>
  <TypeId>1</TypeId>
  <UnitPrice>64</UnitPrice>
  <WardListId>sample string 9</WardListId>
  <WardListName>sample string 10</WardListName>
</CustomerDemandDetailModel>