If possible could all the necessary parameters be provided? I have discovered upon using the API myself that some of the parameters that are available are not even listed on the site, at least for POSTing saved searches for example. I think it would be helpful for future new users.
https://docs.splunk.com/Documentation/Splunk/7.2.5/RESTREF/RESTsearch