71. Mutation: Generate a zip archive with "Notes"

Generate a zip archive with the "Notes" linked to the selected "VectorAnalysisMap", "SoilDataset" or the "Field" entity.

The archive consists of *.shp, *.shx, *.prj, *.dbf files.

mutation ExportNotesData {
  exportData(input: {
    notes: [
      { 
        uuid: "<placeholder_for_vectoranalysismap_uuid>", 
        fieldUuid: "<placeholder_for_field_uuid>", 
        entity: VectorAnalysisMap 
      }    
    ]
  }) {
    archiveUrl
    zippedNotes {
      uuid
      fieldUuid
      status
    }
    ignoredNotes {
      uuid
      fieldUuid
      status
    }
  }
}

After execution, the GraphQL query user can get a zip archive from the "archiveUrl" property and exported content with "zipped" and "ignored" rows.

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform