Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

IMPORTANT: Please notify the team about your question by filling in the form on the contact page. Otherwise, we may miss your question!

0 votes
hello, what means API KEY and prefix when adding a new organization ?

1 Answer

0 votes
API key is deprecated and is not used anywhere, just leave it empty.

When you create a customer, Headwind MDM automatically adds 3 test devices to his account. However the device number must be globally unique. That's why you are requested for a (device number) prefix when you are adding a customer. The device numbers of the new customer will start with this prefix followed by 001, 002, 003.

For example, if you use "my" as prefix, the device numbers will be my001, my002, my003.

I would recommend to use first letters of the customer name or company as a prefix.
by (8k points)
thanks, i see it an enterprise solution not for opensource?

ERROR  Unexpected error when saving customer account Customer{id=57, name='entreprise1', description='entreprise1', filesDir='ebec06f6-49b9-4ac1-bec1-fb6fb7ad2e0d', master=false, prefix=my, deviceConfigurationId=1}
### Error updating database.  Cause: org.postgresql.util.PSQLException: ERREUR: the relation "plugin_licensing_settings" does not exist
  Position¬†: 13
### The error may exist in com/hmdm/persistence/mapper/CustomerMapper.java (best guess)
### The error may involve com.hmdm.persistence.mapper.CustomerMapper.saveApiKey-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO plugin_licensing_settings (apiKey, customerId) VALUES (?, ?) ON CONFLICT ON CONSTRAINT plugin_licensing_settings_customer_unique DO UPDATE SET apiKey = EXCLUDED.apiKey
### Cause: org.postgresql.util.PSQLException: ERREUR: the relation "plugin_licensing_settings" does not exist
Headwind MDM Community edition doesn't support multi-tenancy. To use a multi-tenant solution, you need to purchase the Enterprise version.