GET api/DepreciationDetails?AssetGroupID={AssetGroupID}&DepMasterID={DepMasterID}&IsActive={IsActive}

Get Depreciation Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AssetGroupID

integer

None.

DepMasterID

integer

None.

IsActive

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DepreciationDtlsByAstGrpDataModel
NameDescriptionTypeAdditional information
DepMasterID

integer

None.

Name

string

None.

UniversalName

string

None.

DepMethodID

integer

None.

LifeSpan

decimal number

None.

CountryID

integer

None.

CompanyID

integer

None.

OriginalSalvage

decimal number

None.

ExpectedSalvage

decimal number

None.

Description

string

None.

PercentageAmount

decimal number

None.

Response Formats

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

Sample:
[
  {
    "depMasterID": 1,
    "name": "sample string 2",
    "universalName": "sample string 3",
    "depMethodID": 4,
    "lifeSpan": 5.0,
    "countryID": 6,
    "companyID": 7,
    "originalSalvage": 8.0,
    "expectedSalvage": 9.0,
    "description": "sample string 10",
    "percentageAmount": 11.0
  },
  {
    "depMasterID": 1,
    "name": "sample string 2",
    "universalName": "sample string 3",
    "depMethodID": 4,
    "lifeSpan": 5.0,
    "countryID": 6,
    "companyID": 7,
    "originalSalvage": 8.0,
    "expectedSalvage": 9.0,
    "description": "sample string 10",
    "percentageAmount": 11.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepreciationDtlsByAstGrpDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <DepreciationDtlsByAstGrpDataModel>
    <CompanyID>7</CompanyID>
    <CountryID>6</CountryID>
    <DepMasterID>1</DepMasterID>
    <DepMethodID>4</DepMethodID>
    <Description>sample string 10</Description>
    <ExpectedSalvage>9</ExpectedSalvage>
    <LifeSpan>5</LifeSpan>
    <Name>sample string 2</Name>
    <OriginalSalvage>8</OriginalSalvage>
    <PercentageAmount>11</PercentageAmount>
    <UniversalName>sample string 3</UniversalName>
  </DepreciationDtlsByAstGrpDataModel>
  <DepreciationDtlsByAstGrpDataModel>
    <CompanyID>7</CompanyID>
    <CountryID>6</CountryID>
    <DepMasterID>1</DepMasterID>
    <DepMethodID>4</DepMethodID>
    <Description>sample string 10</Description>
    <ExpectedSalvage>9</ExpectedSalvage>
    <LifeSpan>5</LifeSpan>
    <Name>sample string 2</Name>
    <OriginalSalvage>8</OriginalSalvage>
    <PercentageAmount>11</PercentageAmount>
    <UniversalName>sample string 3</UniversalName>
  </DepreciationDtlsByAstGrpDataModel>
</ArrayOfDepreciationDtlsByAstGrpDataModel>

multipart/form-data

Sample:
<ArrayOfDepreciationDtlsByAstGrpDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><DepreciationDtlsByAstGrpDataModel><CompanyID>7</CompanyID><CountryID>6</CountryID><DepMasterID>1</DepMasterID><DepMethodID>4</DepMethodID><Description>sample string 10</Description><ExpectedSalvage>9</ExpectedSalvage><LifeSpan>5</LifeSpan><Name>sample string 2</Name><OriginalSalvage>8</OriginalSalvage><PercentageAmount>11</PercentageAmount><UniversalName>sample string 3</UniversalName></DepreciationDtlsByAstGrpDataModel><DepreciationDtlsByAstGrpDataModel><CompanyID>7</CompanyID><CountryID>6</CountryID><DepMasterID>1</DepMasterID><DepMethodID>4</DepMethodID><Description>sample string 10</Description><ExpectedSalvage>9</ExpectedSalvage><LifeSpan>5</LifeSpan><Name>sample string 2</Name><OriginalSalvage>8</OriginalSalvage><PercentageAmount>11</PercentageAmount><UniversalName>sample string 3</UniversalName></DepreciationDtlsByAstGrpDataModel></ArrayOfDepreciationDtlsByAstGrpDataModel>