GET external-declaration/{id}

Get a external 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 ExternalDeclarationViewModel, containing information about the declaration.

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:35:34.4045074+01:00",
  "PeriodStart": "2022-12-03T14:35:34.4045074+01:00",
  "Year": 7
}

application/xml, text/xml

Sample:
<ExternalDeclarationViewModel 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>
  <PeriodEnd>2022-12-03T14:35:34.4045074+01:00</PeriodEnd>
  <PeriodStart>2022-12-03T14:35:34.4045074+01:00</PeriodStart>
  <Year>7</Year>
</ExternalDeclarationViewModel>