curl --request GET \
--url https://app.trelica.com/api/assets/v1/customfields \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "60718293a1b2c3d4e5f60400",
"name": "Memory (GB)",
"lookupKey": "memoryGb",
"type": "Number"
}
]
}List device custom fields
Returns the device custom fields defined for your organization. Use the field
lookupKey values as the keys of the customFields object when creating or
updating a device.
Required scope: Assets.Read (Read-only access to devices)
curl --request GET \
--url https://app.trelica.com/api/assets/v1/customfields \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "60718293a1b2c3d4e5f60400",
"name": "Memory (GB)",
"lookupKey": "memoryGb",
"type": "Number"
}
]
}Authorizations
OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.
Query Parameters
A SCIM-style filter expression restricting the items returned. See the Filtering section of the introduction for the operators and syntax; the filterable fields are listed per resource.
Free-text search across the resource's displayable fields.
Only return items modified at or after this ISO-8601 timestamp.
Only return items modified at or before this ISO-8601 timestamp.
Opaque pagination cursor supplied by SaaS Manager via the link response header and the next field.
Maximum number of items to return per page (default 100, maximum 1000).
1 <= x <= 1000Was this page helpful?