POST api/{database}/CreateTurnOverVATDeclarationFileCommand?calendarYear={calendarYear}&vatDeclarationTimeInterval={vatDeclarationTimeInterval}&declarationPeriod={declarationPeriod}&askPaymentForms={askPaymentForms}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
calendarYear No Documentation Found.

Define this parameter in the request URI.

vatDeclarationTimeInterval No Documentation Found.

Define this parameter in the request URI.

declarationPeriod No Documentation Found.

Define this parameter in the request URI.

finalizeData No Documentation Found.

Define this parameter in the request body.

askPaymentForms No Documentation Found.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "contactPersonName": "sample string 1",
  "phoneNumber": "sample string 2",
  "beconNumber": 3,
  "contactPersonType": 0,
  "turnOverVatDeclarationType": 0,
  "supplementationSequenceNumber": 1
}

application/xml, text/xml

Sample:
<VatDeclarationFinalizeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Commands">
  <_x003C_BeconNumber_x003E_k__BackingField>3</_x003C_BeconNumber_x003E_k__BackingField>
  <_x003C_ContactPersonName_x003E_k__BackingField>sample string 1</_x003C_ContactPersonName_x003E_k__BackingField>
  <_x003C_ContactPersonType_x003E_k__BackingField>Unknown</_x003C_ContactPersonType_x003E_k__BackingField>
  <_x003C_PhoneNumber_x003E_k__BackingField>sample string 2</_x003C_PhoneNumber_x003E_k__BackingField>
  <_x003C_SupplementationSequenceNumber_x003E_k__BackingField>1</_x003C_SupplementationSequenceNumber_x003E_k__BackingField>
  <_x003C_TurnOverVatDeclarationType_x003E_k__BackingField>Unknown</_x003C_TurnOverVatDeclarationType_x003E_k__BackingField>
</VatDeclarationFinalizeDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VatDeclarationFinalizeDto'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "askPaymentForms": true,
  "calendarYear": 2,
  "declarationPeriod": 3,
  "fiscalPeriod": 4,
  "messageId": "sample string 5",
  "packageName": "sample string 6",
  "turnOverVATDeclarationFile": "sample string 7",
  "turnOverVatDeclarationType": 0,
  "vatDeclarationTimeInterval": 0,
  "vatNumber": "sample string 8"
}

application/xml, text/xml

Sample:
<CreateTurnOverVATDeclarationFileCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Commands">
  <AskPaymentForms>true</AskPaymentForms>
  <CalendarYear>2</CalendarYear>
  <DeclarationPeriod>3</DeclarationPeriod>
  <FiscalPeriod>4</FiscalPeriod>
  <MessageId>sample string 5</MessageId>
  <PackageName>sample string 6</PackageName>
  <TurnOverVATDeclarationFile>sample string 7</TurnOverVATDeclarationFile>
  <TurnOverVatDeclarationType>Unknown</TurnOverVatDeclarationType>
  <VatDeclarationTimeInterval>Unknown</VatDeclarationTimeInterval>
  <VatNumber>sample string 8</VatNumber>
</CreateTurnOverVATDeclarationFileCommand>