Get person relationships

Retrieve the people related to the given person, with the label describing each relationship.

Required permission: Limited Read People

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the person.

Query Params
string

Text matched against the related person's names, former names and aliases. When multiple words are given, every word must match.

string

Return relationships whose related person's email address contains the given text.

string

Return relationships whose related person's phone number contains the given digits.

string

Comma-delimited list of relationship label ids. Values come from /api/property_values/relationship/values.

string

Comma-delimited list of campus (location) ids matched against the related person. Use -1 to include people with no campus.

string

Comma-delimited list of record type ids matched against the related person. Values come from /api/property_values/person_record_type/values. Use -1 to include people with no record type.

string

Return relationships whose comments contain the given text.

int32
≥ 0

The number of records to skip before returning results, used for paging.

int32
≥ 0

The maximum number of records to return per page. Defaults to 50.

string

The field to sort the results by. The default field depends on the endpoint.

string
enum

The sort direction: "asc" or "desc".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json