Infos:
Used Zammad version: 2.3.x
Used Zammad installation source: DEB
Operating system: Ubuntu 16.04 LTS
Browser + version: Chrome Version 63.0.3239.132
Expected behavior:
- editing a user using an attribute
Actual behavior:
- based on rest api doku, only with ID possible
Steps to reproduce the behavior:
I have created organizations with a customer number (debnumber is a custom attribute I have added)
Using these attributes (debnumber) I want to import users with rest api and assign them to the respective organization.
The users also have this attribute (default number).
In the DOKU it says “PUT /api/v1/users/{id}” with the “update” - but I don’t have this ID, but the one (debnumber).
If this is possible, i. e. summarized again: My organizations have a unique number (double number) and my user database contains it as well. Now a comparison of these should take place during the import, so that users with the debnummer=3 are added to the company with the debnummer=3.
How can I do this? The actual import via curl and json is clear to me, it’s all about the assignment-