Hello,
I am using PROC HTTP to extract the groups from Viya. This appears to work well however I cannot find any documentation to determine the correct content-type header information (I believe this may be undocumented). I have determined that the endpoint is '../identities/groups' and when I examine the text being returned I can see all the groups. What I cannot determine is the custom content-type being returned - this is an excerpt from the results -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><collection accept="application/vnd.sas.identity.group.summary" count="574" l
imit="50" name="groups" start="0" version="2"><items><groupSummary version="1"><links><link href="/identities/groups/SASAdministrato
rs" method="GET" rel="self" type="application/vnd.sas.identity.group" uri="/identities/groups/SASAdministrators"/><link href="/ident
ities/groups/SASAdministrators" method="GET" rel="alternate" type="application/vnd.sas.identity.group.summary" uri="/identities/grou
ps/SASAdministrators"/><link href="/identities/groups/SASAdministrators" method="DELETE" rel="delete" uri="/identities/groups/SASAdm
inistrators"/><link href="/identities/groups/SASAdministrators" method="PUT" rel="update" type="application/vnd.sas.identity.group"
uri="/identities/groups/SASAdministrators"/>
Can anyone help me specify the correct content type (e.g. Accept:"="application/vnd.sas.identity.group")?
I realize that there are CLI commands for this, I may resort to using those, however this is puzzling me. Any help appreciated!
regards,
Richard
... View more