GET api/Asset/GetAssetBookValue?AssetID={AssetID}&RequestDate={RequestDate}
Api to Get Asset Depreciation
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetID | integer |
Required |
|
| RequestDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
AssetBookValueResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookValue | decimal number |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"bookValue": 1.0
}
application/xml, text/xml
Sample:
<AssetBookValueResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation"> <BookValue>1</BookValue> </AssetBookValueResponseModel>
multipart/form-data
Sample:
<AssetBookValueResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation"><BookValue>1</BookValue></AssetBookValueResponseModel>