I’ve explained that here, if you could take a look and let me know if that answers your question please - Problem while Adding or Editing Rows in a Dataset via API
As for php and wrappers, you can have a look at my tests here https://github.com/xibosignage/xibo-cms/blob/develop/tests/integration/DataSetTest.php#L351
You can look at the testRowAdd and testRowEdit to see how does that work there.
Also just to clarify, the parameters after ? (ie filters pretty much) are added like that in GET calls
in add/edit all parameters must be passed in body.