POST api/CurrentAssetValuationReport

Get current asset value

Request Information

URI Parameters

None.

Body Parameters

SearchRequestModel
NameDescriptionTypeAdditional information
AssetsGroupID

integer

None.

AccountGroupID

integer

None.

AssetTypeID

integer

None.

AssetsSubGroupID

integer

None.

assetsSubGroupName

string

None.

SerialNo

string

None.

RFID

string

None.

LocationID

integer

None.

DepartmentID

integer

None.

Building

string

None.

RoomNo

string

None.

ProductID

integer

None.

AssetClassID

integer

None.

StartDate

string

None.

EndDate

string

None.

OpeartionFrom

string

None.

Status

integer

None.

AssetName

string

None.

Top

integer

None.

Mode

integer

None.

IsPagination

integer

None.

CurrentPage

integer

None.

CurrentPage1

integer

None.

CurrentPage2

integer

None.

CurrentPage3

integer

None.

CurrentPage4

integer

None.

ResultsPageCount

integer

None.

IncludeChildLocation

boolean

None.

IncludeChildAsset

boolean

None.

UserId

integer

None.

Request Formats

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

Sample:
{
  "assetsGroupID": 1,
  "accountGroupID": 1,
  "assetTypeID": 1,
  "assetsSubGroupID": 1,
  "assetsSubGroupName": "sample string 1",
  "serialNo": "sample string 2",
  "rfid": "sample string 3",
  "locationID": 1,
  "departmentID": 1,
  "building": "sample string 4",
  "roomNo": "sample string 5",
  "productID": 1,
  "assetClassID": 1,
  "startDate": "sample string 6",
  "endDate": "sample string 7",
  "opeartionFrom": "sample string 8",
  "status": 1,
  "assetName": "sample string 9",
  "top": 10,
  "mode": 11,
  "isPagination": 12,
  "currentPage": 13,
  "currentPage1": 14,
  "currentPage2": 15,
  "currentPage3": 16,
  "currentPage4": 17,
  "resultsPageCount": 18,
  "includeChildLocation": true,
  "includeChildAsset": true,
  "userId": 21
}

application/xml, text/xml

Sample:
<SearchRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel">
  <AccountGroupID>1</AccountGroupID>
  <AssetClassID>1</AssetClassID>
  <AssetName>sample string 9</AssetName>
  <AssetTypeID>1</AssetTypeID>
  <AssetsGroupID>1</AssetsGroupID>
  <AssetsSubGroupID>1</AssetsSubGroupID>
  <Building>sample string 4</Building>
  <CurrentPage>13</CurrentPage>
  <CurrentPage1>14</CurrentPage1>
  <CurrentPage2>15</CurrentPage2>
  <CurrentPage3>16</CurrentPage3>
  <CurrentPage4>17</CurrentPage4>
  <DepartmentID>1</DepartmentID>
  <EndDate>sample string 7</EndDate>
  <IncludeChildAsset>true</IncludeChildAsset>
  <IncludeChildLocation>true</IncludeChildLocation>
  <IsPagination>12</IsPagination>
  <LocationID>1</LocationID>
  <Mode>11</Mode>
  <OpeartionFrom>sample string 8</OpeartionFrom>
  <ProductID>1</ProductID>
  <RFID>sample string 3</RFID>
  <ResultsPageCount>18</ResultsPageCount>
  <RoomNo>sample string 5</RoomNo>
  <SerialNo>sample string 2</SerialNo>
  <StartDate>sample string 6</StartDate>
  <Status>1</Status>
  <Top>10</Top>
  <UserId>21</UserId>
  <assetsSubGroupName>sample string 1</assetsSubGroupName>
</SearchRequestModel>

multipart/form-data

Sample:
<SearchRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><AccountGroupID>1</AccountGroupID><AssetClassID>1</AssetClassID><AssetName>sample string 9</AssetName><AssetTypeID>1</AssetTypeID><AssetsGroupID>1</AssetsGroupID><AssetsSubGroupID>1</AssetsSubGroupID><Building>sample string 4</Building><CurrentPage>13</CurrentPage><CurrentPage1>14</CurrentPage1><CurrentPage2>15</CurrentPage2><CurrentPage3>16</CurrentPage3><CurrentPage4>17</CurrentPage4><DepartmentID>1</DepartmentID><EndDate>sample string 7</EndDate><IncludeChildAsset>true</IncludeChildAsset><IncludeChildLocation>true</IncludeChildLocation><IsPagination>12</IsPagination><LocationID>1</LocationID><Mode>11</Mode><OpeartionFrom>sample string 8</OpeartionFrom><ProductID>1</ProductID><RFID>sample string 3</RFID><ResultsPageCount>18</ResultsPageCount><RoomNo>sample string 5</RoomNo><SerialNo>sample string 2</SerialNo><StartDate>sample string 6</StartDate><Status>1</Status><Top>10</Top><UserId>21</UserId><assetsSubGroupName>sample string 1</assetsSubGroupName></SearchRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CurrentAssetValuationDataModel
NameDescriptionTypeAdditional information
AccGrpValuationList

Collection of AccountGroupAssetValuationListData

None.

LocationValuationList

Collection of LocationAssetValuationListData

None.

AssetGrpValuationList

Collection of AssetGroupValuationListData

None.

ProductAssetValuationList

Collection of ProductAssetValuationListData

None.

Response Formats

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

