List Files in Attachment or Image Asset Attribute

Returns the list of files in Attachment or Image attributes associated with assets in the organizational structure.   

 

URL

{RMUrl}/api/Organization/assets/<AssetCode>/attributes/<AttributeVariableName>/files

 

REQUEST METHOD

GET

 

URL PARAMETERS

AssetCode: This parameter is provided in the URL and does not need to be sent through GET.

AttributeVarName: This parameter is provided in the URL and does not need to be sent through GET.

 

REQUEST EXAMPLE

{RMUrl}/api/organization/assets/78395d3d-d7e6-4938-9682-b5bd3c5be422/attributes/attachmentattribute/files

 

SUCCESS RESPONSE

[{
"FileName":"Receipt.pdf",

"Data": "TWFuIGlzIGR...WQsIG5vdCBvbm",

"Description":"Proof of payment sent."

},

{
"FileName": "report.doc",
"Data": "RqsuIGlzIGR...eesIG6vdCBvnq"
}]