At the end of the configuration file there are 2 properties “numberProcesses” and “tenantIds”, these configurations are general per configuration file.
1. In the “numberProcesses” property, add the number of devices you want to add per iteration, to avoid overcrowding your integration service.
2. The “tenantIds” property is used to list the tenants where they have devices registered in Techpulse.
{
"numberProcesses": 200,
"tenantIds": [
"d124d747-c545-49e9-b143-0fac5e54ea0e"
]
}
Add these properties in the root of the configuration file.
At the end of this exercise you should get the following configuration file:
{
"ci": [
{
"reference": "computer",
"definition": {
"name": {
"type": "FieldValue",
"key": "deviceName"
},
"brand": {
"type": "Mapper",
"key": "deviceMfg"
},
"model": {
"type": "Mapper",
"key": "deviceModel"
},
"assetTag": {
"type": "FieldValue",
"key": "asset_tag"
},
"serial": {
"type": "FieldValue",
"key": "deviceSn"
},
"responsible": {
"SearchBy": [
"Email"
],
"type": "FieldValue",
"key": "lastSignedUser",
"DefaultValue": {
"id": 1
}
}
}
}
],
"model": [
{
"reference": "computer",
"id": 95,
"value": "HP PROBOOK 440 14 INCH G9 NOTEBOOK PC"
},
{
"reference": "computer",
"id": 80,
"value": "LATITUDE 3420"
}
],
"brand": [
{
"reference": "computer",
"id": 59,
"value": "Dell"
},
{
"reference": "computer",
"id": 23,
"value": "HP"
}
],
"category": [
{
"id": 14,
"reference": "computer",
"keys": [
"Notebook"
],
"externalFilter": "",
"projectId": 4,
"additionalFields": [
{
"id": 329,
"key": "deviceosMajorVersion",
"mapping": [
{
"id": 861,
"value": "Windows 11"
},
{
"id": 862,
"value": "Windows 10"
}
]
},
{
"id": 284,
"key": "deviceState",
"value": [
"valor por defecto"
]
},
{
"id": 626,
"key": "processorName"
},
{
"id": 625,
"key": "lastOnlineDate"
}
],
"state": [
{
"id": 185,
"reason": 262,
"value": "Enrolled"
},
{
"id": 186,
"value": "Archived"
}
]
}
],
"numberProcesses": 20,
"tenantIds": [
"d124d747-c545-49e9-b143-0fac5e54ea0e"
]
}