Skip to content
Enrico edited this page Nov 21, 2022 · 1 revision

Items

This request is used in autosuggest to fetch items with the typed initials.

Requests:

GET /v2/autosuggest/code?q={chars}

where chars is the initials of the item

Example:
/v2/autosuggest/code?q=hdd1
return up to 10 items with initial code hdd1 (ex. hdd101, hdd105 etc...)

Locations

This request is used in autosuggest to fetch locations with the typed initials.

Requests:

GET /v2/autosuggest/location?q={chars}

where chars is the initials of the item, returns an array of object with name and color (might be null) of the locations. max 10 locations

Example:

GET /v2/autosuggest/location?q=box

[
   {
      "name" : "CpuBox",
      "color" : null
   },
   {
      "name" : "RamBox",
      "color" : "red"
   }
]
Clone this wiki locally