Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to remove empty XML tags from payload in OIC — Cloud Customer Connect
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

Received Response
44
Views
5
Comments
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!