nmarus / node-ews

A simple JSON wrapper for the Exchange Web Services (EWS) SOAP API.
MIT License
116 stars 52 forks source link

Converting XML-Tag with Content and attribute #64

Closed relief-melone closed 7 years ago

relief-melone commented 7 years ago

I'm currently trying to create an ewsArgs-Object but I'm running in the following problem. The body tag in the xml looks like this

Plan the agenda for next week's meeting.

Now in JSON it should be

"Body" : { "attributes" : { "BodyType" : "Text" } }

But how do I get the text in now? Is there a solution yet? I didn't find anything in the given examples so far. Would be great if you could help out.

Greetings Chris

relief-melone commented 7 years ago

Found the answer in another question here

https://github.com/CumberlandGroup/node-ews/issues/61