While working on a client website API calls to list member profiles filtered by member types, profile search endpoint did not include few member types in response that are hidden, in this example such as “Corporate Portfolio Org”, “Corporate Subsidiary Org”.
Here is the code I used for MemberClicks REST API call to filter member profiles by types and status:
Endpoint: https://sbc.memberclicks.net/api/v1/profile/search
Method: Post
Parameters:
{
"[Member Type]": ["Corporate", "Corporate Portfolio Org", "Corporate Subsidiary Org", "Enterprise", "Knowledge Partner", "Medium Business", "Small Business", "Wireless Carrier"], "[Member Status]": ["Active", "Graced", "Lapsed"]
}
After lot of back and forth testing, the issue was attribute security settings permissions for the new types. The API will use the admin group and if that group does not have access to a specific member type or member types in the group attribute security settings then nothing will return via API for those member types.
If you check the group attribute security settings for the admin group – you see the member types “Corporate Portfolio Org” and “Corporate Subsidiary Org” are hidden, they need to be changed to public.
Hope that helps.