Accounts Queries

Interactive examples coming soon...

addresses :: [Address]

ArgumentTypeDescription
limitInt
offsetInt
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

apiKeys :: [ApiKey]

Lookup API keys for your org

No arguments.

checkDuplicatePhoneNumber :: Boolean

ArgumentTypeDescription
inputPhoneNumberInput!

client :: Client

Lookup a specific client by id

ArgumentTypeDescription
idID!

clientTag :: ClientTag

ArgumentTypeDescription
idID!

clientTags :: [ClientTag]

No arguments.

clients :: [Client]

Get a list of clients within your organization's database. Depending on how many providers your organization has, you may need to page through your data with filters.

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. All users in Vetspire are listed as a provider and have an id.

ArgumentTypeDescription
idID!provider's primary id

providerAuthToken :: String

ArgumentTypeDescription
providerIdID!

providerRole :: ProviderRole

ArgumentTypeDescription
idID!

providerRoles :: [ProviderRole!]!

ArgumentTypeDescription
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

providers :: [Provider]

ArgumentTypeDescription
ids[ID]
locationIdID
onlyActiveBoolean
vetOnlyBoolean

searchAccounts :: [ClientResult]

Full-text search for clients or patients at a org

ArgumentTypeDescription
clientIdIDFilter results by a client ID
limitInt
locationIdIDFilter results by primary location id
orgIdID
queryString!

totalClients :: Int

No arguments.

viewer :: Viewer

Lookup the viewer

No arguments.

viewerSubscription :: Viewer

Lookup the viewer

No arguments.