View Details on File in Attachment or Image Attribute for a Custom Object Instance

Allows details on a file attached to an Image or Attachment attribute of an instance registered for a custom object to be obtained.

 

URL

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

 

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.

FileID: 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/443de4ae-2360-4b66-bf69-8c9e4ca09001

 

SUCCESS RESPONSE EXAMPLE

{
"FileName": "Receipt.pdf",
"Data": "TWFuIGlzIGR...WQsIG5vdCBvbm",
"Description": "Proof of payment sent."

"Id":"443de4ae-2360-4b66-bf69-8c9e4ca09001"
}