Get equipment list
GET {{baseUrl}}/equipments
Description
This API endpoint enables the retrieval of the equipment list for all created bookings.
Notes
Please ensure that you have the necessary authentication and authorization to access this endpoint.
Please note that the
isActive
,search
,equipmentType
,page
, anditemsPerPage
parameters are optional and can be used for filtering and pagination purposes.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
isActive | null | (optional, default: true) Filter equipments based on their active status. | |
search | null | (optional, default: null) Search term to filter equipments. | |
equipmentType | null | (optional, default: null) Filter equipments based on their type. | |
page | null | (optional, default: 1) Page number for pagination. | |
itemsPerPage | null | (optional, default: 5) Number of items to be displayed per page. |
RESPONSES
status: OK
{"equipments":[{"id":36,"code":"TLLU2337065","booking":{"id":473,"code":"24310001"},"equipmentType":{"id":1,"name":"Container/Chassis 20'/40'/45'"},"location":"Telfair","slot":"Loaded - Ground","status":"Gate-In","gateInDateTime":"2024-07-28T15:31:28.2156781","pinCode":"C263589","isVerified":false,"overage":{"days":0,"amount":0,"paidAmount":0}}],"totalResults":1}