GeoPard Tutorials
Ask or search…
⌃K

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.
1
mutation ExportNotesData {
2
exportData(input: {
3
notes: [
4
{
5
uuid: "<placeholder_for_vectoranalysismap_uuid>",
6
fieldUuid: "<placeholder_for_field_uuid>",
7
entity: VectorAnalysisMap
8
}
9
]
10
}) {
11
archiveUrl
12
zippedNotes {
13
uuid
14
fieldUuid
15
status
16
}
17
ignoredNotes {
18
uuid
19
fieldUuid
20
status
21
}
22
}
23
}
After execution, the GraphQL query user can get a zip archive from the "archiveUrl" property and exported content with "zipped" and "ignored" rows.