AM Logo
API AuthorizationAPI DocumentationForm DefinitionsFAQ
  1. Home
  2. API Documentation
  3. Outcomes
  4. Queries
  5. organizationalUnits

organizationalUnits: PagingResultOfOrganizationalUnit!

This query allows for the return of organizational units and all of their associated details based on search criteria. The returned list is limited based on the permissions of the customers API Token. The information returned for each case can include information about staff members, cases, clients, organizations, tenants and workflow information. **Returns:** Returns an array of organizational unit information.

  1. filterBy

id: PropertyFilterOfGuidInput

tenantId: PropertyFilterOfGuidInput

isActive: PropertyFilterOfBooleanInput

isDeleted: PropertyFilterOfBooleanInput

parentIds: PropertyFilterOfNullable_1__Input

parentNames: PropertyFilterOfString__Input

name: PropertyFilterOfStringInput

shortName: PropertyFilterOfStringInput

description: PropertyFilterOfStringInput

staffMemberIds: PropertyFilterOfGuid__Input

staffMemberNames: PropertyFilterOfString__Input

isAssignable: PropertyFilterOfBooleanInput

emailAddress: PropertyFilterOfStringInput

phoneNumber: PropertyFilterOfStringInput

address: OrganizationalUnitAddressFilterInput

or: [OrganizationalUnitFilterInput!]

and: [OrganizationalUnitFilterInput!]