index
Developing
GET
http://estate.test/api/v1{{url}}/system/purchases-requests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/purchases-requests?search=pr&projects_ids[]=1,2&status_id=accepted&created_at=2025-04-06' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
"status": "true",
"message": "Operation completed successfully",
"response": {
"data": [
{
"id": 4,
"from_user_id": 1,
"project_id": 9,
"title": "anti beside gah jumbo explode browse around yippee until",
"description": "Corporis sponte aggredior vicissitudo ager sursum ulciscor ante.",
"status": "magna ipsum",
"is_ordered": true,
"project": {
"id": 9,
"name": "Sleek Plastic Salad",
"code": "Q",
"status": "abbas",
"type": "reiciendis",
"image": "https://limited-flint.org/",
"start_work_date": "2024-07-08T04:25:14.654Z",
"end_work_date": "2024-10-07T09:36:56.963Z"
},
"fromUser": {
"id": 1,
"name": "Essie Anderson PhD",
"email": "Stuart_Kertzmann@gmail.com",
"phone": 290,
"job_title": "*=6]{^93P#",
"id_number": 2
}
}
],
"links": {
"first": "http://estate.test/api/v1/system/purchase-requests?page=1",
"last": "http://estate.test/api/v1/system/purchase-requests?page=1",
"prev": null,
"next": "http://estate.test/api/v1/system/purchase-requests?page=3"
},
"meta": {
"current_page": 1,
"from": null,
"last_page": 1,
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "http://estate.test/api/v1/system/purchase-requests?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"path": "http://estate.test/api/v1/system/purchase-requests",
"per_page": 10,
"to": null,
"total": 0
}
}
}
Request
Query Params
search
string
optional
Example:
pr
projects_ids[]
string
optional
Example:
1,2
status_id
string
optional
Example:
accepted
created_at
string
optional
Example:
2025-04-06
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-15 23:51:55