List all Proposals

GET/api/proposals

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
client_id Number optional Optional filter by client ID
status String optional Optional filter by status (draft, sent, accepted, declined)
curl -X GET "https://yoursite.com/api/proposals" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

{
		"id": "1",
		"client_id": "2",
		"proposal_date": "2021-09-15",
		"valid_until": "2021-10-15",
		"status": "sent",
		"note": "Proposal for new project",
		"tax_id": "1",
		"project_id": "1",
		"discount_amount": "5",
		"discount_amount_type": "percentage"
}
MethodGET
Path/api/proposals
GroupProposals
Sincev1.0.0
Defined inRestApi/Controllers/ProposalsController.php