GET external-declaration/{id}/documents

Get document(s) of an 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 ExternalDeclarationDocumentViewModel, containing information about the declaration documents.

FiscaalGemak.Web.Api.Models.Models.ExternalDeclarationDocumentViewModel
NameDescriptionTypeAdditional information
CreationDate

date

None.

Document

Collection of byte

None.

DeclarationId

integer

None.

FileName

string

None.

Status

byte

None.

Type

byte

None.

Response Formats

application/json, text/json

Sample:
{
  "CreationDate": "2022-12-03T14:23:44.8583379+01:00",
  "Document": "QEA=",
  "DeclarationId": 2,
  "FileName": "sample string 3",
  "Status": 64,
  "Type": 64
}

application/xml, text/xml

Sample:
<ExternalDeclarationDocumentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Web.Api.Models.Models">
  <CreationDate>2022-12-03T14:23:44.8583379+01:00</CreationDate>
  <DeclarationId>2</DeclarationId>
  <Document>QEA=</Document>
  <FileName>sample string 3</FileName>
  <Status>64</Status>
  <Type>64</Type>
</ExternalDeclarationDocumentViewModel>