units client
Developing
GET
http://estate.test/api/v1{{url}}/client/units/client
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/client/units/client?search=uni&projects_ids[]=1&building_ids[]=1&unit_ids[]=3,4&status=booked&project_status=under_sale&sale_type=for_rent&emptying_status=in_emptying&orbon_status=with_orbon&client_id=1&contract_file_upload_date=2025-04-08&tax_free_status=free&purchase_method=cash&completed_at=2025-04-10&created_at=2025-04-06&reason_for_pay_id=1&receiving_status=not_receiving&garage=out&board_type=majlis_attached_to_the_hall&ac_type=hidden_split&interface=front_side&view=garden_view&floor=2' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
"status": "true",
"message": "Operation completed successfully",
"data": [
{
"id": 2,
"building_id": 3,
"project_id": 9,
"is_for_rent": false,
"name": "Christy Greenfelder",
"status": "elit do tempor",
"url_360": "https://far-thigh.name/",
"floor": "mollit ex exercitation",
"room_count": 4,
"doc_unit_number": 4,
"doc_number": 2,
"area": "ea",
"bathroom_count": 0,
"is_furnished": false,
"garage": "quis",
"tax_rate": 2,
"price_before_tax": 6,
"website_price": 646.29,
"air_conditioner_count": 8,
"electricity_number_out": 1,
"electricity_number_in": 4,
"emptying_deed_number": 6,
"deed_number": 1,
"water_meter_number": 2,
"view": "in nostrud amet dolor irure",
"interface": "nulla",
"ac_type": "tempor",
"board_type": "occaecat Lorem cupidatat id velit",
"tax_value": 0,
"price_after_tax": 6,
"name_full": "Jana Runolfsdottir",
"project": {
"id": 9,
"name": "Handmade Rubber Ball",
"code": "z",
"status": "traho",
"type": "custodia",
"image": "https://profuse-cope.name",
"start_work_date": "2025-03-20T14:53:37.414Z",
"end_work_date": "2024-05-12T00:49:19.224Z"
},
"building": {
"id": 2,
"name": "Patrick Strosin",
"project_id": 8,
"type": "T",
"land_area": "canonicus",
"tax_value": 0,
"price_after_tax": 370
},
"sale": {
"id": 2,
"reason_for_pay_id": 0,
"project_id": 6,
"building_id": 7,
"unit_id": 6,
"tax_reference_number": 2,
"sale_type": "qui laborum pariatur aliquip",
"target_type": "qui culpa consectetur anim",
"status": "nostrud aliquip"
},
"activeBooking": {
"id": 5,
"unit_id": 3,
"building_id": 3,
"client_id": 9,
"booking_open_at": "2025-12-06T06:21:33.611Z",
"booking_expired_at": "2024-05-17T21:15:50.375Z",
"booking_open_at_text": "sunt incididunt nulla",
"booking_expired_at_text": "2025-04-18T10:30:20.993Z"
},
"nextBooking": {
"id": 6,
"unit_id": 6,
"building_id": 3,
"client_id": 4,
"booking_open_at": "2025-09-19T20:52:40.479Z",
"booking_expired_at": "2025-02-06T11:25:36.172Z",
"booking_open_at_text": "et veniam consequat do amet",
"booking_expired_at_text": "2025-04-18T10:21:19.563Z"
},
"client": {
"id": 5,
"name": "Dr. Juan Medhurst",
"phone": "1-300-703-7337 x5721",
"email": "Tillman75@gmail.com"
},
"bookings_count": 0,
"comments_count": 5,
"sale_clients_count": 4,
"clients_count": 0,
"bookings": [
{
"id": 3,
"unit_id": 7,
"building_id": 8,
"client_id": 2,
"booking_open_at": "2026-03-01T07:15:47.849Z",
"booking_expired_at": "2025-02-01T09:05:48.496Z",
"booking_open_at_text": "dolor eu",
"booking_expired_at_text": "2025-04-18T03:09:29.407Z"
}
],
"comments": [
{
"id": 0,
"model_id": 2,
"model_type": "A4",
"comment": "Vaco bene sustineo contabesco bene arbustum deputo sono theologus defungo."
}
],
"saleClients": [
{
"id": 5,
"sale_id": 1,
"client_id": 9,
"unit_id": 7
}
],
"clients": [
{
"id": 2,
"name": "Christy Beer Jr.",
"phone": "(785) 514-9016 x5955",
"email": "Javon_Jast58@gmail.com"
}
]
}
]
}
Request
Query Params
search
stringÂ
optional
Example:
uni
projects_ids[]
stringÂ
optional
Example:
1
building_ids[]
stringÂ
optional
Example:
1
unit_ids[]
stringÂ
optional
Example:
3,4
status
stringÂ
optional
Example:
booked
project_status
stringÂ
optional
Example:
under_sale
sale_type
stringÂ
optional
Example:
for_rent
emptying_status
stringÂ
optional
Example:
in_emptying
orbon_status
stringÂ
optional
Example:
with_orbon
client_id
stringÂ
optional
Example:
1
contract_file_upload_date
stringÂ
optional
Example:
2025-04-08
tax_free_status
stringÂ
optional
Example:
free
purchase_method
stringÂ
optional
Example:
cash
completed_at
stringÂ
optional
Example:
2025-04-10
created_at
stringÂ
optional
Example:
2025-04-06
reason_for_pay_id
stringÂ
optional
Example:
1
receiving_status
stringÂ
optional
Example:
not_receiving
garage
stringÂ
optional
Example:
out
board_type
stringÂ
optional
Example:
majlis_attached_to_the_hall
ac_type
stringÂ
optional
Example:
hidden_split
interface
stringÂ
optional
Example:
front_side
view
stringÂ
optional
Example:
garden_view
floor
stringÂ
optional
Example:
2
Header Params
x-api-key
stringÂ
optional
Example:
{{x-api-key}}
x-secret-key
stringÂ
optional
Example:
{{x-secret-key}}
Responses
Modified at 2025-04-16 00:07:55