Open benedictbihl opened 6 years ago
Node ews seems to have this problem all over the place... I get it with find item properties and free busy periods. I'm surprised anybody can use this library without running into errors.
I have since switched to ews-javascript-api since i got no response here. Works well for me and seems to be a better choice for your js-related EWS needs in general.
Disclaimer: I know this is 2 yrs old, but it might help somebody... so here you go.
It's about the correct way to defined the Array in JSON. In the code you provided, the second 'MailboxData' just overwrote the first. I had success in forming this part like:
'MailboxDataArray': {
'MailboxData': [
{
'Email': {
'Address': 'room1@company.com'
},
'AttendeeType': 'Room',
'ExcludeConflicts': 'false'
},
{
'Email': {
'Address': 'room2@company.com'
},
'AttendeeType': 'Room',
'ExcludeConflicts': 'false'
}]
},
Since im unable to access the support chat, i am going to try my luck here. I hope this is fine. I am trying to fetch the calendar items of multiple rooms in order to determine which one is free at the given time. However, in the response i get from the server, there is only one CalendarEventArray which contains the items of the last entry in my MailboxDataArray (room2@company.com). Is there anything im missing?
Request:
Response: