GET client/{id}/externaldeclarations?periodStart={periodStart}&periodEnd={periodEnd}

Get external declaration(s) from Fiscaal Gemak by client.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the client.

integer

Required

periodStart

The startdate in which the external declaration must fall.

date

None.

periodEnd

The end date in which the external declaration must fall.

date

None.

Body Parameters

None.

Response Information

Resource Description

The ExternalDeclarationViewModel, containing information about the external declaration.

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

integer

None.

ClientName

string

None.

CurrentStepName

string

None.

DeclarationId

integer

None.

PeriodEnd

date

None.

PeriodStart

date

None.

Year

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClientId": 1,
    "ClientName": "sample string 2",
    "CurrentStepName": "sample string 3",
    "DeclarationId": 4,
    "PeriodEnd": "2022-12-03T14:16:16.1944772+01:00",
    "PeriodStart": "2022-12-03T14:16:16.1954775+01:00",
    "Year": 7
  },
  {
    "ClientId": 1,
    "ClientName": "sample string 2",
    "CurrentStepName": "sample string 3",
    "DeclarationId": 4,
    "PeriodEnd": "2022-12-03T14:16:16.1944772+01:00",
    "PeriodStart": "2022-12-03T14:16:16.1954775+01:00",
    "Year": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfExternalDeclarationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Web.Api.Models.Models">
  <ExternalDeclarationViewModel>
    <ClientId>1</ClientId>
    <ClientName>sample string 2</ClientName>
    <CurrentStepName>sample string 3</CurrentStepName>
    <DeclarationId>4</DeclarationId>
    <PeriodEnd>2022-12-03T14:16:16.1944772+01:00</PeriodEnd>
    <PeriodStart>2022-12-03T14:16:16.1954775+01:00</PeriodStart>
    <Year>7</Year>
  </ExternalDeclarationViewModel>
  <ExternalDeclarationViewModel>
    <ClientId>1</ClientId>
    <ClientName>sample string 2</ClientName>
    <CurrentStepName>sample string 3</CurrentStepName>
    <DeclarationId>4</DeclarationId>
    <PeriodEnd>2022-12-03T14:16:16.1944772+01:00</PeriodEnd>
    <PeriodStart>2022-12-03T14:16:16.1954775+01:00</PeriodStart>
    <Year>7</Year>
  </ExternalDeclarationViewModel>
</ArrayOfExternalDeclarationViewModel>