Possible to start Fixlet / tasks using REST?

(imported topic written by Integrator)

Hi,

Via SOAP i can only get information from the webreports but REST goes further and there are also several posts possible. But does anyone know if it’s possible to run or start fixlets / tasks using REST?

Here is de REST API information:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/REST%20API

(imported comment written by gearoid)

Yes you certainly can.

It’s as described here:

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/RESTAPI%20Action

Post to the /api/actions and put the XML into the body of the post.

This XML, for example, will create a new action for fixlet ID 168 (set client CPU) in the BES Support site and target the computer with ID 9144053.

<?xml version="1.0" encoding="UTF-8"?>
<SourceFixlet>    


  <Sitename>BES Support</Sitename>    


    <FixletID>168</FixletID>    


    <Action>Action3</Action>  


</SourceFixlet>  


<Target>    


   <ComputerID>9144053</ComputerID>


</Target>

(imported comment written by Integrator)

Thanks gearoid, i will try it.