Discussions
Rest api - 2017
almost 3 years ago by Leonardo
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!