GetFormPhotoMediaMetadata()

The GetFormPhotoMediaMetadata() command returns a data structure (XML/JSON) that contains properties that correspond to the media metadata being captured in the tbl_MDA_MediaMetadata table.

  • Quota: 2
Table 1. Parameters
ParameterTypeMax LengthRequiredDescription
apiToken string 20Y Your API security token configured in Field View.
taskId string20Y The unique ID of the task.
mediaIdstring20YThe ID in <Attachment> from GetAssetAttachments, where Type = "GetFormPhotoMediaMetadata"
Table 2. Returns
FieldTypeDescription
GetFormPhotoMediaMetadataReponse GetFormPhotoMediaMetadataReponseReturns XML/JSON data structure of properties.
<GetFormPhotoMediaMetadataResponse>
         <GetFormPhotoMediaMetadataResult>
            <MediaMetadataResponse>
             <Status>
                  <Code>SUCCESS</Code>
                  <Message>Success.</Message>
               </Status>
               <MediaId>1.106315</MediaId>
               <DateTimeTaken>2021-09-23T14:42:22Z</DateTimeTaken>
               <XResolution>96</XResolution>
               <YResolution>96</YResolution>
               <GPSLatitude>53.055000</GPSLatitude>
               <GPSLongitude>-2.21000</GPSLongitude>
               <GPSAccuracy>xsi:nil="true:/"              
            </MediaMetadataResponse>
         </GetFormPhotoMediaMetadataResult>
      </GetFormPhotoMediaMetadataResponse>