GET api/Asset/GetJournalEntryByAssetID?AssetID={AssetID}&ReasonFor={ReasonFor}
Api to GetJournal Entry By Asset ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetID | integer |
None. |
|
| ReasonFor | string |
None. |
Body Parameters
None.
Response Information
Resource Description
JournalEntryListResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| JournalEntryResponseList | Collection of JournalEntryResponseModel |
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:
{
"journalEntryResponseList": [
{
"assetID": 1,
"amount": 2.0,
"accountDescription": "sample string 3",
"type": "sample string 4",
"reasonFor": "sample string 5",
"createdAt": "2026-02-25T15:52:47.0706456-05:00",
"createdBy": 7,
"createdByName": "sample string 8"
},
{
"assetID": 1,
"amount": 2.0,
"accountDescription": "sample string 3",
"type": "sample string 4",
"reasonFor": "sample string 5",
"createdAt": "2026-02-25T15:52:47.0706456-05:00",
"createdBy": 7,
"createdByName": "sample string 8"
}
],
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<JournalEntryListResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Sage">
<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>
<JournalEntryResponseList>
<JournalEntryResponseModel>
<AccountDescription>sample string 3</AccountDescription>
<Amount>2</Amount>
<AssetID>1</AssetID>
<CreatedAt>2026-02-25T15:52:47.0706456-05:00</CreatedAt>
<CreatedBy>7</CreatedBy>
<CreatedByName>sample string 8</CreatedByName>
<ReasonFor>sample string 5</ReasonFor>
<Type>sample string 4</Type>
</JournalEntryResponseModel>
<JournalEntryResponseModel>
<AccountDescription>sample string 3</AccountDescription>
<Amount>2</Amount>
<AssetID>1</AssetID>
<CreatedAt>2026-02-25T15:52:47.0706456-05:00</CreatedAt>
<CreatedBy>7</CreatedBy>
<CreatedByName>sample string 8</CreatedByName>
<ReasonFor>sample string 5</ReasonFor>
<Type>sample string 4</Type>
</JournalEntryResponseModel>
</JournalEntryResponseList>
</JournalEntryListResponseModel>
multipart/form-data
Sample:
<JournalEntryListResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Sage"><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><JournalEntryResponseList><JournalEntryResponseModel><AccountDescription>sample string 3</AccountDescription><Amount>2</Amount><AssetID>1</AssetID><CreatedAt>2026-02-25T15:52:47.0706456-05:00</CreatedAt><CreatedBy>7</CreatedBy><CreatedByName>sample string 8</CreatedByName><ReasonFor>sample string 5</ReasonFor><Type>sample string 4</Type></JournalEntryResponseModel><JournalEntryResponseModel><AccountDescription>sample string 3</AccountDescription><Amount>2</Amount><AssetID>1</AssetID><CreatedAt>2026-02-25T15:52:47.0706456-05:00</CreatedAt><CreatedBy>7</CreatedBy><CreatedByName>sample string 8</CreatedByName><ReasonFor>sample string 5</ReasonFor><Type>sample string 4</Type></JournalEntryResponseModel></JournalEntryResponseList></JournalEntryListResponseModel>