show
Developing
GET
http://estate.test/api/v1{{url}}/system/units/4
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/units/4' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
"status": "success",
"message": "Operation completed successfully",
"data": {
"id": 4,
"building_id": 0,
"project_id": 1,
"is_for_rent": true,
"name": "Luis Stiedemann",
"status": "incididunt proident est",
"url_360": "https://witty-galoshes.biz/",
"floor": "amet esse elit irure",
"room_count": 7,
"doc_unit_number": 8,
"doc_number": 3,
"area": "sit ad eu dolore et",
"bathroom_count": 6,
"is_furnished": false,
"garage": "Ut pariatur",
"tax_rate": 6,
"price_before_tax": 7,
"website_price": 232.39,
"air_conditioner_count": 3,
"electricity_number_out": 5,
"electricity_number_in": 6,
"emptying_deed_number": 8,
"deed_number": 1,
"water_meter_number": 3,
"view": "proident",
"interface": "est",
"ac_type": "ut velit adipisicing",
"board_type": "aute id",
"tax_value": 0,
"price_after_tax": 8,
"name_full": "Myrtle McKenzie DDS",
"project": {
"id": 2,
"name": "Bespoke Plastic Hat",
"code": "3",
"status": "timidus",
"type": "basium",
"image": "https://stable-lifestyle.org/",
"start_work_date": "2025-05-02T03:02:19.828Z",
"end_work_date": "2024-04-29T05:50:49.674Z"
},
"building": {
"id": 4,
"name": "Dr. Lula Roob",
"project_id": 9,
"type": "J",
"land_area": "blanditiis",
"tax_value": 6,
"price_after_tax": 242
},
"sale": {
"id": 9,
"reason_for_pay_id": -43274638.4663266,
"project_id": 7,
"building_id": 2,
"unit_id": 2,
"tax_reference_number": 7,
"sale_type": "dolor incididunt",
"target_type": "cupidatat ut officia dolore id",
"status": "eiusmod dolore elit"
},
"activeBooking": {
"id": 8,
"unit_id": 9,
"building_id": 1,
"client_id": 4,
"booking_open_at": "2025-04-08T19:32:25.554Z",
"booking_expired_at": "2024-11-26T03:44:17.799Z",
"booking_open_at_text": "occaecat",
"booking_expired_at_text": "2025-04-18T02:41:00.202Z"
},
"nextBooking": {
"id": 0,
"unit_id": 4,
"building_id": 5,
"client_id": 4,
"booking_open_at": "2024-12-17T06:03:45.223Z",
"booking_expired_at": "2026-01-26T08:03:56.007Z",
"booking_open_at_text": "exercitation ad deserunt",
"booking_expired_at_text": "2025-04-18T11:54:54.141Z"
},
"client": {
"id": 3,
"name": "Dr. Jeffery Harber",
"phone": "(925) 737-2863 x9105",
"email": "Roselyn_Schinner@gmail.com"
},
"bookings_count": 4,
"comments_count": 3,
"sale_clients_count": 4,
"clients_count": 7,
"bookings": [
{
"id": 7,
"unit_id": 5,
"building_id": 4,
"client_id": 8,
"booking_open_at": "2024-09-14T00:19:19.348Z",
"booking_expired_at": "2025-09-24T18:49:10.442Z",
"booking_open_at_text": "et ea sed commodo dolor",
"booking_expired_at_text": "2025-04-18T04:28:42.606Z"
}
],
"comments": [
{
"id": 3,
"model_id": 5,
"model_type": "Alpine",
"comment": "Aptus suadeo accusator sollicito sequi tempore."
},
{
"id": 9,
"model_id": 6,
"model_type": "Civic",
"comment": "Audeo debeo conscendo tersus reprehenderit tum sollicito."
},
{
"id": 9,
"model_id": 9,
"model_type": "Charger",
"comment": "Adficio conatus coniuratio."
}
],
"saleClients": [
{
"id": 9,
"sale_id": 0,
"client_id": 9,
"unit_id": 0
}
],
"clients": [
{
"id": 2,
"name": "Roy Heller DDS",
"phone": "271.908.2472 x9796",
"email": "Johann55@gmail.com"
},
{
"id": 4,
"name": "Leland Kling III",
"phone": "1-759-969-3321",
"email": "Forest78@gmail.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 10:36:11