persons
Get a list of persons associated with the user
GraphQL Schema
extend type query {
"""Get a list of persons associated with the user"""
persons(userId: ID!): [Person!]!
}
Arguments
| Name | Type | Description |
|---|---|---|
| userId | ID! | Unique ID of the user |
Response Shape
This query returns [Person!]!
| Name | Type | Description |
|---|---|---|
| id | ID! | Unique ID of the object |
| relationship | Relationship | |
| title | String | |
| firstName | String | |
| legalFirstName | String | |
| lastName | String | |
| legalLastName | String | |
| dateOfBirth | Date | |
| phoneNumber | String | |
| sex | BiologicalSex | |
| joinDate | Date | |
| address | Address |