Equipment

get_equipment

Get list of equipment for the authenticated user's organization

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

searchstring

Search term for equipment name, model, or serial number

relationsArray<string>

Relations to include (e.g., ["assignedTo", "image", "tags", "equipmentSharings"])

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGED

Filter by equipment status

assignedToEmployeeIdstring<uuid>

Filter by assigned employee ID

manufacturerstring

Filter by manufacturer

availableboolean

Filter by availability (status = AVAILABLE)

get_equipment_count

Get equipment count in the authenticated user's organization

Parameters

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGED

Filter by equipment status

assignedToEmployeeIdstring<uuid>

Filter by assigned employee ID

manufacturerstring

Filter by manufacturer

get_equipment_by_id

Get a specific equipment by ID

Parameters

idstring<uuid>required

The equipment ID

relationsArray<string>

Relations to include (e.g., ["assignedTo", "image", "tags", "equipmentSharings"])

create_equipment

Create a new equipment in the authenticated user's organization

Body

application/json
equipment_dataobjectrequired

The data for creating the equipment

Show child attributes
namestringrequired

The name (required)

[key: string]any

update_equipment

Update an existing equipment

Parameters

idstring<uuid>required

The equipment ID

equipment_dataobjectrequired

The data for updating the equipment

update_equipment_status

Update the status of equipment

Parameters

idstring<uuid>required

The equipment ID

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGEDrequired

The new status for the equipment

assign_equipment

Assign equipment to an employee

Parameters

idstring<uuid>required

The equipment ID

employeeIdstring<uuid>required

The employee ID to assign to

unassign_equipment

Unassign equipment from an employee (make it available)

Parameters

idstring<uuid>required

The equipment ID

delete_equipment

Delete equipment

Parameters

idstring<uuid>required

The equipment ID

get_equipment_by_employee

Get equipment assigned to a specific employee

Parameters

employeeIdstring<uuid>required

The employee ID

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGED

Filter by equipment status

relationsArray<string>

Relations to include

get_my_equipment

Get equipment assigned to the current authenticated user

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGED

Filter by equipment status

relationsArray<string>

Relations to include

get_available_equipment

Get available (unassigned) equipment for the authenticated user's organization

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

manufacturerstring

Filter by manufacturer

relationsArray<string>

Relations to include

get_equipment_statistics

Get equipment statistics for the authenticated user's organization

Parameters

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

manufacturerstring

Filter by manufacturer

groupBystringtypestatusmanufacturerassignee

Group statistics by

request_equipment_sharing

Request to share equipment with another employee

Parameters

equipmentIdstring<uuid>required

The equipment ID

shareWithEmployeeIdstring<uuid>required

The employee ID to share with

shareStartDatestringrequired

The start date for sharing (ISO format)

shareEndDatestringrequired

The end date for sharing (ISO format)

reasonstring

Reason for sharing request

get_equipment_sharing_requests

Get equipment sharing requests

Parameters

equipmentIdstring<uuid>

Filter by equipment ID

employeeIdstring<uuid>

Filter by employee ID

statusstring

Filter by sharing status

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

search_equipment

Search equipment by name, model, serial number, or description

Parameters

querystringrequired

Search query

limitnumber20

Maximum number of results

typestringLAPTOPDESKTOPMONITORMOBILEPRINTERFURNITURESOFTWARE_LICENSEOTHER

Filter by equipment type

statusstringAVAILABLEASSIGNEDIN_REPAIRRETIREDLOSTDAMAGED

Filter by equipment status

manufacturerstring

Filter by manufacturer

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey