request detail
This commit is contained in:
@@ -338,6 +338,24 @@ class ApiConstants {
|
||||
static const String getSampleProjectDetail =
|
||||
'/building_material.building_material.api.sample_project.get_detail';
|
||||
|
||||
// ============================================================================
|
||||
// Design Request Endpoints (Frappe ERPNext)
|
||||
// ============================================================================
|
||||
|
||||
/// Get list of design requests (requires sid and csrf_token)
|
||||
/// POST /api/method/building_material.building_material.api.design_request.get_list
|
||||
/// Body: { "limit_start": 0, "limit_page_length": 0 }
|
||||
/// Returns: { "message": [{ "name": "...", "subject": "...", "description": "...", "dateline": "...", "status": "...", "status_color": "..." }] }
|
||||
static const String getDesignRequestList =
|
||||
'/building_material.building_material.api.design_request.get_list';
|
||||
|
||||
/// Get detail of a design request (requires sid and csrf_token)
|
||||
/// POST /api/method/building_material.building_material.api.design_request.get_detail
|
||||
/// Body: { "name": "ISS-2025-00005" }
|
||||
/// Returns: { "message": { "name": "...", "subject": "...", "description": "...", "dateline": "...", "status": "...", "status_color": "...", "files_list": [...] } }
|
||||
static const String getDesignRequestDetail =
|
||||
'/building_material.building_material.api.design_request.get_detail';
|
||||
|
||||
/// Create new project (legacy endpoint - may be deprecated)
|
||||
/// POST /projects
|
||||
static const String createProject = '/projects';
|
||||
|
||||
Reference in New Issue
Block a user