show
Developing
GET
http://estate.test/api/v1{{url}}/system/discounts/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/discounts/1' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC' \
--header 'x-api-key;'
Response Response Example
{
"status": "true",
"message": "Operation completed successfully",
"data": {
"id": 1,
"unit_id": 5,
"client_id": 4,
"status_updated_by_user_id": 3,
"project_id": 4,
"building_id": 9,
"name": "Mr. Cody Morar DDS",
"type": "ullamco aute ut consequat Lorem",
"max_value": "cillum",
"name_text": "Delia Senger",
"value_type_icon": "https://avatars.githubusercontent.com/u/22289169",
"value_type": "et Ut",
"value": "anim est",
"start_date": "2024-10-30T20:56:05.530Z",
"end_date": "2025-02-05T05:58:24.320Z",
"status": "consequat eu ut esse nostrud",
"status_updated_at": "2024-08-17T09:28:09.669Z",
"target_type": "id officia labore",
"project": {
"id": 3,
"name": "Tasty Rubber Chicken",
"code": "s",
"status": "coepi",
"type": "conservo",
"image": "https://some-hexagon.net",
"start_work_date": "2025-09-19T02:21:50.278Z",
"end_work_date": "2025-04-05T21:47:46.923Z"
},
"building": {
"id": 9,
"name": "Frederick Reynolds-Jacobs",
"project_id": 8,
"type": "W",
"land_area": "armarium",
"tax_value": 4,
"price_after_tax": 845
},
"client": {
"id": 4,
"name": "Candice Nitzsche",
"phone": "752.813.1162",
"email": "Eldora.Senger32@yahoo.com"
},
"unit": {
"id": 6,
"building_id": 5,
"project_id": 1,
"is_for_rent": false,
"name": "Dixie Wolf",
"status": "magna",
"floor": "labore in commodo ex dolore",
"room_count": 3,
"bathroom_count": 0
},
"statusUpdatedByUser": {
"id": 1,
"name": "Heather Jakubowski",
"email": "Cathrine.Thiel@hotmail.com",
"phone": 534.998,
"job_title": "/:UEoP8z*s",
"id_number": 1
},
"projects_count": 8,
"projects": [
{
"id": 4,
"name": "Refined Fresh Chair",
"code": "A",
"status": "coniuratio",
"type": "pariatur",
"image": "https://polished-equal.net/",
"start_work_date": "2025-11-14T04:37:49.425Z",
"end_work_date": "2025-06-21T05:40:07.148Z"
}
]
}
}
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-10 14:42:37