selectline-software / selectline-api

Apache License 2.0
24 stars 5 forks source link

ExtraTable POST/PUT: how to specify null / empty value? #353

Closed capc0 closed 8 months ago

capc0 commented 8 months ago

Details

Steps to replicate the behavior:

POST mit Body

{
    "Fields": {
        "_TEXT": "Test",
        "_KUNDE": null
    }
}

How can I specify an empty value (null)? When I omit the field, it will be saved as empty/null, however when there already is a current value and I want to overwrite it with an empty value, I cannot do that. An empty "" string kinda works, but is different than null.

MatthiasGuse commented 8 months ago

Hello,

it ist not possible to set an value to NULL by the API. In our applications, we do not make differences between empty "" and NULL. That shouldn't be relevant.

Regards

capc0 commented 8 months ago

thanks for the info