Accounting Periods
System
Status
Authorizations
x-api-keystringRequired
Use the API key to access all API endpoints.
Path parameters
consentIdstring Β· uuidRequired
Identifier of the consent representing the connection to the accounting system.
Header parameters
x-correlation-idstring Β· uuidRequired
Unique identifier used to correlate and trace this request.
Responses
200
Returns a paginated list of accounting periods for the specified consent.
application/json
Represents a paginated result containing metadata and a collection of items.
401
Missing or invalid authentication credentials.
application/json
403
Not authorized to access this resource.
application/json
404
The requested accounting periods were not found.
application/json
501
This operation is not supported by the connected accounting system.
application/json
get/api/v1/consents/{consentId}/accountingperiods
GET /accounting/api/v1/consents/{consentId}/accountingperiods HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
{
"meta": {
"totalResources": 10,
"totalPages": 1,
"currentPage": 1
},
"data": [
{
"id": "2024",
"reference": "2024",
"accountingMethod": null,
"startDate": "2024-01-01",
"endDate": "2024-12-31",
"isOpen": true
}
]
}Last updated
Was this helpful?
