Characteristics
GraphQL can significantly enhance the power of your API Integration. To onboard, please reach out to your Account Manager for pricing information.
Characteristics is an object field on the Entity root type that defines the characteristics of a given record. Because characteristics can vary based on char type and template, the Characteristics object does not have a predictable set of fields. It is instead a collection of key-value pairs represented by a characteristic's tag label and its value, exactly how it is represented for other REST endpoints.
The above query would return all characteristic values for a given entity. Each entity object has a characteristics field that can be requested.
Filtering
Since Characteristics does not have a predictable structure, we are not able to query for specific characteristics the way we normally would through GraphQL. In order to request only specific characteristics for a given entity, you must pass the desired characteristics in a parameter called tags
:
This will return only characteristics with tag labels matching either agreement_date
or term_start
. If the characteristic does not exist or does not have a value, it will not be returned.
If no tags are passed, all characteristic values will be returned. Characteristics are serialized in the response in the same manner that they are for all other REST endpoints.
Last updated