Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to remove empty XML tags from payload in OIC

edited Oct 23, 2018 3:00PM in Integration 5 comments

Summary

How to remove empty XML tags from payload in OIC

Content

Hello,

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!