cURL
curl --request GET \ --url http://localhost:3000/api/material-logs/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": { "_id": "<string>", "material": "<string>", "panes": [ "<string>" ], "referenceId": "<string>", "quantityChanged": 123, "totalPrice": 123, "order": "<string>", "parentLog": "<string>", "worker": "<string>", "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
Material log found
true
Show child attributes