POST external-declaration/{id}/document
Add a document to an existing external declaration in Fiscaal Gemak.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the declaration. |
integer |
Required |
Body Parameters
The ExternalDeclarationDocumentCreateViewModel, containing information about the document to be uploaded to the declaration.
FiscaalGemak.Web.Api.Models.Models.ExternalDeclarationDocumentCreateViewModelName | Description | Type | Additional information |
---|---|---|---|
Document | Collection of byte |
Required |
|
DocumentType | FiscaalGemak.Core.Models.Enums.ExternalDeclarationDocumentType |
Required |
|
FileName | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{ "Document": "QEA=", "DocumentType": 0, "FileName": "sample string 1" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The ExternalDeclarationResponseModel, containing information about the declaration.
FiscaalGemak.Web.Api.Models.Models.ExternalDeclarationResponseModelName | Description | Type | Additional information |
---|---|---|---|
DeclarationId | integer |
None. |
|
ResponseCode | FiscaalGemak.Web.Api.Models.Enums.ExternalDeclarationResponseCode |
None. |
|
ResponseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.