POST api/v1.0/Communities/GetCommunityMembers

Retrieve a list of Members of the specified Community in LastName, FirstName order.

Request Information

URI Parameters

None.

Body Parameters

CommunityKey: CommunityKey for the Community to retrieve. StartRecord: Index of the first record to retrieve. Defaults to 1 if not supplied. EndRecord: Index of the last record to retrieve. Defaults to 50 if not supplied.

GetCommunityMembersRequest
NameDescriptionTypeAdditional information
CommunityKey

Unique Identifier for a Community in Higher Logic

globally unique identifier

None.

LegacyGroupKey

Unique Identifier for a Community in the source system

string

None.

StartRecord

Index of the first record to retrieve. Defaults to 1 if not supplied.

integer

None.

EndRecord

Index of the last record to retrieve. Defaults to 50 if not supplied.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CommunityKey": "ed9e2c64-05a4-44c6-a43d-52372283724f",
  "LegacyGroupKey": "sample string 2",
  "StartRecord": 1,
  "EndRecord": 1
}

application/xml, text/xml

Sample:
<GetCommunityMembersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <CommunityKey>ed9e2c64-05a4-44c6-a43d-52372283724f</CommunityKey>
  <EndRecord>1</EndRecord>
  <LegacyGroupKey>sample string 2</LegacyGroupKey>
  <StartRecord>1</StartRecord>
</GetCommunityMembersRequest>

Response Information

Resource Description

List of Contact records.

Collection of ContactConcise
NameDescriptionTypeAdditional information
LinkToProfile

Url link to this Contact's Profile page in the Community site.

string

None.

PictureUrl

Url link to this Contact's small Profile Picture.

string

None.

ContactKey

Unique Identifier for this Contact.

globally unique identifier

None.

FirstName

Contact's first name.

string

None.

LastName

Contact's last name.

string

None.

DisplayName

Calculated Display name.

string

None.

EmailAddress

Contact's email address.

string

None.

ContactStatusCode

Status code for this contact.

string

None.

PrefixCode

Prefix code for this contact.

string

None.

UpdatedOn

Last Updated date for this contact.

date

None.

UpdatedByContactKey

Last Contact that made an update to this contact's record.

globally unique identifier

None.

CompanyName

Name of this contact's company.

string

None.

CompanyTitle

Title for this contact at their company.

string

None.

SuffixCode

Contact's suffix.

string

None.

Designation

Designation.

string

None.

LegacyContactKey

Unique Identifier for this contact in the source system.

string

None.

InformalName

Informal Name.

string

None.

MiddleName

Contact's Middle Name.

string

None.

IsCompany

Is this contact a company.

boolean

None.

CompanyLegacyContactKey

Unique Identifier for the Company (if applicable) in the source system.

string

None.

AMSDirectoryOptOut

Does this Contact opt-out of being part of the Source System directory?

boolean

None.

HLDirectoryOptOut

Does this Contact opt-out of being part of the Higher Logic directory?

boolean

None.

HLContactMeOptOut

Does this Contact opt-out of being contacted?

boolean

None.

LargePictureUrl

Url link to this Contact's large Profile Picture.

string

None.

AgreedToTermsDateTime

