Hello Stefan,
Try below once and check.
Put each operations associated with each entity within in a separate Change_Set and batch ( Highlighted ones ).
Sample Payload ->
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST Create_dataSet HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 975
{
"ID":"1023",
"Name":"John"
}
--changeset--
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
PUT Update_dataSet(ID='1023') HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 975
{
"ID":"1023",
"Name":"Nick"
}
--changeset--
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
DELETE Delete_dataSet(ID='1023') HTTP/1.1
--changeset--
--batch--
Create your payload as above and check value of mv_changeset_optotal .
Regards,
Ashwin