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

Discussions

Ask a Question
Back to All

Rest api - 2017

Hello, when I call the API to get the Groups (Committees) it works fine, but it brings a lot of sub nodes that are not very necessary for me.

Would it be possible to ask to the API to not bring the "Roles" node, like in the example text below ?

"Roles": {
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"UseDates": true,
"RoleId": "COMMITTEE:ABBK",
"Name": "Bookkeeper",
"Priority": 0
},
{
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"UseDates": true,
"RoleId": "COMMITTEE:ABCASE_REV",
"Name": "Case Review",
"Priority": 38
}, ......

Thank you!