Hello
I am trying to remote the data of a single indexfield of an object. This needs to be done for all of them and I have about 160000 of them.
The update batch Endpoint seems to be fitting for my usecase.
This is the (post) request, that I am trying to use:
URL: /rest-ws/service/dms/batch
Body:
{
"query": {
"type": "datenuebernahme"
},
"data": {
"name": {
"value": ""
}
}
}
The response is an error that my json can not be parsed. There seems to be something wrong with the query, even though it is pretty simple.
Error Message:
"Next state not found with field name query. Possible fieldnames are : [Lcom.os.ecm.ws.model.batch.DmsObjectBatchJsonParser$State;@a099d9f\n at [Source: com.os.ecm.ws.monitor.MonitoringInputStream@3693a04a; line: 2, column: 15]"
What am I doing wrong here?
Thanks Peter