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": "bb463e5b-f3aa-4235-af2f-2c378f7e3276",
  "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>bb463e5b-f3aa-4235-af2f-2c378f7e3276</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": "525609a5-d923-470b-bb8e-1527ff59bce0",
    "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-03-28T09:34:00.1143386Z",
    "UpdatedByContactKey": "92ae3824-4ff3-46db-ae9a-f789f55b3aa9",
    "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-03-28T09:34:00.1143386Z"
  },
  {
    "LinkToProfile": "sample string 1",
    "PictureUrl": "sample string 2",
    "ContactKey": "525609a5-d923-470b-bb8e-1527ff59bce0",
    "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-03-28T09:34:00.1143386Z",
    "UpdatedByContactKey": "92ae3824-4ff3-46db-ae9a-f789f55b3aa9",
    "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-03-28T09:34:00.1143386Z"
  }
]

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-03-28T05:34:00.1143386-04:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>525609a5-d923-470b-bb8e-1527ff59bce0</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>92ae3824-4ff3-46db-ae9a-f789f55b3aa9</UpdatedByContactKey>
    <UpdatedOn>2024-03-28T05:34:00.1143386-04:00</UpdatedOn>
  </ContactConcise>
  <ContactConcise>
    <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
    <AgreedToTermsDateTime>2024-03-28T05:34:00.1143386-04:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>525609a5-d923-470b-bb8e-1527ff59bce0</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>92ae3824-4ff3-46db-ae9a-f789f55b3aa9</UpdatedByContactKey>
    <UpdatedOn>2024-03-28T05:34:00.1143386-04:00</UpdatedOn>
  </ContactConcise>
</ArrayOfContactConcise>