GET declaration/{id}

Get a declaration from Fiscaal Gemak.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the declaration.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The DeclarationViewModel, containing information about the declaration.

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

integer

None.

ClientName

string

None.

CurrentStepName

string

None.

DeclarationId

integer

None.

DeclarationType

FiscaalGemak.Web.Api.Models.Enums.DeclarationType

None.

InternalStatus

FiscaalGemak.Web.Api.Models.Enums.InternalStatus

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,
  "DeclarationType": 1,
  "InternalStatus": 1,
  "PeriodEnd": "2022-12-03T14:16:52.2281538+01:00",
  "PeriodStart": "2022-12-03T14:16:52.2281538+01:00",
  "Year": 7
}

application/xml, text/xml

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