Parties
GraphQL can significantly enhance the power of your API Integration. To onboard, please reach out to your Account Manager for pricing information.
Parties is a field on the Entity root type that represents the entity's associated party records. Parties is an array of type Party, which has the following structure:
Parties can also be filtered by specifying one or more party IDs in an array called partyIds
:
Response:
Paging
To limit response sizes, the Parties field utilizes paging. To page through the party records, use the skip
and take
parameters:
The default page size is 50.
There are also additional fields in the request that help to identify the total number of Parties records (totalCount
), if a previous page exists (hasPreviousPage
), and if a next page exists (hasNextPage
). hasPreviousPage
and hasNextPage
are nested in a pageInfo
object on the Parties object:
Response:
Using these fields and parameters, you can page through the Parties in subsequent requests, using logic similar to:
if (pageInfo.hasNextPage)
skip = skip + take
Last updated