submission
This commit is contained in:
@@ -139,3 +139,44 @@ curl --location 'https://land.dbiz.com//api/method/upload_file' \
|
||||
--form 'docname="p9ti8veq2g"' \
|
||||
--form 'optimize="true"'
|
||||
|
||||
#get detail of a project
|
||||
curl --location 'https://land.dbiz.com//api/method/building_material.building_material.api.project.get_detail' \
|
||||
--header 'Cookie: sid=a0cbe3ea6f9a7e9cf083bbe3139eada68d2357eac0167bcc66cda17d; full_name=Ha%20Duy%20Lam; sid=a0cbe3ea6f9a7e9cf083bbe3139eada68d2357eac0167bcc66cda17d; system_user=yes; user_id=lamhd%40gmail.com; user_image=/files/avatar_0986788766_1763627962.jpg' \
|
||||
--header 'X-Frappe-Csrf-Token: 6ff3be4d1f887dbebf86ba4502b05d94b30c0b0569de49b74a7171a9' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"name": "#DA00011"
|
||||
}'
|
||||
|
||||
#response
|
||||
{
|
||||
"message": {
|
||||
"success": true,
|
||||
"data": {
|
||||
"name": "#DA00011",
|
||||
"designed_area": "f67gg7",
|
||||
"address_of_project": "7fucuv",
|
||||
"project_owner": "cycu",
|
||||
"design_firm": null,
|
||||
"contruction_contractor": null,
|
||||
"design_area": 2585.0,
|
||||
"products_included_in_the_design": "thy",
|
||||
"project_progress": "k1mr565o91",
|
||||
"expected_commencement_date": "2025-11-30",
|
||||
"description": null,
|
||||
"request_date": "2025-11-27 16:51:54",
|
||||
"workflow_state": "Pending approval",
|
||||
"reason_for_rejection": null,
|
||||
"status": "Chờ phê duyệt",
|
||||
"status_color": "Warning",
|
||||
"is_allow_modify": true,
|
||||
"is_allow_cancel": true,
|
||||
"files_list": [
|
||||
{
|
||||
"name": "0068d2403c",
|
||||
"file_url": "https://land.dbiz.com/private/files/image_picker_32BD79E6-7A71-448E-A5DF-6DA7D12A1303-66894-000015E4259DBB5B.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user