GET associations({associationId})/categories?memberType={memberType}

Method to get data about categories at a association

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

memberType
Filters count by member type (Not required)

Define this parameter in the request URI.

Response Information

The requested data

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ParentId": 1,
    "GiftCardCategoryId": 1,
    "GiftCardSubCategoryId": 1,
    "Name": "sample string 2",
    "MemberCount": 3,
    "QuickLinkId": 1,
    "HasChildren": true
  },
  {
    "Id": 1,
    "ParentId": 1,
    "GiftCardCategoryId": 1,
    "GiftCardSubCategoryId": 1,
    "Name": "sample string 2",
    "MemberCount": 3,
    "QuickLinkId": 1,
    "HasChildren": true
  },
  {
    "Id": 1,
    "ParentId": 1,
    "GiftCardCategoryId": 1,
    "GiftCardSubCategoryId": 1,
    "Name": "sample string 2",
    "MemberCount": 3,
    "QuickLinkId": 1,
    "HasChildren": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <CategoryResource>
    <GiftCardCategoryId>1</GiftCardCategoryId>
    <GiftCardSubCategoryId>1</GiftCardSubCategoryId>
    <HasChildren>true</HasChildren>
    <Id>1</Id>
    <MemberCount>3</MemberCount>
    <Name>sample string 2</Name>
    <ParentId>1</ParentId>
    <QuickLinkId>1</QuickLinkId>
  </CategoryResource>
  <CategoryResource>
    <GiftCardCategoryId>1</GiftCardCategoryId>
    <GiftCardSubCategoryId>1</GiftCardSubCategoryId>
    <HasChildren>true</HasChildren>
    <Id>1</Id>
    <MemberCount>3</MemberCount>
    <Name>sample string 2</Name>
    <ParentId>1</ParentId>
    <QuickLinkId>1</QuickLinkId>
  </CategoryResource>
  <CategoryResource>
    <GiftCardCategoryId>1</GiftCardCategoryId>
    <GiftCardSubCategoryId>1</GiftCardSubCategoryId>
    <HasChildren>true</HasChildren>
    <Id>1</Id>
    <MemberCount>3</MemberCount>
    <Name>sample string 2</Name>
    <ParentId>1</ParentId>
    <QuickLinkId>1</QuickLinkId>
  </CategoryResource>
</ArrayOfCategoryResource>

text/csv

Sample:
Id,ParentId,GiftCardCategoryId,GiftCardSubCategoryId,Name,MemberCount,QuickLinkId,HasChildren
"1","1","1","1","sample string 2","3","1","True"
"1","1","1","1","sample string 2","3","1","True"
"1","1","1","1","sample string 2","3","1","True"