curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/periods' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"periods": [
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
],
"total": 1
}
List periods
List periods
GET
/
api
/
v1
/
gl
/
periods
curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/periods' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"periods": [
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
],
"total": 1
}
Query parameters
integer (int32)
string
One of
future, open, closed, locked.integer (int32)
integer (int32)
Responses
GlPeriodListResponse
curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/periods' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"periods": [
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
],
"total": 1
}
⌘I