Accounts
Account records and account-level SaaS activity.
Last updated
Queries
account query
Retrieve account data from the Viio GraphQL API.
account(id: ID!): Account
Returns: Account
Arguments for account
| Name | Description |
|---|---|
id (ID!) |
accounts query
Retrieve accounts data from the Viio GraphQL API.
accounts(first: Int, after: String, last: Int, before: String, where: AccountFilterInput, order: [AccountSortInput!]): AccountsConnection
Returns: AccountsConnection
Arguments for accounts
| Name | Description |
|---|---|
where (AccountFilterInput) | |
order ([AccountSortInput!]) | |
first (Int) | Returns the first n elements from the list. |
after (String) | Returns elements after the specified cursor. |
last (Int) | Returns the last n elements from the list. |
before (String) | Returns elements before the specified cursor. |
Objects
Account object
Fields returned by the Account object type.
| Name | Description |
|---|---|
id (ID!) | |
integrationKey (String!) | |
tenant (String) | |
sourceId (String!) | |
name (String) | |
primaryEmail (String) | |
emailAliases ([String!]!) | |
type (AccountType!) | |
status (AccountStatus!) |
AccountsConnection object
A connection to a list of items.
| Name | Description |
|---|---|
pageInfo (PageInfo!) | Information to aid in pagination. |
edges ([AccountsEdge!]) | A list of edges. |
nodes ([Account!]) | A flattened list of the nodes. |
totalCount (Int!) | Identifies the total count of items in the connection. |
AccountsEdge object
An edge in a connection.
| Name | Description |
|---|---|
cursor (String!) | A cursor for use in pagination. |
node (Account!) | The item at the end of the edge. |
Input Types
AccountFilterInput input
Input fields accepted by AccountFilterInput.
| Name | Description |
|---|---|
and ([AccountFilterInput!]) | |
or ([AccountFilterInput!]) | |
integrationKey (StringOperationFilterInput) | |
tenant (StringOperationFilterInput) | |
name (StringOperationFilterInput) | |
primaryEmail (StringOperationFilterInput) | |
type (AccountTypeOperationFilterInput) | |
status (AccountStatusOperationFilterInput) |
AccountSortInput input
Input fields accepted by AccountSortInput.
| Name | Description |
|---|---|
name (SortEnumType) | |
primaryEmail (SortEnumType) |
AccountStatusOperationFilterInput input
Input fields accepted by AccountStatusOperationFilterInput.
| Name | Description |
|---|---|
eq (AccountStatus) | |
neq (AccountStatus) | |
in ([AccountStatus!]) | |
nin ([AccountStatus!]) |
AccountTypeOperationFilterInput input
Input fields accepted by AccountTypeOperationFilterInput.
| Name | Description |
|---|---|
eq (AccountType) | |
neq (AccountType) | |
in ([AccountType!]) | |
nin ([AccountType!]) |
StringOperationFilterInput input
Input fields accepted by StringOperationFilterInput.
| Name | Description |
|---|---|
and ([StringOperationFilterInput!]) | |
or ([StringOperationFilterInput!]) | |
eq (String) | |
neq (String) | |
contains (String) | |
ncontains (String) | |
in ([String]) | |
nin ([String]) | |
startsWith (String) | |
nstartsWith (String) | |
endsWith (String) | |
nendsWith (String) |
Enums
AccountStatus enum
Accepted values for the AccountStatus enum.
| Value | Description |
|---|---|
ACTIVE | |
SUSPENDED | |
DELETED |
AccountType enum
Accepted values for the AccountType enum.
| Value | Description |
|---|---|
MEMBER | |
GUEST | |
BOT |