nmarus / node-ews

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

AdditionalProperties only returns last FieldURI #93

Closed niclego closed 5 years ago

niclego commented 6 years ago

screen shot 2018-06-25 at 4 19 03 pm

The response data from this EWS call only contains the starting time of each calender event and no end time. If i switch the FieldURI's so that end is last, the response data only contains the end time of each event.

Is this how node-ews was designed?

WirecardMobileServices commented 6 years ago

As per #24 the FieldURI should contain the array of fields

'FieldURI': [
        { 'attributes': { 'FieldURI': 'item:Subject'}},
        { 'attributes': { 'FieldURI': 'calendar:Start'}},
        { 'attributes': { 'FieldURI': 'calendar:End'}}
    ]