Sets or updates the ancestor of a specific node. The ancestor must belong to a different aspect
than the one assigned to the specific node.
This is a privileged operation.
This is a privileged operation.
Request Content |
application/json
|
Request Object | |
Response Content |
json
|
Success Statuses |
204
NO CONTENT
|
Error Statuses |
400
BAD REQUEST
|
{ "nodeID" :"7516fd43-adaa-3e0b-8a65-a672c39845d2", "aspectID" :"6ddc09dc-4560-31d9-854e-9fe670374eb2" }
{ "nodeName" :"US-TX", "aspectName" :"STATE" }
{ "nodeName" :"" }
{ "errorID" : "DIM-001224", "errorMessage": "Sorry, could not update node's ancestry.", "requestID" : "DIM-0800200c9a66", "details" : [ { "errorID" : "DIM-001213", "errorMessage": "Sorry, when specifying an ancestor for dimension node 'US-TX-Houston', either the ancestor 'nodeID' or 'nodeName' field must be included in the request (both fields must not be missing or blank).", "nodeName" : "" }, { "errorID" : "DIM-001212", "errorMessage": "Sorry, when specifying an ancestor for dimension node 'US-TX-Houston', either the ancestor 'aspectID' or 'aspectName' field must be included in the request (both fields must not be missing or blank)." "aspectID" : "" } ] }
{ "nodeName" : "US-MX", "aspectID" : "6ddc09dc-4560-31d9-854e-9fe674334eb2" }
{ "errorID" : "DIM-001224", "errorMessage": "Sorry, could not update node's ancestry.", "requestID" : "DIM-0800200c9a66", "details" : [ { "errorID" : "DIM-001226", "errorMessage": "Sorry, dimension node 'US-TX-HOUSTON' could not be updated because it referred to unknown ancestor node: 'US-MX'.", "nodeName" : "US-MX" } ] }
{ "nodeName" :"US-TX", "aspectName" :"COUNTRY" }
{ "errorID" : "DIM-001224", "errorMessage": "Sorry, could not update node's ancestry.", "requestID" : "DIM-0800200c9a66", "details" : [ { "errorID" : "DIM-001208", "errorMessage": "Sorry, the ancestor node 'US-TX' does not belong to ancestor aspect 'COUNTRY'.", "nodeName" : "US-TX" } ] }
{ "nodeName" :"US-TX-Dallas", "aspectName" :"CITY" }
{ "errorID" : "DIM-001224", "errorMessage": "Sorry, could not update node's ancestry.", "requestID" : "DIM-0800200c9a66", "details" : [ { "errorID" : "DIM-001209", "errorMessage": "Sorry, dimension node 'US-TX-Houston' cannot refer to an ancestor node 'US-TX-Dallas' within its own aspect 'CITY'.", "nodeName" : "US-TX-Dallas" } ] }
{ "nodeName" :"ANY", "aspectName" :"WORLD" }
{ "errorID" : "DIM-001224", "errorMessage": "Sorry, could not update node's ancestry.", "requestID" : "DIM-0800200c9a66", "details" : [ { "errorID" : "DIM-001210", "errorMessage": Sorry, cannot set ancestor relationships for the root aspect 'WORLD'.", "aspectName" : "WORLD" } ] }