cURL
curl --request GET \ --url http://localhost:3000/api/claims/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": { "_id": "<string>", "claimNumber": "CLM-0001", "order": "<string>", "pane": "<string>", "material": "<string>", "description": "<string>", "defectStation": "<string>", "reportedBy": "<string>", "status": "pending", "approvedBy": "<string>", "remadePane": "<string>", "photos": [], "claimDate": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Resource ID
Claim found
true
Show child attributes