GET api/Products/Detail?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductDetailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| CustomerId | integer |
None. |
|
| ProvinceId | integer |
None. |
|
| DistrictId | integer |
None. |
|
| WardId | integer |
None. |
|
| StreetId | integer |
None. |
|
| ApartmentNo | string |
None. |
|
| Address | string |
None. |
|
| TypeId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| Area | string |
None. |
|
| Price | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| PriceOriginal | decimal number |
None. |
|
| AreaLand | decimal number |
None. |
|
| HorizontalLand | decimal number |
None. |
|
| LenghtLand | decimal number |
None. |
|
| AreaBuild | decimal number |
None. |
|
| HorizontalBuild | decimal number |
None. |
|
| LenghtBuild | decimal number |
None. |
|
| Livingroom | byte |
None. |
|
| Bedroom | byte |
None. |
|
| Toilet | byte |
None. |
|
| HighFloor | decimal number |
None. |
|
| Roadway | decimal number |
None. |
|
| DirectionId | integer |
None. |
|
| LegalId | integer |
None. |
|
| SourceId | integer |
None. |
|
| ImageUrl | string |
None. |
|
| Title | string |
None. |
|
| Structure | string |
None. |
|
| StatusQuo | string |
None. |
|
| Description | string |
None. |
|
| FeatureHighlight | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| RoadId | integer |
None. |
|
| LevelId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"code": "sample string 2",
"customerId": 3,
"provinceId": 4,
"districtId": 5,
"wardId": 6,
"streetId": 7,
"apartmentNo": "sample string 8",
"address": "sample string 9",
"typeId": 10,
"projectId": 11,
"area": "sample string 12",
"price": 13.0,
"totalPrice": 14.0,
"priceOriginal": 15.0,
"areaLand": 16.0,
"horizontalLand": 17.0,
"lenghtLand": 18.0,
"areaBuild": 19.0,
"horizontalBuild": 20.0,
"lenghtBuild": 21.0,
"livingroom": 64,
"bedroom": 64,
"toilet": 64,
"highFloor": 25.0,
"roadway": 26.0,
"directionId": 27,
"legalId": 28,
"sourceId": 29,
"imageUrl": "sample string 30",
"title": "sample string 31",
"structure": "sample string 32",
"statusQuo": "sample string 33",
"description": "sample string 34",
"featureHighlight": "sample string 35",
"latitude": 36.1,
"longitude": 37.1,
"roadId": 38,
"levelId": 39
}
application/xml, text/xml
Sample:
<ProductDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product"> <Address>sample string 9</Address> <ApartmentNo>sample string 8</ApartmentNo> <Area>sample string 12</Area> <AreaBuild>19</AreaBuild> <AreaLand>16</AreaLand> <Bedroom>64</Bedroom> <Code>sample string 2</Code> <CustomerId>3</CustomerId> <Description>sample string 34</Description> <DirectionId>27</DirectionId> <DistrictId>5</DistrictId> <FeatureHighlight>sample string 35</FeatureHighlight> <HighFloor>25</HighFloor> <HorizontalBuild>20</HorizontalBuild> <HorizontalLand>17</HorizontalLand> <Id>1</Id> <ImageUrl>sample string 30</ImageUrl> <Latitude>36.1</Latitude> <LegalId>28</LegalId> <LenghtBuild>21</LenghtBuild> <LenghtLand>18</LenghtLand> <LevelId>39</LevelId> <Livingroom>64</Livingroom> <Longitude>37.1</Longitude> <Price>13</Price> <PriceOriginal>15</PriceOriginal> <ProjectId>11</ProjectId> <ProvinceId>4</ProvinceId> <RoadId>38</RoadId> <Roadway>26</Roadway> <SourceId>29</SourceId> <StatusQuo>sample string 33</StatusQuo> <StreetId>7</StreetId> <Structure>sample string 32</Structure> <Title>sample string 31</Title> <Toilet>64</Toilet> <TotalPrice>14</TotalPrice> <TypeId>10</TypeId> <WardId>6</WardId> </ProductDetailModel>