Mutation
mutation AddInventoryNote($note: String!, $section: String!) {
addInventoryNote(note: $note, section: $section)
}Variables
{
"note": "string",
"section": "string"
}Response
{
"data": {
"addInventoryNote": true
}
}Mutations
addInventoryNote
Sets the organization’s note for one section of a chemical or consumable, replacing any existing note for that section, and returns true.
MUTATION
addInventoryNote(chemicalId: Int, consumableId: Int, note: String!, section: String!): Boolean!Arguments
chemicalId
Int
Id of the chemical the note is about; set this or consumableId.
consumableId
Int
Id of the consumable the note is about; set this or chemicalId.
note
String!
required
Text of the note.
section
String!
required
One of 'storageRequirements' (Storage requirements), 'personalProtection' (Personal protection), 'disposalNotes' (Disposal notes) or 'miscellaneous' (Miscellaneous).
Returns
Boolean!
Mutation
mutation AddInventoryNote($note: String!, $section: String!) {
addInventoryNote(note: $note, section: $section)
}Variables
{
"note": "string",
"section": "string"
}Response
{
"data": {
"addInventoryNote": true
}
}