Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2019-03-15 08:26 AM
Hi All,
How to find solution to application relationship though API?
Given an application how do I filter out only 'Record Permission fields' (manual, automatic) and the groups assigned as default and through rules along with the CRUD rights?
2019-03-15 08:44 AM
Before checking if such functionality exists, have you quickly checked the REST/WEB API guidelines and API Tempate kindly provided by Jeff Letterman:
https://community.rsa.com/docs/DOC-81721
I mean most of the question are solved by checking the tool
2019-03-15 11:27 AM
I don't believe that solutions are part of the metadata set supported by the REST API. I don't know of any way to find out the relationship between applications and solutions through the API.
The other thing you are looking for is at the URL https://myArcherServer/platformapi/core/system/usergroupselection/usergrouplist/[fieldid] where myArcherServer is the root of your Archer website and [fieldid] is the id of the user group list field you are exploring.
2019-03-19 03:22 AM
Yep already did
2019-03-20 01:29 AM
Thanks !
https://myArcherServer/platformapi/core/system/usergroupselection/usergrouplist/[fieldid] works for user group list and manual RP fields only. Gets the below in JSON output while trying for automatic RP:
[{"Links":[],"RequestedObject":{},"IsSuccessful":false,"ValidationMessages":[{"Reason":"WebApi:WebApiResourceNotFoundQueryReason","Severity":3,"MessageKey":"WebApi:WebApiResourceNotFoundQuery","Description":"The resource cannot be found.","Location":-1,"ErroredValue":null,"Validator":"ArcherApi.Controllers.System.UserGroupListController, ArcherApi, Version=6.5.200.1045, Culture=neutral, PublicKeyToken=null","XmlData":null,"ResourcedMessage":"No resource found."}]}]
2019-03-20 08:55 PM
Confirmed. On my local instance I retrieved a manual record permission field using the API. Then I converted it to an automatic record permission field and, with no change at all to the API request, I got the same result you reported.
The documentation does not indicate that Automatic Record Permission fields are not supported by this resource, so I suspect that an update to the documentation may be in order.
2019-03-21 06:24 AM
Yep . Thanks a lot for checking. This is unfortunate. I haven't found anything else in the guide that would help in pulling automatic RP field details
2019-03-21 06:26 AM
Wonder if Content API could help here.