I am trying to make a addjsonbody which expects a string at start but the string name changes due to poor architecture, i have been trying get set the string infront this value get picked up on script start i can store it in as a value but i need it as the string name.
createasset newAsset = new createasset();
newAsset.organization = org;
newAsset.location = loc;
newAsset.name = newName;
newAsset.customname1 = "value1";
newAsset.customname2 = "value2";
newAsset.customname3 = "value3";
request.AddJsonBody(newAsset);
i want to be able to change the name of customname1.