Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

API Questions

Anonymous
Not applicable

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?

7 REPLIES 7

Ilya_Khen
Champion III

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

BodieMinster
Archer Employee
Archer Employee

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.

Anonymous
Not applicable

Yep already did

Anonymous
Not applicable

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."}]}]

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.

Anonymous
Not applicable

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

Wonder if Content API could help here.