Has anyone played with the BigFix Server Automation API?
I am trying to create an automation plan via a post API request and the API keeps responding with a 404:
Endpoint: https://bigfixsahostname:8443/serverautomation/plan/master/
XML:
<?xml version="1.0" encoding="UTF-8"?>
<sa-rest xmlns="http://iemfsa.tivoli.ibm.com/REST" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plan name="Test" domain="ALL CONTENT" pending-restart="PausePlan" version="2.0" source-plan-id="undefined" prefetch="false" source-plan-site-url="undefined">
<description>API Test</description>
<category></category>
<source></source>
<source-severity></source-severity>
<source-release-date></source-release-date>
<plan-steps>
<step id="101">
<fixlet fixlet-id="126" site-type="external" site-name="Server Automation"></fixlet>
</step>
</plan-steps>
<execution-order>
<step id="101" depends="">
<on-failure action="StopPlan" targets="IncludeFailed" threshold="0"></on-failure>
</step>
</execution-order>
<plan-settings>
<boolean-setting name="exclude-non-reporting-endpoint">
<![CDATA[true]]>
</boolean-setting>
</plan-settings>
</plan>
</sa-rest>
Response:
Status Code: 404
Response Content: Resource Not Found
I haven’t found any example on the developer site nor in the forums and the docs doesn’t even have a template, it just describes it.
I have also tried I have tried https://bigfixsahostname:8443/serverautomation/besplan/master/
but I get “Resource Not Found”.