List Files in Attachment or Image Person Attribute

Returns the list of Attachment or Image attribute files associated with a person in the Organization module.

 

URL

{RMUrl}/api/organization/people/<PersonID>/attributes/<AttributeVariableName>/files

 

REQUEST METHOD

GET

 

URL PARAMETERS

PersonID: 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/people/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"
}]