[FEATURE] added getId callback to processPut

__Tasks:__

- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tests pass?   | yes
| Fixed tickets | none
| Doc           | none
@danrot this is important, when matchedKey is 0; please also consider this in the new rest-api