Get Proposal by ID

GET/api/proposals/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Proposal unique ID
curl -X GET "https://yoursite.com/api/proposals/123" \
  -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/{id}
GroupProposals
Sincev1.0.0
Defined inRestApi/Controllers/ProposalsController.php