Magidoc

getAccountingPeriods
Query

Lists accounting periods matching the supplied filters.

Arguments

#

workspaceId

ID !
Non-null

glCompanyId

Narrow the list to one company's calendars. Omitted, every company's periods are listed. The default company also matches the calendars written before any company existed, since those are the ones it governs.

search

statuses

sortBy

sortDirection

limit

skip

Response

#

Returns [AccountingPeriod !]!.

Example

#