Estimate Forms

Manage estimate forms with dynamic fields. Ability to create, edit, and sort forms and their fields.

Available Endpoints

Method Path Description
GET /api/estimate-forms List estimate forms
GET /api/estimate-forms/{id} View form details
POST /api/estimate-forms Create new form
PUT /api/estimate-forms/{id} Full update of a form
PATCH /api/estimate-forms/{id} Partial update of a form
DELETE /api/estimate-forms/{id} Delete a form
GET /api/estimate-forms/{id}/fields Get form fields
POST /api/estimate-forms/{id}/fields Add new field to form
PUT /api/estimate-forms/{id}/fields/{field_id} Full update of a field
PATCH /api/estimate-forms/{id}/fields/{field_id} Partial update of a field
DELETE /api/estimate-forms/{id}/fields/{field_id} Delete a field
POST /api/estimate-forms/{id}/fields/sort Sort fields

Example Request

curl -X GET "https://example.com/api/estimate-forms" \
  -H "Authorization: Bearer {token}"

Success Response (200)

{
  "records": [],
  "meta": {
    "total": 0,
    "current_page": 1,
    "per_page": 20
  }
}

Errors

Code Description
401 Invalid token
403 Access denied
404 Record not found
422 Validation error
Type to search...