Hello.. I am starting to figure out how methods in aras work and to call them using postman API. I had to create a relationship between a part and a document and I made the following method. But couldnt make it work. Any idea whats wrong in this simple method? Thanks
Innovator inn = this.getInnovator();
Item partItem = inn.newItem("kth_Part", "get");
partItem.setAttribute("id", C84A89038AFF401B8067082005E83863);
Item documentItem = inn.newItem("kth_document", "get");
documentItem.setAttribute("id" , 5891B3C8039145B4BB1A8DE468DDE1E9);
partItem.addRelationship("kth_Part_Document" , documentItem);
partItem.apply();
{