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
NameDescriptionTypeAdditional 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": "2024-12-04T20:13:05.4438911+01:00",
  "PeriodEnd": "2024-12-04T20:13:05.4438911+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
NameDescriptionTypeAdditional 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.