E-State
  1. Units
E-State
  • Prepare Api
  • E-state
    • Client
      • Attention Requests
        • index
        • store
        • show
      • Auth
        • profile
        • logout
        • register
        • login
      • Units
        • index
          GET
        • show
          GET
        • units client
          GET
      • Sales
        • index
        • show
    • System
      • Projects
        • index
        • show
      • Units
        • index
        • show units by project
        • show
      • Sales
        • SaleRefund
          • index
          • show
        • index
        • show
      • Attention Requests
        • index
        • show
      • Clients
        • index
        • show
      • Discounts
        • index
        • show
      • Lands
        • owners
        • index
        • show
        • show land owner
      • marketings
        • campaign-types
        • show campaign type
        • campaign-goals
        • show campaign goals
        • index
        • show
      • Purchase Orders
        • index
        • show
        • raise-budgets
        • show raise-budgets
      • Purchase Requests
        • index
        • show
      • Rental Requests
        • rental-requests
        • show rental-requests
  1. Units

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

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
x-api-key
string 
optional
Example:
{{x-api-key}}
x-secret-key
string 
optional
Example:
{{x-secret-key}}

Responses

🟢200Success
application/json
Body
status
string 
required
message
string 
required
data
object (Unit) 
required
id
number 
required
ID
building_id
number 
required
project_id
number 
required
is_for_rent
boolean 
optional
name
string 
required
status
string 
required
url_360
string 
optional
floor
string 
optional
room_count
number 
required
doc_unit_number
number 
optional
doc_number
number 
optional
area
string 
required
bathroom_count
number 
optional
is_furnished
boolean 
optional
garage
string 
optional
tax_rate
number 
optional
price_before_tax
number 
optional
website_price
number 
optional
air_conditioner_count
number 
optional
electricity_number_out
number 
optional
electricity_number_in
number 
optional
emptying_deed_number
number 
optional
deed_number
number 
optional
water_meter_number
number 
optional
view
string 
optional
interface
string 
optional
ac_type
string 
optional
board_type
string 
optional
tax_value
number 
optional
price_after_tax
number 
optional
name_full
string 
required
project
object (Project Simple) 
required
building
object (Building Simple) 
required
sale
object (Sale Simple) 
required
activeBooking
object (Booking Simple) 
required
nextBooking
object (Booking Simple) 
required
client
object (Client Simple) 
required
bookings_count
number 
required
comments_count
number 
required
sale_clients_count
number 
required
clients_count
number 
required
bookings
array[object (Booking Simple) {8}] 
required
comments
array[object (Comment) {4}] 
required
saleClients
array[object (SaleClient) {4}] 
required
clients
array[object (Client Simple) {4}] 
required
Modified at 2025-04-16 00:07:24
Previous
index
Next
units client
Built with