GET client/{id}/declarations?declarationType={declarationType}&periodStart={periodStart}&periodEnd={periodEnd}

Get declaration(s) from Fiscaal Gemak by client.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the client.

integer

Required

declarationType

The declarationType of the declaration.

FiscaalGemak.Web.Api.Models.Enums.DeclarationType

None.

periodStart

The startdate in which the declaration must fall.

date

None.

periodEnd

The end date in which the declaration must fall.

date

None.

Body Parameters

None.

Response Information

Resource Description

The DeclarationViewModel, containing information about the declaration.

Collection of FiscaalGemak.Web.Api.Models.Models.DeclarationViewModel
NameDescriptionTypeAdditional information
ClientId

Gets or sets the id of the declarantclient of the declaration.

integer

None.

ClientName

Gets or sets the name of the declarantclient of the declaration.

string

None.

CurrentStepName

Gets or sets the current step name of the declaration.

string

None.

DeclarationId

Gets or sets the id of the declaration.

integer

None.

DeclarationType

Gets or sets the type of the declaration.

FiscaalGemak.Web.Api.Models.Enums.DeclarationType

None.

InternalStatus

Gets or sets the internal status of the declaration.

FiscaalGemak.Web.Api.Models.Enums.InternalStatus

None.

PeriodEnd

Gets or sets the period end of the declaration.

date

None.

PeriodStart

Gets or sets the period start of the declaration.

date

None.

Year

Gets or sets the year of the declaration.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClientId": 1,
    "ClientName": "sample string 2",
    "CurrentStepName": "sample string 3",
    "DeclarationId": 4,
    "DeclarationType": 1,
    "InternalStatus": 1,
    "PeriodEnd": "2024-12-04T20:01:08.6512305+01:00",
    "PeriodStart": "2024-12-04T20:01:08.6512305+01:00",
    "Year": 7
  },
  {
    "ClientId": 1,
    "ClientName": "sample string 2",
    "CurrentStepName": "sample string 3",
    "DeclarationId": 4,
    "DeclarationType": 1,
    "InternalStatus": 1,
    "PeriodEnd": "2024-12-04T20:01:08.6512305+01:00",
    "PeriodStart": "2024-12-04T20:01:08.6512305+01:00",
    "Year": 7
  }
]