List all Proposals
GET/api/proposals
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| 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"
}