89. Mutation: Export ZonesMap as Zipped ISOXML

Generate a zip archive with the selected "ZonesMap" as ISOXML .

Multiple ISOXML Application maps can be exported for the selected field using applicationMaps >> uuids and/or equationMaps >> uuids.

1. Preparation

  • The attribute applicationMaps contains an array of ZonesMaps (VectorAnalysisMaps) with rates objects to be exported. Each such object includes a pair of fieldUuid (linkage to the selected Field) and uuids (linkage to the selected ZonesMaps with assigned rates).

  • The attribute equationMaps contains an array of EquationMaps to be exported. Each such object includes a pair of fieldUuid (linkage to the selected Field) and uuids (linkage to the selected EquationMaps).

  • The attribute archiveName holds the name of the generated zip archive.

  • The attribute filePostfix allows for custom postfixes to be added to the exported files and archive.

mutation exportIsoXml {
  exportIsoXml(
    input: {
      applicationMaps:[
        {
          fieldUuid:"<placeholder_field_uuid>" 
          uuids:[
            "<placeholder_zones_map_1_uuid>",
            "<placeholder_zones_map_2_uuid>"
          ]
        }
      ] 
      equationMaps: [
        {
          fieldUuid:"<placeholder_field_uuid>" 
          uuids:[
            "<placeholder_equation_map_1_uuid>"
          ]
        }
      ]
      filePostfix:"_GP" 
      archiveName:"CustomZonesMapsISOXML"
    }
  ) {
    archiveUrl
  }
}

2. Download the generated archive

After execution of the GraphQL query, it is possible to download it using curl or a similar approach.

curl '<archiveUrl>' --compressed >> '<archiveUrl>'

Last updated

Was this helpful?