Define the CMDB category and the Lansweeper asset types that fall into that category.
{
"category": [
{
"reference": "lansweeper-default",
"id": 1,
"keys": ["Windows", "Linux", "Mac"],
"additionalFields": [
{ "id": 1, "key": "Caption" },
{ "id": 2, "key": "Version" },
{ "id": 3, "key": "IpAddress" }
],
"state": [
{ "id": 1, "value": "Active" },
{ "id": 2, "value": "Non-active" }
]
}
]
}
Validation rules:
- Do not repeat Id within additionalFields.
- Do not repeat Key within additionalFields.
- Do not repeat Id or value within state.
- In a additionalField Do not use mapping and value at the same time.