GET api/v2.0/Demographics/GetDemographicsVisibleOnMainMicrositeProfile
Get all demographic types that are visible on the main microsite profile
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
An array of demographic types
Collection of DemographicTypeName | Description | Type | Additional information |
---|---|---|---|
DemographicTypeKey |
Unique key for the Demographic Type. |
globally unique identifier |
None. |
Name |
Name of the Demographic Type. |
string |
None. |
Description |
Description of the Demographic Type. |
string |
None. |
IsNetwork |
Is this Demographic Type associated with a Network? |
boolean |
None. |
IsFreeFormAllowed |
Can this Demographic Type be used with Free-Form Demographic entries? |
boolean |
None. |
IsMultiSelect |
Is this Demographic Type to be used with Multi-select responses. |
boolean |
None. |
IsPerson |
Is this Demographic Type related to Contacts? |
boolean |
None. |
ShowDescriptionInProfile |
Should this Demographic Type's description be shown in a user's Profile? |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DemographicTypeKey": "e4c7695b-6b3f-48d1-a641-a4d489f3756b", "Name": "sample string 2", "Description": "sample string 3", "IsNetwork": true, "IsFreeFormAllowed": true, "IsMultiSelect": true, "IsPerson": true, "ShowDescriptionInProfile": true }, { "DemographicTypeKey": "e4c7695b-6b3f-48d1-a641-a4d489f3756b", "Name": "sample string 2", "Description": "sample string 3", "IsNetwork": true, "IsFreeFormAllowed": true, "IsMultiSelect": true, "IsPerson": true, "ShowDescriptionInProfile": true } ]
application/xml, text/xml
Sample:
<ArrayOfDemographicType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Demographics"> <DemographicType> <DemographicTypeKey>e4c7695b-6b3f-48d1-a641-a4d489f3756b</DemographicTypeKey> <Description>sample string 3</Description> <IsFreeFormAllowed>true</IsFreeFormAllowed> <IsMultiSelect>true</IsMultiSelect> <IsNetwork>true</IsNetwork> <IsPerson>true</IsPerson> <Name>sample string 2</Name> <ShowDescriptionInProfile>true</ShowDescriptionInProfile> </DemographicType> <DemographicType> <DemographicTypeKey>e4c7695b-6b3f-48d1-a641-a4d489f3756b</DemographicTypeKey> <Description>sample string 3</Description> <IsFreeFormAllowed>true</IsFreeFormAllowed> <IsMultiSelect>true</IsMultiSelect> <IsNetwork>true</IsNetwork> <IsPerson>true</IsPerson> <Name>sample string 2</Name> <ShowDescriptionInProfile>true</ShowDescriptionInProfile> </DemographicType> </ArrayOfDemographicType>