PUT api/{database}/FinTrans/{fiscalYear}/{journalId}/{journalTransaction}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
fiscalYear No Documentation Found.

Define this parameter in the request URI.

journalId No Documentation Found.

Define this parameter in the request URI.

journalTransaction No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "autoDeterminePeriodYear": true,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "currencyId": "sample string 4",
  "description": "sample string 5",
  "document": "sample string 6",
  "exchangeRate": 7.0,
  "finTransEntries": null,
  "fiscalYear": 8,
  "journalId": "sample string 9",
  "journalTransaction": 10,
  "openingBalanceTransaction": true,
  "periodNumber": 12,
  "previousBalance": 13.0,
  "totalCreditAmount": 14.0,
  "totalDebitAmount": 15.0,
  "transactionDate": "sample string 16"
}

application/xml, text/xml

Sample:
<FinTrans xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AutoDeterminePeriodYear>true</AutoDeterminePeriodYear>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <CurrencyId>sample string 4</CurrencyId>
  <Description>sample string 5</Description>
  <Document>sample string 6</Document>
  <ExchangeRate>7</ExchangeRate>
  <FinTransEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <FiscalYear>8</FiscalYear>
  <JournalId>sample string 9</JournalId>
  <JournalTransaction>10</JournalTransaction>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OpeningBalanceTransaction>true</OpeningBalanceTransaction>
  <PeriodNumber>12</PeriodNumber>
  <PreviousBalance>13</PreviousBalance>
  <TotalCreditAmount>14</TotalCreditAmount>
  <TotalDebitAmount>15</TotalDebitAmount>
  <TransactionDate>sample string 16</TransactionDate>
</FinTrans>

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 'FinTransProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "autoDeterminePeriodYear": true,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "currencyId": "sample string 4",
  "description": "sample string 5",
  "document": "sample string 6",
  "exchangeRate": 7.0,
  "finTransEntries": null,
  "fiscalYear": 8,
  "journalId": "sample string 9",
  "journalTransaction": 10,
  "openingBalanceTransaction": true,
  "periodNumber": 12,
  "previousBalance": 13.0,
  "totalCreditAmount": 14.0,
  "totalDebitAmount": 15.0,
  "transactionDate": "sample string 16"
}

application/xml, text/xml

Sample:
<FinTrans xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AutoDeterminePeriodYear>true</AutoDeterminePeriodYear>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <CurrencyId>sample string 4</CurrencyId>
  <Description>sample string 5</Description>
  <Document>sample string 6</Document>
  <ExchangeRate>7</ExchangeRate>
  <FinTransEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <FiscalYear>8</FiscalYear>
  <JournalId>sample string 9</JournalId>
  <JournalTransaction>10</JournalTransaction>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OpeningBalanceTransaction>true</OpeningBalanceTransaction>
  <PeriodNumber>12</PeriodNumber>
  <PreviousBalance>13</PreviousBalance>
  <TotalCreditAmount>14</TotalCreditAmount>
  <TotalDebitAmount>15</TotalDebitAmount>
  <TransactionDate>sample string 16</TransactionDate>
</FinTrans>