Enrich fields for given objects
Enrich object data in the Nexthink inventory with specific information.
Enrichment can be done for manual custom fields (any object), virtualization fields (devices only), configuration_tag for devices, the organization field (users only), or the Entra ID fields (users only).
Objects to be enriched (with desired fields and values) and domain (configurable)
Domain for which the given enrichment applies. For information and tracking purposes mainly
Successful enrichment response
Partial success enrichment response - some invalid enrichment, see error codes for details
Bad request - invalid enrichment, see error codes for details
Unauthorized - invalid authentication credentials
Forbidden - no permission to trigger enrichment
POST /api/v1/enrichment/data/fields HTTP/1.1
Host: instance.api.region.nexthink.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 773
{
"enrichments": [
{
"identification": [
{
"name": "device/device/name",
"value": "DEVICE-1"
}
],
"fields": [
{
"name": "device/device/virtualization/desktop_pool",
"value": "Desktop Pool DC1"
},
{
"name": "device/device/virtualization/type",
"value": 2
},
{
"name": "device/device/virtualization/last_update",
"value": "2023-10-03T15:00:00.000Z"
},
{
"name": "device/device/#<custom_field_name>",
"value": "custom_value_1"
}
]
},
{
"identification": [
{
"name": "device/device/uid",
"value": "f9a936fb-6256-4caf-8f59-c6a6b6f620a7"
}
],
"fields": [
{
"name": "device/device/virtualization/desktop_pool",
"value": "Desktop Pool DC2"
},
{
"name": "device/device/#<custom_field_name>",
"value": "custom_value_2"
},
{
"name": "device/device/#<another_custom_field_name>",
"value": "custom_value_3"
}
]
}
],
"domain": "virtualization_and_custom_fields"
}{
"status": "success"
}Last updated
Was this helpful?
