The objective is to complete the necessary information for the creation of the IC associated with each case integrated into ASMS.
Example of the empty json segment
{
"cis": [
{
"id": 0,
"category": 0,
"projects": [
0
],
"responsible": 0
}
]
}
1. The Id of a CI previously created in the CMDB platform is assigned, remember that this property is optional, for cases that do not have CI associates from TechPulse, for this example Id 1 is added.
{
"cis": [
{
"id": 1,
"category": 0,
"projects": [
0
],
"responsible": 0
}
]
}
2. The Id of the desired category is assigned to the new ci, for this example Id 14 is added.
{
"cis": [
{
"id": 1,
"category": 14,
"projects": [
0
],
"responsible": 0
}
]
}
3. The Id’s of the projects that will be assigned for the new CI are added, for this example the Ids 2 and 4 are added.
{
"cis": [
{
"id": 1,
"category": 14,
"projects": [
2,
4
],
"responsible": 0
}
]
}
4. The ID of the responsible user for the new CI is included, for this example Id 1 is added.
{
"cis": [
{
"id": 1,
"category": 14,
"projects": [
2,
4
],
"responsible": 1
}
]
}
5. Finally, it is added to the configuration json.
As a result, you get the following JSON:
{
"mappers": [
{
"subtypes": [
"COMPANY_WIDE_BIOS_OUTOFDATE",
"BATTERY_NEEDS_ATTENTION",
"BATTERY_NOT_DETECTED"
],
"filter": "",
"tenantIds": [
"tenant-uuid-children-1"
],
"case": {
"itemType": "ServiceCall",
"project": 1,
"service": 2,
"category": 2,
"sla": 3,
"company": 1,
"state": [
{
"value": "NEW",
"id": 1
},
{
"value": "FIXED",
"id": 13,
"commentary": "Caso finalizado"
}
],
"urgency": [
{
"value": "CRITICAL",
"id": 4
},
{
"value": "HIGH",
"id": 3
},
{
"value": "LOW",
"id": 2
},
{
"value": "MEDIUM",
"id": 2
},
{
"value": "NOT_ASSIGNED",
"id": -1
}
],
"additionalFields": [
{
"fieldId": 122,
"values": [
"texto prueba"
]
}
]
}
}
],
"uniqueTenant": "tenant-uuid-1",
"companies": [
{
"id": 1,
"tenantId": "tenant-uuid-children-1"
}
],
"cis": [
{
"id": 1,
"category": 14,
"projects": [
2,
4
],
"responsible": 1
}
]
}
Note: To obtain the necessary information to complete the configuration, you can go to the administrator of the ASMS platform or use the guide