The GetPhoto() command returns a photo attachment as a Base64 encoded binary string.

To get a list of photos attached to a task, see GetAttachments().

  • Quota: 6
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.
mediaId string 20 Y The ID in <Attachment> from GetAssetAttachements, where Type = "Photo"
Table 2. Returns
Field Type Description
GetPhotoResponse GetPhotoResponse Returns a single photo attachment object. Note that <Media> contains a Base64 encoded binary string. All photos are JPG format.
               <Media>[BASE 64 Encoded JPG]</Media>