Is there any way to trigger a Task like we ussually do with the "Take Action" button in the TEM console ? Using the REST API I presume ?
Pinned topic REST : "Take action" equivalent
Re: REST : "Take action" equivalent2013-09-27T16:04:57Z in response to Marc_483
Yes, the REST API can do that.
Here is the Wiki page on Action:
That will take you into the right area of the Wiki for the REST API.
Re: REST : "Take action" equivalent2013-09-30T08:06:51Z in response to Lee Wei
thank you for the link. I see an example for posting an Action from a source fixlet, however I don't see in the xsd anything to post an Action from a source task. Do I need to use the SourcedFixletAction with a TaskId like that ?
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
Re: REST : "Take action" equivalent2013-09-30T17:11:30Z in response to Marc_483
Don't change the element name, just use FixletID and plug in your Fixlet, Task, or Baseline IDs.
The term Fixlet can sometimes be confusing as it can be used to refer to a generic class, or a specific subclass.
Fixlet is a super class referring to --> Fixlet, Task, Baseline, and Analysis.
Examples, when you use the BES Fixlet object in Session Relevance, there are flags to indicate where they are one of those subclasses:
number of bes fixlets whose (fixlet flag of it = true)
number of bes fixlets whose (task flag of it = true)
number of bes fixlets whose (baseline flag of it = true)
number of bes fixlets whose (analysis flag of it = true)
Lee WeiUpdated on 2013-09-30T17:11:53Z at 2013-09-30T17:11:53Z by Lee Wei
Re: REST : "Take action" equivalent2013-10-01T15:50:43Z in response to Lee Wei
ok, it works fine with the fixlet ID ! Do you know if it is possible to post MultipleActionGroup to this api ? Or do I have to fetch all the actions of the MAG and trigger them one by one ?
thanx for your help
This reply was deleted by GLucchee 270002AWKY 2014-01-30T17:03:23Z. Reason for deletion: Figured it out