GET api/Products/GetCustomerAgreeably?ProductDemandId={ProductDemandId}&CurrentPage={CurrentPage}&RowPerPage={RowPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductDemandId

integer

Required

CurrentPage

integer

None.

RowPerPage

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerDemandModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Customer

string

None.

Phone

string

None.

Email

string

None.

Province

string

None.

District

string

None.

Ward

string

None.

Type

string

None.

Project

string

None.

AreaFrom

decimal number

None.

AreaTo

decimal number

None.

LengthFrom

decimal number

None.

LengthTo

decimal number

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.

PriceFrom

decimal number

None.

PriceTo

decimal number

None.

Direction

string

None.

Legal

string

None.

Source

string

None.

Title

string

None.

EmployeeCreate

string

None.

DateCreate

date

None.

EmployeeSale

string

None.

EmployeeModify

string

None.

DateModify

date

None.

EmployeeIdSale

integer

None.

TotalView

integer

None.

CommissionType

string

None.

CommissionRate

decimal number

None.

CommissionValue

decimal number

None.

TypeDemand

string

None.

Unit

string

None.

Total

integer

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "customer": "sample string 3",
    "phone": "sample string 4",
    "email": "sample string 5",
    "province": "sample string 6",
    "district": "sample string 7",
    "ward": "sample string 8",
    "type": "sample string 9",
    "project": "sample string 10",
    "areaFrom": 11.0,
    "areaTo": 12.0,
    "lengthFrom": 13.0,
    "lengthTo": 14.0,
    "floorFrom": 64,
    "floorTo": 64,
    "livingroomFrom": 64,
    "livingroomTo": 64,
    "bedroomFrom": 64,
    "bedroomTo": 64,
    "toiletFrom": 64,
    "toiletTo": 64,
    "priceFrom": 23.0,
    "priceTo": 24.0,
    "direction": "sample string 25",
    "legal": "sample string 26",
    "source": "sample string 27",
    "title": "sample string 28",
    "employeeCreate": "sample string 29",
    "dateCreate": "2025-12-06T12:28:47.9026466+07:00",
    "employeeSale": "sample string 30",
    "employeeModify": "sample string 31",
    "dateModify": "2025-12-06T12:28:47.9026466+07:00",
    "employeeIdSale": 32,
    "totalView": 33,
    "commissionType": "sample string 34",
    "commissionRate": 35.0,
    "commissionValue": 36.0,
    "typeDemand": "sample string 37",
    "unit": "sample string 38",
    "total": 39,
    "description": "sample string 40"
  },
  {
    "id": 1,
    "code": "sample string 2",
    "customer": "sample string 3",
    "phone": "sample string 4",
    "email": "sample string 5",
    "province": "sample string 6",
    "district": "sample string 7",
    "ward": "sample string 8",
    "type": "sample string 9",
    "project": "sample string 10",
    "areaFrom": 11.0,
    "areaTo": 12.0,
    "lengthFrom": 13.0,
    "lengthTo": 14.0,
    "floorFrom": 64,
    "floorTo": 64,
    "livingroomFrom": 64,
    "livingroomTo": 64,
    "bedroomFrom": 64,
    "bedroomTo": 64,
    "toiletFrom": 64,
    "toiletTo": 64,
    "priceFrom": 23.0,
    "priceTo": 24.0,
    "direction": "sample string 25",
    "legal": "sample string 26",
    "source": "sample string 27",
    "title": "sample string 28",
    "employeeCreate": "sample string 29",
    "dateCreate": "2025-12-06T12:28:47.9026466+07:00",
    "employeeSale": "sample string 30",
    "employeeModify": "sample string 31",
    "dateModify": "2025-12-06T12:28:47.9026466+07:00",
    "employeeIdSale": 32,
    "totalView": 33,
    "commissionType": "sample string 34",
    "commissionRate": 35.0,
    "commissionValue": 36.0,
    "typeDemand": "sample string 37",
    "unit": "sample string 38",
    "total": 39,
    "description": "sample string 40"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerDemandModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Customer">
  <CustomerDemandModel>
    <AreaFrom>11</AreaFrom>
    <AreaTo>12</AreaTo>
    <BedroomFrom>64</BedroomFrom>
    <BedroomTo>64</BedroomTo>
    <Code>sample string 2</Code>
    <CommissionRate>35</CommissionRate>
    <CommissionType>sample string 34</CommissionType>
    <CommissionValue>36</CommissionValue>
    <Customer>sample string 3</Customer>
    <DateCreate>2025-12-06T12:28:47.9026466+07:00</DateCreate>
    <DateModify>2025-12-06T12:28:47.9026466+07:00</DateModify>
    <Description>sample string 40</Description>
    <Direction>sample string 25</Direction>
    <District>sample string 7</District>
    <Email>sample string 5</Email>
    <EmployeeCreate>sample string 29</EmployeeCreate>
    <EmployeeIdSale>32</EmployeeIdSale>
    <EmployeeModify>sample string 31</EmployeeModify>
    <EmployeeSale>sample string 30</EmployeeSale>
    <FloorFrom>64</FloorFrom>
    <FloorTo>64</FloorTo>
    <Id>1</Id>
    <Legal>sample string 26</Legal>
    <LengthFrom>13</LengthFrom>
    <LengthTo>14</LengthTo>
    <LivingroomFrom>64</LivingroomFrom>
    <LivingroomTo>64</LivingroomTo>
    <Phone>sample string 4</Phone>
    <PriceFrom>23</PriceFrom>
    <PriceTo>24</PriceTo>
    <Project>sample string 10</Project>
    <Province>sample string 6</Province>
    <Source>sample string 27</Source>
    <Title>sample string 28</Title>
    <ToiletFrom>64</ToiletFrom>
    <ToiletTo>64</ToiletTo>
    <Total>39</Total>
    <TotalView>33</TotalView>
    <Type>sample string 9</Type>
    <TypeDemand>sample string 37</TypeDemand>
    <Unit>sample string 38</Unit>
    <Ward>sample string 8</Ward>
  </CustomerDemandModel>
  <CustomerDemandModel>
    <AreaFrom>11</AreaFrom>
    <AreaTo>12</AreaTo>
    <BedroomFrom>64</BedroomFrom>
    <BedroomTo>64</BedroomTo>
    <Code>sample string 2</Code>
    <CommissionRate>35</CommissionRate>
    <CommissionType>sample string 34</CommissionType>
    <CommissionValue>36</CommissionValue>
    <Customer>sample string 3</Customer>
    <DateCreate>2025-12-06T12:28:47.9026466+07:00</DateCreate>
    <DateModify>2025-12-06T12:28:47.9026466+07:00</DateModify>
    <Description>sample string 40</Description>
    <Direction>sample string 25</Direction>
    <District>sample string 7</District>
    <Email>sample string 5</Email>
    <EmployeeCreate>sample string 29</EmployeeCreate>
    <EmployeeIdSale>32</EmployeeIdSale>
    <EmployeeModify>sample string 31</EmployeeModify>
    <EmployeeSale>sample string 30</EmployeeSale>
    <FloorFrom>64</FloorFrom>
    <FloorTo>64</FloorTo>
    <Id>1</Id>
    <Legal>sample string 26</Legal>
    <LengthFrom>13</LengthFrom>
    <LengthTo>14</LengthTo>
    <LivingroomFrom>64</LivingroomFrom>
    <LivingroomTo>64</LivingroomTo>
    <Phone>sample string 4</Phone>
    <PriceFrom>23</PriceFrom>
    <PriceTo>24</PriceTo>
    <Project>sample string 10</Project>
    <Province>sample string 6</Province>
    <Source>sample string 27</Source>
    <Title>sample string 28</Title>
    <ToiletFrom>64</ToiletFrom>
    <ToiletTo>64</ToiletTo>
    <Total>39</Total>
    <TotalView>33</TotalView>
    <Type>sample string 9</Type>
    <TypeDemand>sample string 37</TypeDemand>
    <Unit>sample string 38</Unit>
    <Ward>sample string 8</Ward>
  </CustomerDemandModel>
</ArrayOfCustomerDemandModel>