Rest API issue

We are having issues with submitting jobs to the rest api using boolean parameters.

We have tried the following variations (json):

..."parameters":{"parameterValues":{isDone:"true"}}

..."parameters":{"parameterValues":{isDone:["true"]}}

..."parameters":{"parameterValues":{isDone:true}}

None of these work, when placing a non-boolean value in the field I get a request error. When I pass the variations of boolean through they are not returned in the response payload, and I'm only seeing false on the report. I'm not sure where else to go from here.

joshuatoepfer@yahoo.com's picture
Joined: Apr 2 2015 - 4:38am
Last seen: 2 years 2 days ago

Can you wrapping the key isDone in double quotes and see if it works. 

"parameters":{  
         "parameterValues":{  
            "isDone":"true"     
         }
      }

kothany - 3 years 2 months ago

0 Answers:

No answers yet
Feedback
randomness