E-State
  1. Purchase Requests
E-State
  • Prepare Api
  • E-state
    • Client
      • Attention Requests
        • index
        • store
        • show
      • Auth
        • profile
        • logout
        • register
        • login
      • Units
        • index
        • show
        • units client
      • 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
          GET
        • show
          GET
      • Rental Requests
        • rental-requests
        • show rental-requests
  1. Purchase Requests

show

Developing
GET
http://estate.test/api/v1{{url}}/system/purchases-requests/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/purchases-requests/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": 1,
        "from_user_id": 5,
        "project_id": 4,
        "title": "impressionable an prioritize well gloat eek rightfully before",
        "description": "Nostrum arbitro amoveo vicinus aspicio.",
        "status": "magna",
        "is_ordered": true,
        "project": {
            "id": 2,
            "name": "Awesome Cotton Shoes",
            "code": "b",
            "status": "adinventitias",
            "type": "delectatio",
            "image": "https://liquid-travel.biz/",
            "start_work_date": "2025-09-13T12:56:12.254Z",
            "end_work_date": "2025-06-07T18:57:04.940Z"
        },
        "fromUser": {
            "id": 9,
            "name": "Rick Weimann",
            "email": "Denis62@hotmail.com",
            "phone": 622,
            "job_title": "2FF%zQDY?7",
            "id_number": 6
        },
        "details": [
            {
                "id": 4,
                "material_id": 3,
                "purchase_request_id": 7,
                "amount": 5,
                "technical_specifications": "consequat cupidatat irure"
            },
            {
                "id": 6,
                "material_id": 4,
                "purchase_request_id": 9,
                "amount": 8,
                "technical_specifications": "pariatur Duis dolor non ex"
            },
            {
                "id": 9,
                "material_id": 8,
                "purchase_request_id": 9,
                "amount": 2,
                "technical_specifications": "cupidatat"
            }
        ],
        "comments": [
            {
                "id": 3,
                "model_id": 3,
                "model_type": "Model T",
                "comment": "Pax animi quia hic atque."
            },
            {
                "id": 3,
                "model_id": 2,
                "model_type": "Cruze",
                "comment": "Tersus contabesco conqueror demonstro conicio aranea thymum vester."
            }
        ],
        "orders": [
            {
                "id": 1,
                "title": "extremely wobbly joyfully for inborn limping vivaciously pinion internal",
                "payment_terms": "aliquip",
                "supplying_duration": "sint ad et",
                "status": "cupidatat voluptate qui eiusmod sit",
                "total": 3
            },
            {
                "id": 2,
                "title": "whoa dusk separately wallop",
                "payment_terms": "sed sit magna mollit proident",
                "supplying_duration": "Excepteur aliqua ea",
                "status": "magna dolor",
                "total": 0
            }
        ],
        "offers": [
            {
                "id": 7,
                "status": "ipsum in Excepteur",
                "description": "Vester contra xiphias vir curvo asperiores barba cotidie desipio.",
                "offer_number": 9,
                "total": 7
            },
            {
                "id": 1,
                "status": "non tempor",
                "description": "Amoveo virtus dicta curriculum sto et absum est.",
                "offer_number": 0,
                "total": 8
            }
        ]
    }
}

Request

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 (PurchaseRequest) 
required
id
number 
required
from_user_id
number 
required
project_id
number 
required
title
string 
required
description
string 
required
status
string 
required
is_ordered
boolean 
required
project
object (Project Simple) 
required
fromUser
object (User Simple) 
required
details
array[object (PurchaseRequestDetails) {5}] 
required
comments
array[object (Comment) {4}] 
required
orders
array[object (PurchaseOrder Simple) {6}] 
required
offers
array[object (PurchaseRequestOffer Simple) {5}] 
required
Modified at 2025-04-10 14:23:30
Previous
index
Next
rental-requests
Built with