GET api/Asset/GetLogByAssetID?AssetID={AssetID}
Api to Get Asset Log By ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AssetLogListResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetLogList | Collection of AssetLogDataModel |
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:
{
"assetLogList": [
{
"assetHistoryID": 1,
"statusID": 2,
"statusName": "sample string 3",
"processName": "sample string 4",
"performedBy": 1,
"performedDate": "2026-02-25T15:51:18.8438185-05:00",
"previousPerformedDate": "2026-02-25T15:51:18.8438185-05:00",
"performedByName": "sample string 5",
"processFrom": "sample string 6",
"statusChangeReason": "sample string 7",
"duration": 8
},
{
"assetHistoryID": 1,
"statusID": 2,
"statusName": "sample string 3",
"processName": "sample string 4",
"performedBy": 1,
"performedDate": "2026-02-25T15:51:18.8438185-05:00",
"previousPerformedDate": "2026-02-25T15:51:18.8438185-05:00",
"performedByName": "sample string 5",
"processFrom": "sample string 6",
"statusChangeReason": "sample string 7",
"duration": 8
}
],
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<AssetLogListResponseModel 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>
<AssetLogList>
<AssetLogDataModel>
<AssetHistoryID>1</AssetHistoryID>
<Duration>8</Duration>
<PerformedBy>1</PerformedBy>
<PerformedByName>sample string 5</PerformedByName>
<PerformedDate>2026-02-25T15:51:18.8438185-05:00</PerformedDate>
<PreviousPerformedDate>2026-02-25T15:51:18.8438185-05:00</PreviousPerformedDate>
<ProcessFrom>sample string 6</ProcessFrom>
<ProcessName>sample string 4</ProcessName>
<StatusChangeReason>sample string 7</StatusChangeReason>
<StatusID>2</StatusID>
<StatusName>sample string 3</StatusName>
</AssetLogDataModel>
<AssetLogDataModel>
<AssetHistoryID>1</AssetHistoryID>
<Duration>8</Duration>
<PerformedBy>1</PerformedBy>
<PerformedByName>sample string 5</PerformedByName>
<PerformedDate>2026-02-25T15:51:18.8438185-05:00</PerformedDate>
<PreviousPerformedDate>2026-02-25T15:51:18.8438185-05:00</PreviousPerformedDate>
<ProcessFrom>sample string 6</ProcessFrom>
<ProcessName>sample string 4</ProcessName>
<StatusChangeReason>sample string 7</StatusChangeReason>
<StatusID>2</StatusID>
<StatusName>sample string 3</StatusName>
</AssetLogDataModel>
</AssetLogList>
</AssetLogListResponseModel>
multipart/form-data
Sample:
<AssetLogListResponseModel 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><AssetLogList><AssetLogDataModel><AssetHistoryID>1</AssetHistoryID><Duration>8</Duration><PerformedBy>1</PerformedBy><PerformedByName>sample string 5</PerformedByName><PerformedDate>2026-02-25T15:51:18.8438185-05:00</PerformedDate><PreviousPerformedDate>2026-02-25T15:51:18.8438185-05:00</PreviousPerformedDate><ProcessFrom>sample string 6</ProcessFrom><ProcessName>sample string 4</ProcessName><StatusChangeReason>sample string 7</StatusChangeReason><StatusID>2</StatusID><StatusName>sample string 3</StatusName></AssetLogDataModel><AssetLogDataModel><AssetHistoryID>1</AssetHistoryID><Duration>8</Duration><PerformedBy>1</PerformedBy><PerformedByName>sample string 5</PerformedByName><PerformedDate>2026-02-25T15:51:18.8438185-05:00</PerformedDate><PreviousPerformedDate>2026-02-25T15:51:18.8438185-05:00</PreviousPerformedDate><ProcessFrom>sample string 6</ProcessFrom><ProcessName>sample string 4</ProcessName><StatusChangeReason>sample string 7</StatusChangeReason><StatusID>2</StatusID><StatusName>sample string 3</StatusName></AssetLogDataModel></AssetLogList></AssetLogListResponseModel>