/api/v1/lookups/manufacturers
Look up manufacturers
List distinct manufacturer names recorded on assets.
Last updated
Request
GET /api/v1/lookups/manufacturers
Requires assets:read. See token permissions.
Send Authorization: Bearer YOUR_API_TOKEN and Accept: application/json.
Query parameters
-
pageinteger Optional - Page number, starting at
1; defaults to1. -
per_pageinteger Optional - Results per page, from
1to100; defaults to25. -
searchstring Optional - Filter matching names or record details. Up to 255 characters; surrounding whitespace is trimmed. Omit or send an empty value for all eligible choices.
Example
Set ASSETCENTER_API_TOKEN as described in the quick start. Replace example IDs and searches with values from your organization.
curl --request GET "https://my.assetcenter.app/api/v1/lookups/manufacturers?search=Len" \
--header "Authorization: Bearer $ASSETCENTER_API_TOKEN" \
--header "Accept: application/json"
Response
200 OK. Each choice contains only id and name. The API includes additional pagination links and metadata.
{
"data": [
{
"id": "Lenovo",
"name": "Lenovo"
}
],
"links": {
"next": null,
"prev": null
},
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 25,
"total": 1
}
}
Behavior and constraints
Returns distinct nonempty manufacturer names from assets in your organization, sorted by name. Both id and name are the manufacturer string. Pagination totals count distinct names, rather than the number of matching assets.
Every lookup stays bound to the organization attached to the token, even after its creator switches organizations in the app. Follow links.next to read more results. tenant_id, account_id, kind, and unknown query fields are rejected. location_id is also rejected.
Errors
401 means the token is missing, expired, revoked, or not a customer API token. 403 means a required permission or administrator access is missing. 404 means the record or entry is unavailable through this path. 422 identifies invalid or unsupported input; inspect the errors object. 429 means a rate limit was reached. See error handling and rate limits.