GET api/Asset/GetMCARSDepreciation?AssetID={AssetID}

Api to Get Asset Depreciation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AssetID

integer

Required

Body Parameters

None.

Response Information

Resource Description

MCARSDepreciationResponseModel
NameDescriptionTypeAdditional information
DepreciationList

Collection of MCARSDepreciationLogDataModel

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "depreciationList": [
    {
      "mcarsDepreciationLogID": 1,
      "assetID": 2,
      "assetName": "sample string 3",
      "assetCode": "sample string 4",
      "purchaseCost": 5.0,
      "usefulLifeID": 6,
      "month_Year": 7,
      "apportionedID": 8,
      "depriciationAmount": 9.0,
      "bookValueBeginning": 10.0,
      "bookValueEnd": 11.0,
      "accmAmount": 12.0,
      "deprciationDate": "2026-02-25T15:54:35.0923874-05:00",
      "depreciationRate": 14.0,
      "isPushToSage": 15,
      "sageDocNo": "sample string 16",
      "sagePostingDate": "2026-02-25T15:54:35.0923874-05:00",
      "addedDate": "2026-02-25T15:54:35.0923874-05:00",
      "addedBy": 18,
      "addedByName": "sample string 19"
    },
    {
      "mcarsDepreciationLogID": 1,
      "assetID": 2,
      "assetName": "sample string 3",
      "assetCode": "sample string 4",
      "purchaseCost": 5.0,
      "usefulLifeID": 6,
      "month_Year": 7,
      "apportionedID": 8,
      "depriciationAmount": 9.0,
      "bookValueBeginning": 10.0,
      "bookValueEnd": 11.0,
      "accmAmount": 12.0,
      "deprciationDate": "2026-02-25T15:54:35.0923874-05:00",
      "depreciationRate": 14.0,
      "isPushToSage": 15,
      "sageDocNo": "sample string 16",
      "sagePostingDate": "2026-02-25T15:54:35.0923874-05:00",
      "addedDate": "2026-02-25T15:54:35.0923874-05:00",
      "addedBy": 18,
      "addedByName": "sample string 19"
    }
  ],
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<MCARSDepreciationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation">
  <Code xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">4</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">sample string 2</Message>
  <ReturnID xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">1</ReturnID>
  <Successful xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">true</Successful>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">5</TotalRecord>
  <DepreciationList>
    <MCARSDepreciationLogDataModel>
      <AccmAmount>12</AccmAmount>
      <AddedBy>18</AddedBy>
      <AddedByName>sample string 19</AddedByName>
      <AddedDate>2026-02-25T15:54:35.0923874-05:00</AddedDate>
      <ApportionedID>8</ApportionedID>
      <AssetCode>sample string 4</AssetCode>
      <AssetID>2</AssetID>
      <AssetName>sample string 3</AssetName>
      <BookValueBeginning>10</BookValueBeginning>
      <BookValueEnd>11</BookValueEnd>
      <DeprciationDate>2026-02-25T15:54:35.0923874-05:00</DeprciationDate>
      <DepreciationRate>14</DepreciationRate>
      <DepriciationAmount>9</DepriciationAmount>
      <IsPushToSage>15</IsPushToSage>
      <MCARSDepreciationLogID>1</MCARSDepreciationLogID>
      <Month_Year>7</Month_Year>
      <PurchaseCost>5</PurchaseCost>
      <SageDocNo>sample string 16</SageDocNo>
      <SagePostingDate>2026-02-25T15:54:35.0923874-05:00</SagePostingDate>
      <TotalRecord>20</TotalRecord>
      <UsefulLifeID>6</UsefulLifeID>
    </MCARSDepreciationLogDataModel>
    <MCARSDepreciationLogDataModel>
      <AccmAmount>12</AccmAmount>
      <AddedBy>18</AddedBy>
      <AddedByName>sample string 19</AddedByName>
      <AddedDate>2026-02-25T15:54:35.0923874-05:00</AddedDate>
      <ApportionedID>8</ApportionedID>
      <AssetCode>sample string 4</AssetCode>
      <AssetID>2</AssetID>
      <AssetName>sample string 3</AssetName>
      <BookValueBeginning>10</BookValueBeginning>
      <BookValueEnd>11</BookValueEnd>
      <DeprciationDate>2026-02-25T15:54:35.0923874-05:00</DeprciationDate>
      <DepreciationRate>14</DepreciationRate>
      <DepriciationAmount>9</DepriciationAmount>
      <IsPushToSage>15</IsPushToSage>
      <MCARSDepreciationLogID>1</MCARSDepreciationLogID>
      <Month_Year>7</Month_Year>
      <PurchaseCost>5</PurchaseCost>
      <SageDocNo>sample string 16</SageDocNo>
      <SagePostingDate>2026-02-25T15:54:35.0923874-05:00</SagePostingDate>
      <TotalRecord>20</TotalRecord>
      <UsefulLifeID>6</UsefulLifeID>
    </MCARSDepreciationLogDataModel>
  </DepreciationList>
</MCARSDepreciationResponseModel>

multipart/form-data

Sample:
<MCARSDepreciationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation"><Code xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">5</TotalRecord><DepreciationList><MCARSDepreciationLogDataModel><AccmAmount>12</AccmAmount><AddedBy>18</AddedBy><AddedByName>sample string 19</AddedByName><AddedDate>2026-02-25T15:54:35.0923874-05:00</AddedDate><ApportionedID>8</ApportionedID><AssetCode>sample string 4</AssetCode><AssetID>2</AssetID><AssetName>sample string 3</AssetName><BookValueBeginning>10</BookValueBeginning><BookValueEnd>11</BookValueEnd><DeprciationDate>2026-02-25T15:54:35.0923874-05:00</DeprciationDate><DepreciationRate>14</DepreciationRate><DepriciationAmount>9</DepriciationAmount><IsPushToSage>15</IsPushToSage><MCARSDepreciationLogID>1</MCARSDepreciationLogID><Month_Year>7</Month_Year><PurchaseCost>5</PurchaseCost><SageDocNo>sample string 16</SageDocNo><SagePostingDate>2026-02-25T15:54:35.0923874-05:00</SagePostingDate><TotalRecord>20</TotalRecord><UsefulLifeID>6</UsefulLifeID></MCARSDepreciationLogDataModel><MCARSDepreciationLogDataModel><AccmAmount>12</AccmAmount><AddedBy>18</AddedBy><AddedByName>sample string 19</AddedByName><AddedDate>2026-02-25T15:54:35.0923874-05:00</AddedDate><ApportionedID>8</ApportionedID><AssetCode>sample string 4</AssetCode><AssetID>2</AssetID><AssetName>sample string 3</AssetName><BookValueBeginning>10</BookValueBeginning><BookValueEnd>11</BookValueEnd><DeprciationDate>2026-02-25T15:54:35.0923874-05:00</DeprciationDate><DepreciationRate>14</DepreciationRate><DepriciationAmount>9</DepriciationAmount><IsPushToSage>15</IsPushToSage><MCARSDepreciationLogID>1</MCARSDepreciationLogID><Month_Year>7</Month_Year><PurchaseCost>5</PurchaseCost><SageDocNo>sample string 16</SageDocNo><SagePostingDate>2026-02-25T15:54:35.0923874-05:00</SagePostingDate><TotalRecord>20</TotalRecord><UsefulLifeID>6</UsefulLifeID></MCARSDepreciationLogDataModel></DepreciationList></MCARSDepreciationResponseModel>