GET declaration/current/workflows

Gets the declaration workflow. This feature is not available in all subscriptions. Contact your accountmanager for more information. This endpoint will return your combined workflow data over the last 30 days. Optionally you can provide a periodStart and periodEnd to retrieve a specific period. Maximum date-range for this is three months.

Request Information

URI Parameters

None.

Body Parameters

The period start of the declarations.

FiscaalGemak.Web.Api.Models.Models.DeclarationPeriodModel
NameDescriptionTypeAdditional information
PeriodStart

Gets or sets the periodstart of the request. This parameter is optional.

date

None.

PeriodEnd

Gets or sets the periodend of the request. This parameter is optional.

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PeriodStart": "2025-02-05T11:54:47.7779086+01:00",
  "PeriodEnd": "2025-02-05T11:54:47.7779086+01:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The workflow information

Collection of FiscaalGemak.Web.Models.Models.DeclarationWorkflowDeclarationViewModel
NameDescriptionTypeAdditional information
DeclarationId

integer

None.

ClientId

integer

None.

DeclarationType

string

None.

Year

integer

None.

PeriodStart

date

None.

PeriodEnd

date

None.

AuditRecords

Collection of FiscaalGemak.Web.Models.Models.DeclarationWorkflowAuditRecordModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DeclarationId": 1,
    "ClientId": 2,
    "DeclarationType": "sample string 3",
    "Year": 4,
    "PeriodStart": "2025-02-05T11:54:47.7779086+01:00",
    "PeriodEnd": "2025-02-05T11:54:47.7779086+01:00",
    "AuditRecords": [
      {
        "DeclarationId": 1,
        "Status": "sample string 2",
        "User": "sample string 3",
        "CreatedDateTime": "2025-02-05T11:54:47.7779086+01:00"
      },
      {
        "DeclarationId": 1,
        "Status": "sample string 2",
        "User": "sample string 3",
        "CreatedDateTime": "2025-02-05T11:54:47.7779086+01:00"
      }
    ]
  },
  {
    "DeclarationId": 1,
    "ClientId": 2,
    "DeclarationType": "sample string 3",
    "Year": 4,
    "PeriodStart": "2025-02-05T11:54:47.7779086+01:00",
    "PeriodEnd": "2025-02-05T11:54:47.7779086+01:00",
    "AuditRecords": [
      {
        "DeclarationId": 1,
        "Status": "sample string 2",
        "User": "sample string 3",
        "CreatedDateTime": "2025-02-05T11:54:47.7779086+01:00"
      },
      {
        "DeclarationId": 1,
        "Status": "sample string 2",
        "User": "sample string 3",
        "CreatedDateTime": "2025-02-05T11:54:47.7779086+01:00"
      }
    ]
  }
]