26. Mutation: Save "Note" attached to "ZonesMap"

This mutation allows you to attach a Note to a specified ZonesMap.

  • A Note can be linked to the Field via its unique identifier fieldUuid and to the associated ZonesMap via vectorAnalysisMapUuid.

  • The coordinate of the Note can be set using the centroid attribute, which requires defined latitude and longitude values.

  • The type of Note can be specified using the type attribute with acceptable values of PLANNED or REAL.

  • The description of the Note can be provided using the comment attribute. If the description needs to be multiline, the comment attribute should contain a string with newline characters \\n to separate lines. For example: "First line. is here\\nSecond line is here.\\nThird line is here.".

The sample requests can be found below:

mutation SaveNoteAttachedToZonesMap {
  saveNote(input:{
    fieldUuid: "d31240db-98e6-4cb0-b0a8-97ffe00f5e0d",
    centroid: {
      latitude: 51.177747, 
      longitude:  -113.533613
    },
    type: REAL,
    comment: "The test note attached to ZonesMap",
    vectorAnalysisMapUuid: "983095c1-8d31-4cc0-9143-502c35df358d"
  } ) {
    uuid
    fieldUuid
    centroid {
      latitude
      longitude
    }
    createdDate
    updatedDate
    type
    comment
    vectorAnalysisMap {
     	uuid
     	fieldUuid
    }
  }
}
mutation SaveMultiLineNoteAttachedToZonesMap {
  saveNote(input:{
    fieldUuid: "d31240db-98e6-4cb0-b0a8-97ffe00f5e0d",
    centroid: {
      latitude: 51.177747, 
      longitude:  -113.533613
    },
    type: REAL,
    comment: "First line. is here\\nSecond line is here.\\nThird line is here.",
    vectorAnalysisMapUuid: "983095c1-8d31-4cc0-9143-502c35df358d"
  } ) {
    uuid
    fieldUuid
    centroid {
      latitude
      longitude
    }
    createdDate
    updatedDate
    type
    comment
    vectorAnalysisMap {
     	uuid
     	fieldUuid
    }
  }
}

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform