List Files in Attachment or Image Attribute for a Custom Object

Returns a list of the files attached to an Image or Attachment attribute of an instance registered for a custom object.

 

URL

{RMUrl}/api/objects/<ObjectVariableName>/<InstanceID>/<AttributeVariableName>/files/

 

REQUEST METHOD

GET

 

URL PARAMETERS

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

InstanceID: 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/objects/book/66f295ae-f946-4f74-9ef4-21a0ca93febb/attachment/files/

 

SUCCESS RESPONSE

[

{

"Description":"Proof of payment sent.",

"FileName":"Receipt.pdf",

"Id":"06a61c65-b23b-41ba-886d-757466b9b87f"

},

{

"Description":null,

"FileName":"test.txt",

"Id":"951aa5a5-cee4-491d-9f86-83fcc8c00337"

}

]