Equipment Identity

The following endpoints allow you to manage the identity of your equipments, such as enterprise, year, model, and custom fields.

Update Equipment Identity

patch

Update equipment data with assetId or (serialNumber AND make)

Authorizations
Body
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
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: 125

{
  "assetId": 1,
  "serialNumber": "text",
  "make": "text",
  "name": "text",
  "category": "text",
  "model": "text",
  "entreprise": "text",
  "year": 1
}
{
  "status": "OK"
}

Add Custom Fields to Equipment

post

add assetCustomFields data with assetId or (serialNumber AND make)

Authorizations
Body
assetIdnumberOptional
serialNumberstringOptional
makestringOptional
Responses
200

AssetCustomFields has been added

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: 98

{
  "assetId": 1,
  "serialNumber": "text",
  "make": "text",
  "customFields": [
    {
      "label": "text",
      "value": "text"
    }
  ]
}
{
  "status": "OK"
}

Remove Custom Fields from Equipment

delete

delete assetCustomFields data with assetId or (serialNumber AND make)

Authorizations
Body
assetIdnumberOptional
serialNumberstringOptional
makestringOptional
Responses
200

AssetCustomFields has been deleted

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: 98

{
  "assetId": 1,
  "serialNumber": "text",
  "make": "text",
  "customFields": [
    {
      "label": "text",
      "value": "text"
    }
  ]
}
{
  "status": "OK"
}

Was this helpful?