POST api/{database}/SplitJournalEntryCommand/ExecuteWithPeriods?fiscalYear={fiscalYear}&journalId={journalId}&journalTransaction={journalTransaction}&sequenceNumber={sequenceNumber}&targetFiscalYear={targetFiscalYear}&totalPeriodsToSplit={totalPeriodsToSplit}

Execute the SplitJournalEntryCommand



Request Information

Parameters

NameDescriptionAdditional information
fiscalYear The fiscalYear.

Define this parameter in the request URI.

journalId The journalId.

Define this parameter in the request URI.

journalTransaction The journalTransaction.

Define this parameter in the request URI.

sequenceNumber The sequenceNumber.

Define this parameter in the request URI.

targetFiscalYear The targetFiscalYear.

Define this parameter in the request URI.

totalPeriodsToSplit The totalPeriodsToSplit.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "error": "sample string 1",
  "generatedSplitId": 2,
  "result": true,
  "revertOption": true
}

application/xml, text/xml

Sample:
<SplitJournalEntryCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Commands">
  <Error>sample string 1</Error>
  <GeneratedSplitId>2</GeneratedSplitId>
  <Result>true</Result>
  <RevertOption>true</RevertOption>
</SplitJournalEntryCommand>