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
fieldUuidand to the associated ZonesMap viavectorAnalysisMapUuid.The coordinate of the Note can be set using the
centroidattribute, which requires definedlatitudeandlongitudevalues.The type of Note can be specified using the
typeattribute with acceptable values ofPLANNEDorREAL.The description of the Note can be provided using the
commentattribute. If the description needs to be multiline, thecommentattribute should contain a string with newline characters\\nto 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
Was this helpful?