We would like to update an object via REST API but there is no information provided on how a request should look like. An empty request returns
{
"error": "undefined method `match?' for nil:NilClass"
}
We would like to update the options for the attached show object.
Many thanks for any additional information.
{
"id": 50,
"object_lookup_id": 2,
"name": "house",
"display": "Liegenschaft",
"data_type": "select",
"data_option": {
"options": {
"19": "Teststrasse 1",
"20": "Teststrasse 2",
"21": "Teststrasse 3",
"null": "Kein Mandat"
},
"linktemplate": "",
"default": "",
"null": true,
"relation": "",
"nulloption": true,
"maxlength": 255,
"historical_options": {
"19": "Teststrasse 1",
"20": "Teststrasse 2",
"21": "Teststrasse 3",
"null": "Kein Mandat"
}
},
"data_option_new": {
"options": {
"19": "Teststrasse 1",
"20": "Teststrasse 2",
"null": "Kein Mandat"
},
"linktemplate": "",
"default": "",
"null": true,
"relation": "",
"nulloption": true,
"maxlength": 255
},
"editable": true,
"active": true,
"screens": {
"create_middle": {
"ticket.customer": {
"shown": true,
"required": false,
"item_class": "column"
},
"ticket.agent": {
"shown": true,
"required": true,
"item_class": "column"
}
},
"edit": {
"ticket.customer": {
"shown": true,
"required": false
},
"ticket.agent": {
"shown": true,
"required": true
}
}
},
"to_create": false,
"to_migrate": false,
"to_delete": false,
"to_config": true,
"position": 1550,
"created_by_id": 4,
"updated_by_id": 4,
"created_at": "2020-10-13T13:18:18.931Z",
"updated_at": "2020-10-29T09:16:40.567Z"
}