Query parameters
-
Filter the results by type of accounting period. Use "Period" to retrieve only sub-periods within financial years, "Year" to retrieve only full financial years, or "All" to retrieve both financial years and their associated periods.
Values are
Year
,Period
, orAll
. Default value isYear
.
GET
/fiscalperiods
curl \
--request GET 'https://rest.api.24sevenoffice.com/v1/fiscalperiods' \
--header "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
[
{
"id": "3acda329-3074-4036-a1a2-499397dd6dc3",
"type": "Year",
"startingDate": "2023-01-01",
"endingDate": "2023-12-31"
}
]