These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Groups

We are trying to get a company's group list from the company group list they are a part of as a company admin but we are getting a 403 Unauthorized response. For example, Alex M is the coAdmin of Versaton Global and he is trying to see the group list for Versaton US to look up John Tan. The group list editor ipart shows this data but when we try to do the equivalent over the api it does not allow us. Is there something specific we need to do?

Here are the two requests having issues:
jQuery.ajax("https://" + url + "/api/Party/" + imisID, {
type: "GET",
contentType: "application/json",
headers: {"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value}

jQuery.ajax("https://" + url + "/api/GroupMember?GroupID=ORGRELATIONSHIP-" + groupId, {
type: "GET",
contentType: "application/json",
headers: {"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value}