HomeGuidesDeveloper HubRelease Notes
Get supportBook a chat
Developer Hub

Get member's segments

Available in R1 2023 and later

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Fields query param

The following table describes the default fields returned for each related Segment.

ValueDescriptionData type
IdId of the related Segment.String
NameName of the related Segment.String
RecordType.NameSegments can be one of three types:
  • Dynamic: Assigned via criteria.
  • Manual: Assigned member by member.
  • Metasegment: A segment composed of two or more segments.
String
FieloPLT__OnlineProcessing__cWhen true, segment membership is calculated on-the-fly whenever segmented content is accessed.Boolean
FieloPLT__RecordBased__cWhen true, segment membership is stored on the database, either on the FieloPLT__RelatedSegments__c field of the Member object, or in Member Segment records.Boolean

You can add any field of the Segment object to the fields query param.

Sample Response

The response to a call with default params will look something like this:

[ "segs":
    { "Id": "xxxxxxxxxxxxx",
       "Name": "xx",
       "RecordType.Name": "Dynamic",
       "FieloPLT__OnlineProcessing__c": true,
       "FieloPLT__RecordBased__c": false
    },
    { "Id": "yyyyyyyyyyyyy",
       "Name": "yy",
       "RecordType.Name": "Dynamic",
       "FieloPLT__OnlineProcessing__c": false,
       "FieloPLT__RecordBased__c": true
    }
]
Path Params
string
required

Member ID (either a Salesforce Record ID or an external ID)

Query Params
string
Defaults to Id,Name,RecordType.Name,FieloPLT__OnlineProcessing__c,FieloPLT__RecordBased__c

A comma-separated list of Segment fields (API name) to return

int32
Defaults to 20
int32
Defaults to 0
string
Defaults to CreatedDate+ASC

A comma-separated list of field_API_name+ASC/DESC

Language
Credentials
Header
LoadingLoading…