In .net core web api I was given a task to add a extra parameter in the XML request which checks for another parameter if its 1 then my parameter should pass as
<old_parameter>1</old_parameter> then
<my_parameter>Y</my_parameter>this I need to pass.
Just wanted to know how this is achieved and which files or code needs to be checked.
Any tutorial or refence might help a lot.