05-10-2024 07:02 AM
Hello, I am attempting to bulk add a ton of custom site variables to XIQ SE for the purposes of ZTP+ at 70 site locations that all require different ISID associations etc. Is there a way to do this easily via the exposed NBI or otherwise? I can't seem to get the query sorted out and am at my whits end.
Solved! Go to Solution.
05-13-2024 06:17 AM
This works...
mutation {
network {
modifySite(input: {
siteLocation: "/World/CTC"
siteConfig: {
customVariablesConfig: {
mutationType: ADD
customVariables: [{
name: "myVar"
valueType: STRING
scopeCategory: SITE
value: "12345"
}]
}
}
}) {
message
status
}
}
}
And I get:
05-13-2024 06:17 AM
This works...
mutation {
network {
modifySite(input: {
siteLocation: "/World/CTC"
siteConfig: {
customVariablesConfig: {
mutationType: ADD
customVariables: [{
name: "myVar"
valueType: STRING
scopeCategory: SITE
value: "12345"
}]
}
}
}) {
message
status
}
}
}
And I get:
05-14-2024 05:57 AM
You are the man! Thank you sir,