I opened a bug because the official documentation is completely inadequate in this area and suggests we send a full XML data structure as the script.
Thank you for posting this, I spent the whole morning following the documentation…