GET api/Asset/GetAssetClassificationList
Api to Get Asset Classification
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AssetClassificationListDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetClassificationList | Collection of AssetClassificationDataModel |
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:
{
"assetClassificationList": [
{
"assetClassificationID": 1,
"assetClassificationName": "sample string 2"
},
{
"assetClassificationID": 1,
"assetClassificationName": "sample string 2"
}
],
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<AssetClassificationListDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Asset">
<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>
<AssetClassificationList>
<AssetClassificationDataModel>
<AssetClassificationID>1</AssetClassificationID>
<AssetClassificationName>sample string 2</AssetClassificationName>
<TotalCount>3</TotalCount>
</AssetClassificationDataModel>
<AssetClassificationDataModel>
<AssetClassificationID>1</AssetClassificationID>
<AssetClassificationName>sample string 2</AssetClassificationName>
<TotalCount>3</TotalCount>
</AssetClassificationDataModel>
</AssetClassificationList>
</AssetClassificationListDataResponse>
multipart/form-data
Sample:
<AssetClassificationListDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Asset"><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><AssetClassificationList><AssetClassificationDataModel><AssetClassificationID>1</AssetClassificationID><AssetClassificationName>sample string 2</AssetClassificationName><TotalCount>3</TotalCount></AssetClassificationDataModel><AssetClassificationDataModel><AssetClassificationID>1</AssetClassificationID><AssetClassificationName>sample string 2</AssetClassificationName><TotalCount>3</TotalCount></AssetClassificationDataModel></AssetClassificationList></AssetClassificationListDataResponse>