cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to UPDATE multiple values simultaneously in propertyType

AysenurCecen
Contributor

Hello,

We want to add IP addresses for the IT server property using the property type. However, since we have a large number of records, the mutation I shared below causes slowdown. Is it possible to update multiple values simultaneously using a mutation? If so, could you please provide an example mutation.

This mutation work, but it takes a long time to execute:

mutation
{
updateITServer(id:"vOojGKDLbjw4", iTServer:{
propertyType_PropertyType_PropertyValue_OwnedProperty:
{
action:ADD,
list:[{name:"IP",unit:"10.2.0.0",link1Name:"IP Adres",link1PropertyValue:"IPv4"}]
}
}) {
id

}
}

I tried this mutation for simultaneous update but it gave  "ItserverInput " error:

IP MUTATION ERROR.PNG

 

0 Replies