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

cases: PagingResultOfCase!

This query allows for the return of cases 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 aspects, clients, form submission, organizations, reports, tenants and workflows. **Returns:** Returns an array of case information.

  1. filterBy
  2. and

id: PropertyFilterOfGuidInput

publicId: PropertyFilterOfStringInput

dateCreated: PropertyFilterOfDateTimeOffsetInput

workflowId: PropertyFilterOfGuidInput

tenantId: PropertyFilterOfGuidInput

clientId: PropertyFilterOfGuidInput

organizationalUnitId: PropertyFilterOfGuidInput

enrollmentDate: PropertyFilterOfDateTimeOffsetInput

dischargeDate: PropertyFilterOfDateTimeOffsetInput

dependantUserQuery: PropertyFilterOfStringInput

isClosed: PropertyFilterOfBooleanInput

dateClosed: PropertyFilterOfNullableOfDateTimeOffsetInput

expectedClearanceDate: PropertyFilterOfNullableOfDateTimeOffsetInput

startingPointId: PropertyFilterOfNullableOfGuidInput

isDeleted: PropertyFilterOfBooleanInput

status: PropertyFilterOfCaseStatusFilterValueInput

metadata: MetadataEntryFilterInputOfCaseMetadataEntryAndCasesManagementEntityFilterContextInput

metadataKeyValue: PropertyFilterOfMetadataFilterValueOfCaseMetadataEntryInput

aspectOwnerId: PropertyFilterOfGuidInput

aspectOwnerUserQuery: PropertyFilterOfStringInput

aspectOwnership: PropertyFilterOfCaseAspectFilterValueInput

hasStartingPoint: PropertyFilterOfBooleanInput

client: ClientFilterInput

organizationalUnit: OrganizationalUnitFilterInput

workflow: WorkflowFilterInput

formSubmissions: CaseFormSubmissionFilterInput

formSubmissionRequests: CaseFormSubmissionRequestFilterInput

notes: CaseNoteFilterInput

documents: CaseDocumentFilterInput

aspects: CaseAspectFilterInput

or: [CaseFilterInput!]

and: [CaseFilterInput!]