Using the bulk registration API with autoregistration

What are you trying to achieve? Please describe it in detail.

We are attempting to use the bulk registration API for pre-registration using certificates of devices on the platform. Are there any caveats/incompatibilities with regard to using the bulk registration API with Auth_Type “CERTIFICATES”? A snapshot for the currently used CSV is as follows:

image

(Note: CREDENTIALS field was empty)

We currently have autoregistration turned on (Cumulocity documentation), would that also be compatible with the bulk registration process? If yes, could I find an example usage somewhere? (OpenAPI spec https://cumulocity.com/api/10.13.0/#operation/postBulkNewDeviceRequestCollectionResource doesn’t actively mention any incompatibilities, although the “real” devices aren’t online on Cumulocity when powered on.)

What product/components do you use and which version/fix level are you on?

Cumulocity Core 1013.0.281

Is your question related to the free trial, or to a production (customer) instance?

Production Instance

To answer my own question, the csv also needs mandatorily “com_cumulocity_model_Agent.active” header and value (“true”) for bulkregistration requests to take effect.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.