Yes you are right, but I copied from different methods, to make it clear,
and did do that good enough.
How does this look?


So the correct flow is:

>         UserMod userMod = new UserMod();
>         userMod.setId(userId);
>         Set<AttributeMod> attributesToBeUpdated = new
> HashSet<AttributeMod>();
>         AttributeMod ourProperty = new AttributeMod();
>         ourProperty.setSchema(ourPropertyName);
>         ourProperty.setValuesToBeAdded(Arrays.asList(new
> String[]{isoDateTime}));
>         attributesToBeUpdated.add(ourProperty);
>         userMod.setAttributesToBeUpdated(attributesToBeUpdated);
>         UserTO modifiedUser = restTemplate.postForObject(url, userMod,
> UserTO.class);
>
>

Reply via email to