So you need to debug your service. Set a breakpoint on 'import from JSON'-action, connect your debugger and try again.
It might also help to right-click that activity and 'Set errorhandling' to 'Custom without rollback' and add a logmessage-activity as error handler. now you can see your error.
Question: did you pass along the BuildingNumber (Buildning, hm I have seen that typo before in another question...) and in the import mapping, have you set that attribute as the key? Should look like this:
I made you a simple example of a PUT-request: you want to update an existing ‘Person’ entity (with property FullName and Birthdate) or create the specific ‘Person’ if it doesn’t already exists.
To do so, go to your published REST service as is documented in here https://docs.mendix.com/howto/integration/expose-a-web-service
Microflow can look like this:
Run your application locally and then go to your root-url of your published REST service, you’ll find this here:
In Mendix, we use Swagger, so this will be the overview of your endpoints:
It’s the PUT we’re interested in:
Obviously, my birthdate isn’t today, it’s the 11th of April, should you be interested :)
Give it a go and press execute (for your own ease, create a person before hand with the fullname you wish and a specific birthdate, that’s what I did)
Give it a spin: press the execute button:
The logic was successfully executed, my birthdate has changed to today if I check the data overview:
Now, Ellen Pellosniemi is not in my database, let’s execute the PUT-request with this full name and the birthdate of 2000-01-01T00:00:00.000Z
Hope this helps you!