POST v1/Clients/{clientId}/Inspections/Questions/{questionId}/Attachments
Get an attachment to the specified inspection question by file name.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
Client identifier. |
globally unique identifier |
Required |
| questionId |
Inspection question identifier. |
integer |
Required |
Body Parameters
The original file name.
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A .
InspectionQuestionAttachmentV1| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The inspection question attachment Id. |
integer |
None. |
| Name |
The file attachment name. |
string |
None. |
| AttachmentBytes |
The bytes for the file attachment. |
Collection of byte |
None. |
| Notes |
The file attachment notes. |
string |
None. |
| OriginalFileName |
The original file name. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"AttachmentBytes": "QEA=",
"Notes": "sample string 3",
"OriginalFileName": "sample string 4"
}
application/xml, text/xml
Sample:
<InspectionQuestionAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Inspection.Models"> <AttachmentBytes>QEA=</AttachmentBytes> <Id>1</Id> <Name>sample string 2</Name> <Notes>sample string 3</Notes> <OriginalFileName>sample string 4</OriginalFileName> </InspectionQuestionAttachment>