Get Relations Total
The Get Relations Total API returns the total number of relationship objects that match the filter criteria.
Request - You can use one of the following endpoints to search for the total count of relations:
GET {TenantURL}/relations/_total
POST {TenantURL}/relations/_total
POST
method and pass the parameters through
the request body.Parameter | Required | Description | |
---|---|---|---|
Headers |
Authorization
|
Yes | Information about authentication access token in format "Bearer
<accessToken> " (see details in Authentication API ). |
Query |
filter
|
Yes | Enables relations filtering by a condition. Format for filter query
parameter: filter=({Condition Type}[AND/OR {Condition
Type}]*) . For more information see Relations Filtering. |
activeness |
No | This possible values of this parameter are as follows:
|
|
Body (Only for the POST
method) |
No | Indicates the JSON body that can have all the same fields as
supported in the query parameters. Note: The query parameters have
priority and override the body parameters. |
Response
JSON object with the total number of relation objects matching the search filter.
GET and POST Requests
GET
Request
Response
POST
Request
Response