This class allows for bulk registering devices.
Instantiate class and assign client
A new device registration as bulk.
const csvString = ` ID,CREDENTIALS,TENANT,TYPE,NAME,ICCID,IDTYPE,PATH,SHELL e2eDeviceRegistrationId,e2epassword123!,e2edocker,c8y_e2eDevice,e2eDevice,123456789,89456,e2eDeviceGroup,1 900001,e2epassword123!,e2edocker,c8y_e2eDevice1,e2eDevice1,123456789,89456,e2eDeviceGroup,1 900002,e2epassword123!,e2edocker,c8y_e2eDevice2,e2eDevice2,123456789,89456,e2eDeviceGroup,1`.trim(); const csvBuffer = Buffer.from(csvString): (async () => { const {data, res} = await deviceRegistrationBulkService.create(csvBuffer); })();
Response wrapped in IResult
Generated using TypeDoc
This class allows for bulk registering devices.