Add New Estimate Request
POST/api/estimate-requests
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| estimate_form_id | Number | Mandatory Estimate form ID |
| client_id | Number | optional Optional Client ID |
| assigned_to | Number | optional Optional Assigned to user ID |
| status | String | optional Optional Status (new, processing, estimated, hold, canceled) |
curl -X POST "https://yoursite.com/api/estimate-requests" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "estimate_form_id": "..." }' Success-Response:
HTTP/1.1 201 Created
{ "status": 200, "messages": {"success": "Record saved"}, "id": 1 }