How to remove empty XML tags from payload in OIC
SummaryHow to remove empty XML tags from payload in OIC
I am using mergeContract SOAP API to create and update contract lines. We are getting new lines as well as existing lines in request payload.
mergeContract API is understanding new line if line_id tag does not exists. if I am passing line_id as empty tag then also it's considering as existing line. I am getting new lines and existing line in request payload and I am trying to send all lines together in single payload.
Now problem is i want to remove line_id tag for new lines and want to populate line_id tag for existing lines and want to pass all those lines in single payload for mergeContract.