Date that this Contact agreed to the site terms (if applicable).

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LinkToProfile": "sample string 1",
    "PictureUrl": "sample string 2",
    "ContactKey": "ec1bbfee-fa45-4bdf-b87d-5afbeed6d1ef",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "DisplayName": "sample string 6",
    "EmailAddress": "sample string 7",
    "ContactStatusCode": "sample string 8",
    "PrefixCode": "sample string 9",
    "UpdatedOn": "2024-12-21T16:11:27.4621241Z",
    "UpdatedByContactKey": "a43b1f6d-e1b1-420a-8710-a3f97f40f8e2",
    "CompanyName": "sample string 12",
    "CompanyTitle": "sample string 13",
    "SuffixCode": "sample string 14",
    "Designation": "sample string 15",
    "LegacyContactKey": "sample string 16",
    "InformalName": "sample string 17",
    "MiddleName": "sample string 18",
    "IsCompany": true,
    "CompanyLegacyContactKey": "sample string 20",
    "AMSDirectoryOptOut": true,
    "HLDirectoryOptOut": true,
    "HLContactMeOptOut": true,
    "LargePictureUrl": "sample string 24",
    "AgreedToTermsDateTime": "2024-12-21T16:11:27.4621241Z"
  },
  {
    "LinkToProfile": "sample string 1",
    "PictureUrl": "sample string 2",
    "ContactKey": "ec1bbfee-fa45-4bdf-b87d-5afbeed6d1ef",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "DisplayName": "sample string 6",
    "EmailAddress": "sample string 7",
    "ContactStatusCode": "sample string 8",
    "PrefixCode": "sample string 9",
    "UpdatedOn": "2024-12-21T16:11:27.4621241Z",
    "UpdatedByContactKey": "a43b1f6d-e1b1-420a-8710-a3f97f40f8e2",
    "CompanyName": "sample string 12",
    "CompanyTitle": "sample string 13",
    "SuffixCode": "sample string 14",
    "Designation": "sample string 15",
    "LegacyContactKey": "sample string 16",
    "InformalName": "sample string 17",
    "MiddleName": "sample string 18",
    "IsCompany": true,
    "CompanyLegacyContactKey": "sample string 20",
    "AMSDirectoryOptOut": true,
    "HLDirectoryOptOut": true,
    "HLContactMeOptOut": true,
    "LargePictureUrl": "sample string 24",
    "AgreedToTermsDateTime": "2024-12-21T16:11:27.4621241Z"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactConcise xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <ContactConcise>
    <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
    <AgreedToTermsDateTime>2024-12-21T11:11:27.4621241-05:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>ec1bbfee-fa45-4bdf-b87d-5afbeed6d1ef</ContactKey>
    <ContactStatusCode>sample string 8</ContactStatusCode>
    <Designation>sample string 15</Designation>
    <DisplayName>sample string 6</DisplayName>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <HLContactMeOptOut>true</HLContactMeOptOut>
    <HLDirectoryOptOut>true</HLDirectoryOptOut>
    <InformalName>sample string 17</InformalName>
    <IsCompany>true</IsCompany>
    <LargePictureUrl>sample string 24</LargePictureUrl>
    <LastName>sample string 5</LastName>
    <LegacyContactKey>sample string 16</LegacyContactKey>
    <LinkToProfile>sample string 1</LinkToProfile>
    <MiddleName>sample string 18</MiddleName>
    <PictureUrl>sample string 2</PictureUrl>
    <PrefixCode>sample string 9</PrefixCode>
    <SuffixCode>sample string 14</SuffixCode>
    <UpdatedByContactKey>a43b1f6d-e1b1-420a-8710-a3f97f40f8e2</UpdatedByContactKey>
    <UpdatedOn>2024-12-21T11:11:27.4621241-05:00</UpdatedOn>
  </ContactConcise>
  <ContactConcise>
    <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
    <AgreedToTermsDateTime>2024-12-21T11:11:27.4621241-05:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>ec1bbfee-fa45-4bdf-b87d-5afbeed6d1ef</ContactKey>
    <ContactStatusCode>sample string 8</ContactStatusCode>
    <Designation>sample string 15</Designation>
    <DisplayName>sample string 6</DisplayName>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <HLContactMeOptOut>true</HLContactMeOptOut>
    <HLDirectoryOptOut>true</HLDirectoryOptOut>
    <InformalName>sample string 17</InformalName>
    <IsCompany>true</IsCompany>
    <LargePictureUrl>sample string 24</LargePictureUrl>
    <LastName>sample string 5</LastName>
    <LegacyContactKey>sample string 16</LegacyContactKey>
    <LinkToProfile>sample string 1</LinkToProfile>
    <MiddleName>sample string 18</MiddleName>
    <PictureUrl>sample string 2</PictureUrl>
    <PrefixCode>sample string 9</PrefixCode>
    <SuffixCode>sample string 14</SuffixCode>
    <UpdatedByContactKey>a43b1f6d-e1b1-420a-8710-a3f97f40f8e2</UpdatedByContactKey>
    <UpdatedOn>2024-12-21T11:11:27.4621241-05:00</UpdatedOn>
  </ContactConcise>
</ArrayOfContactConcise>