Hi Guys
I have a dw of 4 columns (The Key is A,B)
I imported it into my snap developer project and I Scaffolded it creating service and controller
The model is this (for instance)
{
A: "",
B: "",
C: "",
D: ""
}
Now My CRUD API are created but I f I just want to update 2 columns of my dw
Now I call the create passing a complete Json:
{
A: "a",
B: "b",
C: "c",
D: "d"
}
If I call a Read the result is:
{
A: "a",
B: "b",
C: "c",
D: "d"
}
Now I just want to update properties A and B, my customer pass me just this on my WEB API:
{
A: "a",
B: "b",
C: "cc"
}
Is there a smart way to just update column C without set column D to null?
Or customer has to pass me the json containg all columns?
Thanks