PUT api/{database}/FinTrans/{fiscalYear}/{journalId}/{journalTransaction}
Updates the specified FinTrans
Request Information
Parameters
Name | Description | Additional 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. |
value | The updated values for FinTrans. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "currencyId": "sample string 3", "description": "sample string 4", "document": "sample string 5", "exchangeRate": 6.0, "finTransEntries": null, "fiscalYear": 7, "journalId": "sample string 8", "journalTransaction": 9, "openingBalanceTransaction": true, "periodNumber": 11, "previousBalance": 12.0, "totalCreditAmount": 13.0, "totalDebitAmount": 14.0, "transactionDate": "sample string 15" }
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"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <CurrencyId>sample string 3</CurrencyId> <Description>sample string 4</Description> <Document>sample string 5</Document> <ExchangeRate>6</ExchangeRate> <FinTransEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" /> <FiscalYear>7</FiscalYear> <JournalId>sample string 8</JournalId> <JournalTransaction>9</JournalTransaction> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <OpeningBalanceTransaction>true</OpeningBalanceTransaction> <PeriodNumber>11</PeriodNumber> <PreviousBalance>12</PreviousBalance> <TotalCreditAmount>13</TotalCreditAmount> <TotalDebitAmount>14</TotalDebitAmount> <TransactionDate>sample string 15</TransactionDate> </FinTrans>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "currencyId": "sample string 3", "description": "sample string 4", "document": "sample string 5", "exchangeRate": 6.0, "finTransEntries": null, "fiscalYear": 7, "journalId": "sample string 8", "journalTransaction": 9, "openingBalanceTransaction": true, "periodNumber": 11, "previousBalance": 12.0, "totalCreditAmount": 13.0, "totalDebitAmount": 14.0, "transactionDate": "sample string 15" }
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"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <CurrencyId>sample string 3</CurrencyId> <Description>sample string 4</Description> <Document>sample string 5</Document> <ExchangeRate>6</ExchangeRate> <FinTransEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" /> <FiscalYear>7</FiscalYear> <JournalId>sample string 8</JournalId> <JournalTransaction>9</JournalTransaction> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <OpeningBalanceTransaction>true</OpeningBalanceTransaction> <PeriodNumber>11</PeriodNumber> <PreviousBalance>12</PreviousBalance> <TotalCreditAmount>13</TotalCreditAmount> <TotalDebitAmount>14</TotalDebitAmount> <TransactionDate>sample string 15</TransactionDate> </FinTrans>