GET associations({associationId})/members/details/categories

Method to retrieve all members and all of their categories

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association to looks at

Define this parameter in the request URI.

Response Information

All categories for all members

Response body formats

application/json, text/json

Sample:
[
  {
    "MemberId": 1,
    "Categories": [
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      }
    ]
  },
  {
    "MemberId": 1,
    "Categories": [
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      }
    ]
  },
  {
    "MemberId": 1,
    "Categories": [
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      },
      {
        "CategoryId": 1,
        "IsPrimary": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMemberCategoriesResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <MemberCategoriesResource>
    <Categories>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
    </Categories>
    <MemberId>1</MemberId>
  </MemberCategoriesResource>
  <MemberCategoriesResource>
    <Categories>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
    </Categories>
    <MemberId>1</MemberId>
  </MemberCategoriesResource>
  <MemberCategoriesResource>
    <Categories>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
      <SingleMemberCategoryResource>
        <CategoryId>1</CategoryId>
        <IsPrimary>true</IsPrimary>
      </SingleMemberCategoryResource>
    </Categories>
    <MemberId>1</MemberId>
  </MemberCategoriesResource>
</ArrayOfMemberCategoriesResource>

text/csv

Sample:
MemberId,Categories
"1","System.Collections.Generic.List`1[MicroNet.WebAPI.Classes.Resources.SingleMemberCategoryResource]"
"1","System.Collections.Generic.List`1[MicroNet.WebAPI.Classes.Resources.SingleMemberCategoryResource]"
"1","System.Collections.Generic.List`1[MicroNet.WebAPI.Classes.Resources.SingleMemberCategoryResource]"