Equipment Identity
The following endpoints allow you to manage the identity of your equipments, such as enterprise, year, model, and custom fields.
Update equipment data with assetId OR serialNumber and make
Authorizations
Body
tokenstringRequired
Obtained with a successful login
assetIdnumberOptional
serialNumberstringOptional
makestringOptional
namestringOptional
categorystringOptional
The category must exist beforehand and will not be created if it does not exist
modelstringOptional
entreprisestringOptional
yearone ofOptional
numberOptional
Responses
200
Equipment has been modified
application/json
400
Error invalid request
application/json
401
Unable to authenticate the token
500
An error occurred while processing the request
application/json
patch
PATCH /v2/fleet/equipment HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"token": "text",
"assetId": 1,
"serialNumber": "text",
"make": "text",
"name": "text",
"category": "text",
"model": "text",
"entreprise": "text",
"year": 1
}
{
"status": "OK"
}
add assetCustomFields data with assetId OR serialNumber and make
Authorizations
Body
tokenstringRequired
Obtained with a successful login
assetIdnumberOptional
serialNumberstringOptional
makestringOptional
Responses
200
AssetCustomFields has been added
application/json
400
Error invalid request
application/json
401
Unable to authenticate the token
500
An error occurred while processing the request
application/json
post
POST /v2/fleet/equipment/assetCustomFields HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"token": "text",
"assetId": 1,
"serialNumber": "text",
"make": "text",
"customFields": [
{
"label": "text",
"value": "text"
}
]
}
{
"status": "OK"
}
delete assetCustomFields data with assetId OR serialNumber and make and custom fields
Authorizations
Body
tokenstringRequired
Obtained with a successful login
assetIdnumberOptional
serialNumberstringOptional
makestringOptional
Responses
200
AssetCustomFields has been deleted
application/json
400
Error invalid request
application/json
401
Unable to authenticate the token
500
An error occurred while processing the request
application/json
delete
DELETE /v2/fleet/equipment/assetCustomFields HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"token": "text",
"assetId": 1,
"serialNumber": "text",
"make": "text",
"customFields": [
{
"label": "text",
"value": "text"
}
]
}
{
"status": "OK"
}