• 1 reply
  • Latest Post - ‏2014-04-02T19:58:12Z by jgstew
2 Posts

Pinned topic REST API

‏2014-03-01T03:03:30Z | rest


   I'm using the REST API to initiate a task using the following xml file:

<BES SkipUI="true" xmlns:xsd="" xmlns:xsi="">
      <Parameter Name="key">UID</Parameter>
      <Parameter Name="value">6B1F42403DCA7CED85257C770071CEA9</Parameter>
      <Settings />

If I submit with an operator that don't have the "Custom Content" privilege the action fails with the following error:

API Request Failed: Access is denied

If I do the same operation (starting task 7801 against computer  11064489) using the console with the same operator, I'm able to execute it without a problem.

Is this a bug on the API or I'm doing something wrong? My intention is to have an automation ID that can only execute a fixed set of actions, but no create custom content.





  • jgstew
    52 Posts

    Re: REST API



    This definitely sounds like a permissions issue / bug in the API.

    I don't think I have come across this same one, but I have definitely come across many inconsistencies between what is possible through the API vs in the console. 


    More granular permissions are definitely needed across the board for controlling access to the API / console.


    I would recommend filing a PMR & an RFE on this issue. Note the PMR # in the RFE and link to this post in both, then link to the RFE here so I can vote on it and so others can do the same.