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

Discussions

Ask a Question
Back to All

Get Additional Party Information from GroupMember

Hi, I'm currently using the following API request:
https://{{URL}}/api/GroupMember/?GroupId=COMMITTEE/TEST01 to get members information. Within the party information that's being returned, is it possible to get additional party information? In my case, I was hoping to get the primary organization returned in the party information using this API request. Is that possible?

For an example of what's being returned:

            "Party": {
                "$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
                "CityName": "New York",
                "CountryName": "United States",
                "CountrySubEntityName": "NY",
                "Email": "[email protected]",
                "Phone": "111-111-1111",
                "PartyId": "122122",
                "Id": "122122",
                "UniformId": "1fcf1e18-084c-454b-a274-30de3fc9aa84",
                "Status": {
                    "$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
                    "PartyStatusId": "A",
                    "Name": "Active",
                    "Description": "Active"
                },
                "Name": "TEST TEST",
                "Sort": "TEST,TEST",
                "IsMarkedForDelete": false
            },

An example of what I want returned:

            "Party": {
                "$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
                "CityName": "New York",
                "CountryName": "United States",
                "CountrySubEntityName": "NY",
                "Email": "[email protected]",
                "Phone": "111-111-1111",
                "PartyId": "122122",
                "Id": "122122",
                "UniformId": "1fcf1e18-084c-454b-a274-30de3fc9aa84",
                "Status": {
                    "$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
                    "PartyStatusId": "A",
                    "Name": "Active",
                    "Description": "Active"
                },
                "Name": "TEST TEST",
                "Sort": "TEST,TEST",
                "IsMarkedForDelete": false,
                "PrimaryOrganization": {
                   "$type": "Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts",
                   "OrganizationPartyId": "5267",
                   "Name": "TEST",
                   "Title": "TEST"
},
            },