Sample:
{
  "accGrpValuationList": [
    {
      "accountGroupID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    },
    {
      "accountGroupID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    }
  ],
  "locationValuationList": [
    {
      "locationID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    },
    {
      "locationID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    }
  ],
  "assetGrpValuationList": [
    {
      "assetsGroupID": 1,
      "assetsSubGroupID": 2,
      "name": "sample string 3",
      "totalRecord": 4,
      "sl_Number": 5,
      "subName": "sample string 6",
      "originalValue": 7.0,
      "depreciatedValue": 8.0,
      "currentValue": 9.0
    },
    {
      "assetsGroupID": 1,
      "assetsSubGroupID": 2,
      "name": "sample string 3",
      "totalRecord": 4,
      "sl_Number": 5,
      "subName": "sample string 6",
      "originalValue": 7.0,
      "depreciatedValue": 8.0,
      "currentValue": 9.0
    }
  ],
  "productAssetValuationList": [
    {
      "productID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    },
    {
      "productID": 1,
      "name": "sample string 2",
      "totalRecord": 3,
      "sl_Number": 4,
      "originalValue": 5.0,
      "depreciatedValue": 6.0,
      "currentValue": 7.0
    }
  ]
}

application/xml, text/xml

Sample:
<CurrentAssetValuationDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <AccGrpValuationList>
    <AccountGroupAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <AccountGroupID>1</AccountGroupID>
      <Name>sample string 2</Name>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </AccountGroupAssetValuationListData>
    <AccountGroupAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <AccountGroupID>1</AccountGroupID>
      <Name>sample string 2</Name>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </AccountGroupAssetValuationListData>
  </AccGrpValuationList>
  <AssetGrpValuationList>
    <AssetGroupValuationListData>
      <CurrentValue>9</CurrentValue>
      <DepreciatedValue>8</DepreciatedValue>
      <OriginalValue>7</OriginalValue>
      <AssetsGroupID>1</AssetsGroupID>
      <AssetsSubGroupID>2</AssetsSubGroupID>
      <Name>sample string 3</Name>
      <Sl_Number>5</Sl_Number>
      <SubName>sample string 6</SubName>
      <TotalRecord>4</TotalRecord>
    </AssetGroupValuationListData>
    <AssetGroupValuationListData>
      <CurrentValue>9</CurrentValue>
      <DepreciatedValue>8</DepreciatedValue>
      <OriginalValue>7</OriginalValue>
      <AssetsGroupID>1</AssetsGroupID>
      <AssetsSubGroupID>2</AssetsSubGroupID>
      <Name>sample string 3</Name>
      <Sl_Number>5</Sl_Number>
      <SubName>sample string 6</SubName>
      <TotalRecord>4</TotalRecord>
    </AssetGroupValuationListData>
  </AssetGrpValuationList>
  <LocationValuationList>
    <LocationAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <LocationID>1</LocationID>
      <Name>sample string 2</Name>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </LocationAssetValuationListData>
    <LocationAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <LocationID>1</LocationID>
      <Name>sample string 2</Name>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </LocationAssetValuationListData>
  </LocationValuationList>
  <ProductAssetValuationList>
    <ProductAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <Name>sample string 2</Name>
      <ProductID>1</ProductID>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </ProductAssetValuationListData>
    <ProductAssetValuationListData>
      <CurrentValue>7</CurrentValue>
      <DepreciatedValue>6</DepreciatedValue>
      <OriginalValue>5</OriginalValue>
      <Name>sample string 2</Name>
      <ProductID>1</ProductID>
      <Sl_Number>4</Sl_Number>
      <TotalRecord>3</TotalRecord>
    </ProductAssetValuationListData>
  </ProductAssetValuationList>
</CurrentAssetValuationDataModel>

multipart/form-data

Sample:
<CurrentAssetValuationDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><AccGrpValuationList><AccountGroupAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><AccountGroupID>1</AccountGroupID><Name>sample string 2</Name><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></AccountGroupAssetValuationListData><AccountGroupAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><AccountGroupID>1</AccountGroupID><Name>sample string 2</Name><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></AccountGroupAssetValuationListData></AccGrpValuationList><AssetGrpValuationList><AssetGroupValuationListData><CurrentValue>9</CurrentValue><DepreciatedValue>8</DepreciatedValue><OriginalValue>7</OriginalValue><AssetsGroupID>1</AssetsGroupID><AssetsSubGroupID>2</AssetsSubGroupID><Name>sample string 3</Name><Sl_Number>5</Sl_Number><SubName>sample string 6</SubName><TotalRecord>4</TotalRecord></AssetGroupValuationListData><AssetGroupValuationListData><CurrentValue>9</CurrentValue><DepreciatedValue>8</DepreciatedValue><OriginalValue>7</OriginalValue><AssetsGroupID>1</AssetsGroupID><AssetsSubGroupID>2</AssetsSubGroupID><Name>sample string 3</Name><Sl_Number>5</Sl_Number><SubName>sample string 6</SubName><TotalRecord>4</TotalRecord></AssetGroupValuationListData></AssetGrpValuationList><LocationValuationList><LocationAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><LocationID>1</LocationID><Name>sample string 2</Name><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></LocationAssetValuationListData><LocationAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><LocationID>1</LocationID><Name>sample string 2</Name><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></LocationAssetValuationListData></LocationValuationList><ProductAssetValuationList><ProductAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><Name>sample string 2</Name><ProductID>1</ProductID><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></ProductAssetValuationListData><ProductAssetValuationListData><CurrentValue>7</CurrentValue><DepreciatedValue>6</DepreciatedValue><OriginalValue>5</OriginalValue><Name>sample string 2</Name><ProductID>1</ProductID><Sl_Number>4</Sl_Number><TotalRecord>3</TotalRecord></ProductAssetValuationListData></ProductAssetValuationList></CurrentAssetValuationDataModel>