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,
  "canDelete": true,
  "cannotChangeReason": "sample string 8",
  "costCentreId": "sample string 9",
  "costUnitId": "sample string 10",
  "depreciationAmount": 11.0,
  "depreciationPercentage": 12.0,
  "depreciationType": 0,
  "description": "sample string 13",
  "firstDepreciationDate": "sample string 14",
  "fiscalYear": 15,
  "outOfServiceDate": "sample string 16",
  "purchaseDate": "sample string 17",
  "purchaseValue": 18.0,
  "remark1": "sample string 19",
  "remark2": "sample string 20",
  "residualValue": 21.0,
  "shortName": "sample string 22",
  "status": "sample string 23"
}

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>
  <CanDelete>true</CanDelete>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <CostCentreId>sample string 9</CostCentreId>
  <CostUnitId>sample string 10</CostUnitId>
  <DepreciationAmount>11</DepreciationAmount>
  <DepreciationPercentage>12</DepreciationPercentage>
  <DepreciationType>DegressiveLineair</DepreciationType>
  <Description>sample string 13</Description>
  <FirstDepreciationDate>sample string 14</FirstDepreciationDate>
  <FiscalYear>15</FiscalYear>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OutOfServiceDate>sample string 16</OutOfServiceDate>
  <PurchaseDate>sample string 17</PurchaseDate>
  <PurchaseValue>18</PurchaseValue>
  <Remark1>sample string 19</Remark1>
  <Remark2>sample string 20</Remark2>
  <ResidualValue>21</ResidualValue>
  <ShortName>sample string 22</ShortName>
  <Status>sample string 23</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,
  "canDelete": true,
  "cannotChangeReason": "sample string 8",
  "costCentreId": "sample string 9",
  "costUnitId": "sample string 10",
  "depreciationAmount": 11.0,
  "depreciationPercentage": 12.0,
  "depreciationType": 0,
  "description": "sample string 13",
  "firstDepreciationDate": "sample string 14",
  "fiscalYear": 15,
  "outOfServiceDate": "sample string 16",
  "purchaseDate": "sample string 17",
  "purchaseValue": 18.0,
  "remark1": "sample string 19",
  "remark2": "sample string 20",
  "residualValue": 21.0,
  "shortName": "sample string 22",
  "status": "sample string 23"
}

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>
  <CanDelete>true</CanDelete>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <CostCentreId>sample string 9</CostCentreId>
  <CostUnitId>sample string 10</CostUnitId>
  <DepreciationAmount>11</DepreciationAmount>
  <DepreciationPercentage>12</DepreciationPercentage>
  <DepreciationType>DegressiveLineair</DepreciationType>
  <Description>sample string 13</Description>
  <FirstDepreciationDate>sample string 14</FirstDepreciationDate>
  <FiscalYear>15</FiscalYear>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OutOfServiceDate>sample string 16</OutOfServiceDate>
  <PurchaseDate>sample string 17</PurchaseDate>
  <PurchaseValue>18</PurchaseValue>
  <Remark1>sample string 19</Remark1>
  <Remark2>sample string 20</Remark2>
  <ResidualValue>21</ResidualValue>
  <ShortName>sample string 22</ShortName>
  <Status>sample string 23</Status>
</FixedAsset>