GET api/Depreciation/GetDisposalAttachments?DisposalID={DisposalID}
Api to Get Disposal Attachments
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DisposalID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DisposalAttachmentListDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DisposalAttachmentList | Collection of DisposalAttachmentDataModel |
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:
{
"disposalAttachmentList": [
{
"assetDisposalFileID": 1,
"assetDisposalID": 2,
"originalFileName": "sample string 3",
"renamedFileName": "sample string 4",
"fullFilePath": "sample string 5",
"addedBy": 1,
"addedByName": "sample string 6",
"addedDate": "2026-02-25T15:53:23.2125037-05:00"
},
{
"assetDisposalFileID": 1,
"assetDisposalID": 2,
"originalFileName": "sample string 3",
"renamedFileName": "sample string 4",
"fullFilePath": "sample string 5",
"addedBy": 1,
"addedByName": "sample string 6",
"addedDate": "2026-02-25T15:53:23.2125037-05:00"
}
],
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<DisposalAttachmentListDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation">
<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>
<DisposalAttachmentList>
<DisposalAttachmentDataModel>
<AddedBy>1</AddedBy>
<AddedByName>sample string 6</AddedByName>
<AddedDate>2026-02-25T15:53:23.2125037-05:00</AddedDate>
<AssetDisposalFileID>1</AssetDisposalFileID>
<AssetDisposalID>2</AssetDisposalID>
<FullFilePath>sample string 5</FullFilePath>
<OriginalFileName>sample string 3</OriginalFileName>
<RenamedFileName>sample string 4</RenamedFileName>
<TotalCount>7</TotalCount>
</DisposalAttachmentDataModel>
<DisposalAttachmentDataModel>
<AddedBy>1</AddedBy>
<AddedByName>sample string 6</AddedByName>
<AddedDate>2026-02-25T15:53:23.2125037-05:00</AddedDate>
<AssetDisposalFileID>1</AssetDisposalFileID>
<AssetDisposalID>2</AssetDisposalID>
<FullFilePath>sample string 5</FullFilePath>
<OriginalFileName>sample string 3</OriginalFileName>
<RenamedFileName>sample string 4</RenamedFileName>
<TotalCount>7</TotalCount>
</DisposalAttachmentDataModel>
</DisposalAttachmentList>
</DisposalAttachmentListDataResponse>
multipart/form-data
Sample:
<DisposalAttachmentListDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Depreciation"><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><DisposalAttachmentList><DisposalAttachmentDataModel><AddedBy>1</AddedBy><AddedByName>sample string 6</AddedByName><AddedDate>2026-02-25T15:53:23.2125037-05:00</AddedDate><AssetDisposalFileID>1</AssetDisposalFileID><AssetDisposalID>2</AssetDisposalID><FullFilePath>sample string 5</FullFilePath><OriginalFileName>sample string 3</OriginalFileName><RenamedFileName>sample string 4</RenamedFileName><TotalCount>7</TotalCount></DisposalAttachmentDataModel><DisposalAttachmentDataModel><AddedBy>1</AddedBy><AddedByName>sample string 6</AddedByName><AddedDate>2026-02-25T15:53:23.2125037-05:00</AddedDate><AssetDisposalFileID>1</AssetDisposalFileID><AssetDisposalID>2</AssetDisposalID><FullFilePath>sample string 5</FullFilePath><OriginalFileName>sample string 3</OriginalFileName><RenamedFileName>sample string 4</RenamedFileName><TotalCount>7</TotalCount></DisposalAttachmentDataModel></DisposalAttachmentList></DisposalAttachmentListDataResponse>