Accounts Queries

Interactive examples coming soon...

addresses :: [Address]

ArgumentTypeDescription
limitInt
offsetInt
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

apiKeys :: [ApiKey]

Lookup API keys for your org

No arguments.

client :: Client

Lookup a specific client by id

ArgumentTypeDescription
idID!

clients :: [Client]

Get a list of clients at your org

ArgumentTypeDescription
filtersClientFilters
insertedAtEndNaiveDateTime
insertedAtStartNaiveDateTime
limitInt
offsetInt
sortBySortOptions
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

clientsCount :: Int

ArgumentTypeDescription
filtersClientFilters
insertedAtEndNaiveDateTime
insertedAtStartNaiveDateTime
sortBySortOptions

coowners :: [Coowner]

ArgumentTypeDescription
limitInt
offsetInt
updatedAtEndDateTime
updatedAtStartDateTime

countNewClients :: [DateCount]

Count new clients based on filters between a range and segment

ArgumentTypeDescription
endDateTime
segmentTimeSegment!
startDateTime

externalCommPreferences :: ClientExternalCommPreferencesValue

ArgumentTypeDescription
clientIdID!

externalSearch :: [ExternalSearchResult]

ArgumentTypeDescription
inputExternalSearchInput

phoneNumbers :: [PhoneNumber]

ArgumentTypeDescription
limitInt
offsetInt
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

provider :: Provider

Lookup a specific provider by id

ArgumentTypeDescription
idID!provider's primary id

providerAuthToken :: String

ArgumentTypeDescription
providerIdID!

providers :: [Provider]

ArgumentTypeDescription
ids[ID]
locationIdID
onlyActiveBoolean
vetOnlyBoolean

searchAccounts :: [ClientResult]

Full-text search for clients or patients at a org

ArgumentTypeDescription
limitInt
orgIdID
queryString!

totalClients :: Int

No arguments.

viewer :: Viewer

Lookup the viewer

No arguments.

viewerSubscription :: Viewer

Lookup the viewer

No arguments.