show
Developing
GET
http://estate.test/api/v1http://estate.test/api/client/units/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://estate.test/api/client/units/1' \
--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": 9,
"building_id": 5,
"project_id": 8,
"is_for_rent": true,
"name": "Jamie Pouros",
"status": "dolor",
"url_360": "https://urban-lace.biz/",
"floor": "eu amet sunt aliqua fugiat",
"room_count": 4,
"doc_unit_number": 7,
"doc_number": 5,
"area": "dolor amet",
"bathroom_count": 1,
"is_furnished": false,
"garage": "dolore sit est consectetur",
"tax_rate": 5,
"price_before_tax": 4,
"website_price": 799.99,
"air_conditioner_count": 7,
"electricity_number_out": 3,
"electricity_number_in": 2,
"emptying_deed_number": 0,
"deed_number": 7,
"water_meter_number": 6,
"view": "aliqua exercitation ipsum",
"interface": "dolore proident anim dolor",
"ac_type": "fugiat",
"board_type": "dolore aliqua commodo Ut in",
"tax_value": 7,
"price_after_tax": 9,
"name_full": "Flora Abshire",
"project": {
"id": 4,
"name": "Oriental Metal Pizza",
"code": "d",
"status": "illo",
"type": "pecus",
"image": "https://untimely-captain.name/",
"start_work_date": "2025-05-04T15:12:51.970Z",
"end_work_date": "2025-06-26T10:22:29.542Z"
},
"building": {
"id": 3,
"name": "Yvonne Schinner",
"project_id": 5,
"type": "t",
"land_area": "aggredior",
"tax_value": 5,
"price_after_tax": 287
},
"sale": {
"id": 1,
"reason_for_pay_id": 4,
"project_id": 3,
"building_id": 4,
"unit_id": 6,
"tax_reference_number": 7,
"sale_type": "veniam ea",
"target_type": "anim veniam laboris in",
"status": "id Ut veniam"
},
"activeBooking": {
"id": 7,
"unit_id": 3,
"building_id": 1,
"client_id": 5,
"booking_open_at": "2025-10-14T23:37:43.008Z",
"booking_expired_at": "2025-08-22T10:55:12.110Z",
"booking_open_at_text": "deserunt in reprehenderit",
"booking_expired_at_text": "2025-04-17T21:38:39.255Z"
},
"nextBooking": {
"id": 6,
"unit_id": 9,
"building_id": 9,
"client_id": 7,
"booking_open_at": "2025-12-18T07:49:32.305Z",
"booking_expired_at": "2024-06-11T15:45:21.364Z",
"booking_open_at_text": "dolore sed fugiat laborum",
"booking_expired_at_text": "2025-04-18T08:05:39.813Z"
},
"client": {
"id": 1,
"name": "Shelly Herzog",
"phone": "1-299-998-0644 x995",
"email": "Karli71@yahoo.com"
},
"bookings_count": 8,
"comments_count": 7,
"sale_clients_count": 6,
"clients_count": 9,
"bookings": [
{
"id": 7,
"unit_id": 2,
"building_id": 1,
"client_id": 1,
"booking_open_at": "2025-11-15T22:24:36.460Z",
"booking_expired_at": "2024-08-05T02:00:01.325Z",
"booking_open_at_text": "ex dolor Lorem veniam",
"booking_expired_at_text": "2025-04-18T05:38:34.111Z"
}
],
"comments": [
{
"id": 8,
"model_id": 1,
"model_type": "ATS",
"comment": "Benevolentia turbo ver."
}
],
"saleClients": [
{
"id": 8,
"sale_id": 6,
"client_id": 5,
"unit_id": 1
},
{
"id": 5,
"sale_id": 4,
"client_id": 1,
"unit_id": 9
}
],
"clients": [
{
"id": 8,
"name": "Geoffrey Grant",
"phone": "1-749-417-4715 x13499",
"email": "Barton73@yahoo.com"
}
]
}
}
Request
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:24