POST external-declaration
Add a new external declaration to Fiscaal Gemak.
Request Information
URI Parameters
None.
Body Parameters
The DeclarationCreateViewModel, containing information about the declaration.
FiscaalGemak.Web.Api.Models.Models.ExternalDeclarationCreateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
Required |
|
| Year | integer |
Required |
|
| PeriodStart | date |
None. |
|
| PeriodEnd | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"Year": 2,
"PeriodStart": "2025-10-26T15:31:40.3438171+01:00",
"PeriodEnd": "2025-10-26T15:31:40.3438171+01:00"
}
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.ExternalDeclarationResponseModel| Name | 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.