POST api/{database}/FixedAsset

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:
{
  "activationDate": "sample string 1",
  "messages": [],
  "assessedValue": 2.0,
  "assetGroupId": "sample string 3",
  "assetId": "sample string 4",
  "assetSubGroupId": "sample string 5",
  "canChange": true,
  "cannotChangeReason": "sample string 7",
  "costCentreId": "sample string 8",
  "costUnitId": "sample string 9",
  "depreciationAmount": 10.0,
  "depreciationPercentage": 11.0,
  "depreciationType": 0,
  "description": "sample string 12",
  "firstDepreciationDate": "sample string 13",
  "fiscalYear": 14,
  "outOfServiceDate": "sample string 15",
  "purchaseDate": "sample string 16",
  "purchaseValue": 17.0,
  "remark1": "sample string 18",
  "remark2": "sample string 19",
  "residualValue": 20.0,
  "shortName": "sample string 21",
  "status": "sample string 22"
}

application/xml, text/xml

Sample:
<FixedAsset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.FixedAssets.Edit">
  <ActivationDate>sample string 1</ActivationDate>
  <AssessedValue>2</AssessedValue>
  <AssetGroupId>sample string 3</AssetGroupId>
  <AssetId>sample string 4</AssetId>
  <AssetSubGroupId>sample string 5</AssetSubGroupId>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 7</CannotChangeReason>
  <CostCentreId>sample string 8</CostCentreId>
  <CostUnitId>sample string 9</CostUnitId>
  <DepreciationAmount>10</DepreciationAmount>
  <DepreciationPercentage>11</DepreciationPercentage>
  <DepreciationType>DegressiveLineair</DepreciationType>
  <Description>sample string 12</Description>
  <FirstDepreciationDate>sample string 13</FirstDepreciationDate>
  <FiscalYear>14</FiscalYear>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OutOfServiceDate>sample string 15</OutOfServiceDate>
  <PurchaseDate>sample string 16</PurchaseDate>
  <PurchaseValue>17</PurchaseValue>
  <Remark1>sample string 18</Remark1>
  <Remark2>sample string 19</Remark2>
  <ResidualValue>20</ResidualValue>
  <ShortName>sample string 21</ShortName>
  <Status>sample string 22</Status>
</FixedAsset>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "activationDate": "sample string 1",
  "messages": [],
  "assessedValue": 2.0,
  "assetGroupId": "sample string 3",
  "assetId": "sample string 4",
  "assetSubGroupId": "sample string 5",
  "canChange": true,
  "cannotChangeReason": "sample string 7",
  "costCentreId": "sample string 8",
  "costUnitId": "sample string 9",
  "depreciationAmount": 10.0,
  "depreciationPercentage": 11.0,
  "depreciationType": 0,
  "description": "sample string 12",
  "firstDepreciationDate": "sample string 13",
  "fiscalYear": 14,
  "outOfServiceDate": "sample string 15",
  "purchaseDate": "sample string 16",
  "purchaseValue": 17.0,
  "remark1": "sample string 18",
  "remark2": "sample string 19",
  "residualValue": 20.0,
  "shortName": "sample string 21",
  "status": "sample string 22"
}

application/xml, text/xml

Sample:
<FixedAsset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.FixedAssets.Edit">
  <ActivationDate>sample string 1</ActivationDate>
  <AssessedValue>2</AssessedValue>
  <AssetGroupId>sample string 3</AssetGroupId>
  <AssetId>sample string 4</AssetId>
  <AssetSubGroupId>sample string 5</AssetSubGroupId>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 7</CannotChangeReason>
  <CostCentreId>sample string 8</CostCentreId>
  <CostUnitId>sample string 9</CostUnitId>
  <DepreciationAmount>10</DepreciationAmount>
  <DepreciationPercentage>11</DepreciationPercentage>
  <DepreciationType>DegressiveLineair</DepreciationType>
  <Description>sample string 12</Description>
  <FirstDepreciationDate>sample string 13</FirstDepreciationDate>
  <FiscalYear>14</FiscalYear>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OutOfServiceDate>sample string 15</OutOfServiceDate>
  <PurchaseDate>sample string 16</PurchaseDate>
  <PurchaseValue>17</PurchaseValue>
  <Remark1>sample string 18</Remark1>
  <Remark2>sample string 19</Remark2>
  <ResidualValue>20</ResidualValue>
  <ShortName>sample string 21</ShortName>
  <Status>sample string 22</Status>
</FixedAsset>