Count Files Attached to an Instance of a Custom Object

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

 

URL

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

 

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/count

 

SUCCESS RESPONSE

Value corresponding to the total number of files attached. Returns an int.