View Control Attachment Details

Allows a file attached to a control in a questionnaire to be obtained.

 

URL

{RMUrl}/api/risk/questionnaires/<QuestionnaireId>/attachments/<FileID>

 

REQUEST METHOD

GET

 

URL PARAMETERS

QuestionnaireId: 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

Access the "57" attachment in the questionnaire with an ID code of "178".

{RMUrl}/api/risk/questionnaires/178/attachments/57

 

SUCCESS RESPONSE EXAMPLE

{

"Id":"57",

"FileName":"documentation.pdf",

"Data":"JVBERi0xLjUKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQo1="

}