POST api/{database}/FixedAssetTransaction

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "amountDecrease": 1.0,
  "amountDecreaseCur": 2.0,
  "amountIncrease": 3.0,
  "amountIncreaseCur": 4.0,
  "assetId": "sample string 5",
  "assetTransactionType": 0,
  "canChange": true,
  "cannotChangeReason": "sample string 7",
  "currencyId": "sample string 8",
  "customerId": "sample string 9",
  "date": "sample string 10",
  "depreciationPeriod": 11,
  "description": "sample string 12",
  "fiscalYear": 13,
  "invoiceId": "sample string 14",
  "isNewAsset": true,
  "isSales": true,
  "isSalesProcessed": true,
  "journalId": "sample string 18",
  "journalTransaction": 19,
  "period": 20,
  "resultReplacement": 0,
  "sequenceNumber": 21,
  "supplierId": "sample string 22",
  "transactionDate": "sample string 23",
  "transactionSequenceNumber": 24
}

application/xml, text/xml

Sample:
<FixedAssetTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.FixedAssets.Edit">
  <AmountDecrease>1</AmountDecrease>
  <AmountDecreaseCur>2</AmountDecreaseCur>
  <AmountIncrease>3</AmountIncrease>
  <AmountIncreaseCur>4</AmountIncreaseCur>
  <AssetId>sample string 5</AssetId>
  <AssetTransactionType>Unknown</AssetTransactionType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 7</CannotChangeReason>
  <CurrencyId>sample string 8</CurrencyId>
  <CustomerId>sample string 9</CustomerId>
  <Date>sample string 10</Date>
  <DepreciationPeriod>11</DepreciationPeriod>
  <Description>sample string 12</Description>
  <FiscalYear>13</FiscalYear>
  <InvoiceId>sample string 14</InvoiceId>
  <IsNewAsset>true</IsNewAsset>
  <IsSales>true</IsSales>
  <IsSalesProcessed>true</IsSalesProcessed>
  <JournalId>sample string 18</JournalId>
  <JournalTransaction>19</JournalTransaction>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Period>20</Period>
  <ResultReplacement>None</ResultReplacement>
  <SequenceNumber>21</SequenceNumber>
  <SupplierId>sample string 22</SupplierId>
  <TransactionDate>sample string 23</TransactionDate>
  <TransactionSequenceNumber>24</TransactionSequenceNumber>
</FixedAssetTransaction>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "amountDecrease": 1.0,
  "amountDecreaseCur": 2.0,
  "amountIncrease": 3.0,
  "amountIncreaseCur": 4.0,
  "assetId": "sample string 5",
  "assetTransactionType": 0,
  "canChange": true,
  "cannotChangeReason": "sample string 7",
  "currencyId": "sample string 8",
  "customerId": "sample string 9",
  "date": "sample string 10",
  "depreciationPeriod": 11,
  "description": "sample string 12",
  "fiscalYear": 13,
  "invoiceId": "sample string 14",
  "isNewAsset": true,
  "isSales": true,
  "isSalesProcessed": true,
  "journalId": "sample string 18",
  "journalTransaction": 19,
  "period": 20,
  "resultReplacement": 0,
  "sequenceNumber": 21,
  "supplierId": "sample string 22",
  "transactionDate": "sample string 23",
  "transactionSequenceNumber": 24
}

application/xml, text/xml

Sample:
<FixedAssetTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.FixedAssets.Edit">
  <AmountDecrease>1</AmountDecrease>
  <AmountDecreaseCur>2</AmountDecreaseCur>
  <AmountIncrease>3</AmountIncrease>
  <AmountIncreaseCur>4</AmountIncreaseCur>
  <AssetId>sample string 5</AssetId>
  <AssetTransactionType>Unknown</AssetTransactionType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 7</CannotChangeReason>
  <CurrencyId>sample string 8</CurrencyId>
  <CustomerId>sample string 9</CustomerId>
  <Date>sample string 10</Date>
  <DepreciationPeriod>11</DepreciationPeriod>
  <Description>sample string 12</Description>
  <FiscalYear>13</FiscalYear>
  <InvoiceId>sample string 14</InvoiceId>
  <IsNewAsset>true</IsNewAsset>
  <IsSales>true</IsSales>
  <IsSalesProcessed>true</IsSalesProcessed>
  <JournalId>sample string 18</JournalId>
  <JournalTransaction>19</JournalTransaction>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Period>20</Period>
  <ResultReplacement>None</ResultReplacement>
  <SequenceNumber>21</SequenceNumber>
  <SupplierId>sample string 22</SupplierId>
  <TransactionDate>sample string 23</TransactionDate>
  <TransactionSequenceNumber>24</TransactionSequenceNumber>
</FixedAssetTransaction>