create submission
This commit is contained in:
@@ -289,6 +289,25 @@ class ApiConstants {
|
||||
static const String getProjectList =
|
||||
'/building_material.building_material.api.project.get_list';
|
||||
|
||||
/// Save (create/update) project submission
|
||||
/// POST /api/method/building_material.building_material.api.project.save
|
||||
/// Body: {
|
||||
/// "name": "...", // optional for new, required for update
|
||||
/// "designed_area": "Project Name",
|
||||
/// "address_of_project": "...",
|
||||
/// "project_owner": "...",
|
||||
/// "design_firm": "...",
|
||||
/// "contruction_contractor": "...",
|
||||
/// "design_area": 350.5,
|
||||
/// "products_included_in_the_design": "...",
|
||||
/// "project_progress": "progress_id", // from ProjectProgress.id
|
||||
/// "expected_commencement_date": "2026-01-15",
|
||||
/// "description": "...",
|
||||
/// "request_date": "2025-11-26 09:30:00"
|
||||
/// }
|
||||
static const String saveProject =
|
||||
'/building_material.building_material.api.project.save';
|
||||
|
||||
/// Create new project (legacy endpoint - may be deprecated)
|
||||
/// POST /projects
|
||||
static const String createProject = '/projects';
|
||||
|
||||
Reference in New Issue
Block a user