2025-08-03 - Graph Use Case/UpdateNode
Overview
Using Case
UpdateNode Basic Case
Example Param
{
"objType": {
"serviceTag": "xxxx",
"objectType": "yyyy"
},
"objInstanceFull": { // required
"identifiers": {
// identifiers
},
"fields": {
// properties that want to update
}
},
"originTimestamp": number, // Date.now()
"callingFlow": "xxx" // optional
}
Example Output
{
returnValue: {
queryResult: {
objType: {
serviceTag: "xxxx",
objectType: "yyyy"
},
objInstanceFull: {
identifiers: {
/// identifiers
},
fields: {
// properties after updated
}
},
userId: {}
},
requestParam: {
// return example send param
}
},
status: "complete", // or error
errorsFound: [],
graphServiceTag: "GraphHandler"
}
UpdateNode and VersionData
Example Param
{
"objType": {
"serviceTag": "xxxx",
"objectType": "yyyy"
},
"objInstanceFull": {
"identifiers": {
// identifiers
},
"fields": {
// Node properties && properties of versionedData that want to ubdate
},
"userId": { // optional
}
},
"originTimestamp": number, // Date.now()
"setting":{ // optional
returnSystemFieldsName = boolean // true or false
},
"callingFlow": "xxxx"
}
Example Output
DeleteNode
Example Param
Example Output