List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities.
List people request
OK
cursor | string Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. |
Array of objects (CustomEntity) | |
customFacetNames | Array of strings list of Person attributes that are custom setup by deployment |
Array of objects (FacetResult) | |
hasMoreResults | boolean Whether or not more entities can be fetched. |
Array of objects (Person) | |
sortOptions | Array of strings (EntitiesSortOrder) Sort options from EntitiesSortOrder supported for this response. Default is empty list. |
Array of objects (Team) | |
totalCount | integer The total number of entities available |
Invalid request
Not Authorized
Too Many Requests
{- "filter": [
- {
- "fieldName": "type",
- "values": [
- {
- "value": "Spreadsheet",
- "relationType": "EQUALS"
}, - {
- "value": "Presentation",
- "relationType": "EQUALS"
}
]
}
], - "sort": [
- {
- "orderBy": "ASC",
- "sortBy": "string"
}
], - "entityType": "PEOPLE",
- "datasource": "string",
- "query": "string",
- "includeFields": [
- "PEOPLE"
], - "pageSize": 100,
- "cursor": "string",
- "source": "string",
- "requestType": "STANDARD"
}
{- "results": [
- {
- "name": "George Clooney",
- "obfuscatedId": "abc123"
}
], - "teamResults": [
- {
- "relatedObjects": {
- "property1": {
- "objects": [
- {
- "id": "string",
- "metadata": {
- "name": null
}
}
]
}, - "property2": {
- "objects": [
- {
- "id": "string",
- "metadata": {
- "name": null
}
}
]
}
}, - "permissions": {
- "write": {
- "scopeType": "GLOBAL",
- "create": true,
- "update": true,
- "delete": true
}
}, - "id": "string",
- "name": "string",
- "description": "string",
- "businessUnit": "string",
- "department": "string",
- "photoUrl": "string",
- "bannerUrl": "string",
- "members": [
- {
- "person": {
- "name": "George Clooney",
- "obfuscatedId": "abc123"
}, - "relationship": "MEMBER",
- "customRelationshipStr": "string",
- "joinDate": "2019-08-24T14:15:22Z"
}
], - "memberCount": 0,
- "emails": [
- {
- "email": "user@example.com",
- "type": "PRIMARY",
- "isUserGenerated": true
}
], - "customFields": [
- {
- "label": "string",
- "values": [
- {
- "strText": "string"
}
], - "displayable": true
}
], - "datasourceProfiles": [
- {
- "datasource": "github",
- "handle": "string",
- "url": "string",
- "nativeAppUrl": "string",
- "isUserGenerated": true
}
], - "datasource": "string",
- "createdFrom": "string",
- "lastUpdatedAt": "2019-08-24T14:15:22Z",
- "status": "PROCESSED",
- "canBeDeleted": true,
- "loggingId": "string"
}
], - "customEntityResults": [
- {
- "permissions": {
- "write": {
- "scopeType": "GLOBAL",
- "create": true,
- "update": true,
- "delete": true
}
}, - "id": "string",
- "title": "string",
- "datasource": "string",
- "objectType": "string",
- "metadata": {
- "customData": {
- "property1": {
- "displayLabel": "string",
- "stringValue": "string",
- "stringListValue": [
- "string"
], - "numberValue": 0,
- "booleanValue": true
}, - "property2": {
- "displayLabel": "string",
- "stringValue": "string",
- "stringListValue": [
- "string"
], - "numberValue": 0,
- "booleanValue": true
}
}
}, - "roles": [
- {
- "sourceDocumentSpec": {
- "url": "string"
}, - "person": {
- "name": "George Clooney",
- "obfuscatedId": "abc123"
}, - "group": {
- "type": "DEPARTMENT",
- "id": "string",
- "name": "string"
}, - "role": "OWNER"
}
]
}
], - "facetResults": [
- {
- "sourceName": "container_name",
- "operatorName": "SelectMultiple",
- "buckets": [
- {
- "count": 1,
- "datasource": "jira",
- "percentage": 5,
- "value": {
- "stringValue": "engineering",
- "integerValue": 5,
- "displayLabel": "engineering",
- "iconConfig": {
- "color": "#343CED",
- "key": "person_icon",
- "iconType": "GLYPH",
- "name": "user"
}
}
}
], - "hasMoreBuckets": false,
- "groupName": "Service Cloud"
}
], - "cursor": "string",
- "totalCount": 0,
- "hasMoreResults": true,
- "sortOptions": [
- "ENTITY_NAME"
], - "customFacetNames": [
- "string"
]
}