My POST code works fine for creating actions with an XML content that has the relevance statement and actions but not when I am referencing the fixlet directly. I am on EM 9.2:
I must have done something wrong. the target computerID is right and I also tried the tag.
Does anyone have the API call and XML?
Better yet, can someone spot an error in what I am doing?
Error 500 is internal server error, so that is puzzling.
I did a sanity check for you using cURL. I use your XML document as is exactly, except changing the IDs for Site, Fixlet and Computer.
The POST to /actions work correctly for me.
curl -k -X POST -d @test.xml -u leewei:mypassword https://localhost:52311/api/actions
My test.xml looks like this.
We will need more info to figure out what went wrong.
I will have to take a look at the server logs to see what is being thrown.
Can you tell me what version of IBM BigFix your sanity check was run against?