Get equipment by code

GET {{baseUrl}}/equipments/:equipmentCode

Description

This API endpoint allows users to retrieve equipment details by entering the :equipmentCode.

Notes

  • Please ensure that you have the necessary authentication and authorization to access this endpoint.

  • You must provide a valid :equipmentId in the URL to get details for a specific equipment.

RESPONSES

status: OK

{"data":{"id":12,"code":"432434","booking":{"id":60,"code":"23320002"},"equipmentType":{"id":1,"name":"Container/Chassis (20'/40'/45')"},"location":"Savannah","slot":"A1-011","status":"Gate-In","gateIn":"2023-08-05T22:20:05.9133955","pinCode":"-","verified":false,"overage":{"days":7,"amount":77,"paidAmount":77}}}