The GetAttachments() command returns a list of photos or documents attached to the task. Returned values can then be used against the GetPhoto or GetDocument endpoints.

To get a list of tasks attached to a project, see GetProjectTasksList().

  • Quota: 2
Table 1. Parameters
Parameter Type Max Length Required Description
apiToken string 20 Y Your API security token configured in Field View.
taskId integer 20 Y The unique ID of the task.
Table 2. Returns
Field Type Description
GetAttachmentsResponse GetAttachmentsResponse Returns a list of Attachment objects, 0 or more.
                     <MediaType>Task Photo</MediaType>
                     <MediaType>Document Attachment</MediaType>