GET v1/Clients/{clientId}/Inspections/{inspectionId}/Questions/{questionId}/Attachments/{attachmentId}

Get an attachment to the specified inspection question.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client identifier.

globally unique identifier

Required

inspectionId

Inspection identifier.

integer

Required

questionId

Inspection question identifier.

integer

Required

attachmentId

Inspection question attachment identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A .

InspectionQuestionAttachmentV1
NameDescriptionTypeAdditional 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>