I am using Office365 to create event from my iOS Application. My problem is that I can insert an event from simulator but can’t able to insert event from iOS device.below is my code.
Code : -
MSOutlookEvent *eventToCreate = [snippetLibrary outlookEventWithProperties:@[toEmailAddress]
subject:subject
body:body
start:start
end: end
];
[snippetLibrary createCalendarEvent:eventToCreate
completion:^(MSOutlookEvent *addedEvent, NSError *error) {}
Getting Error:-
Error Domain=Error in the Request Code=400 "The operation couldn’t be completed. (Error in the Request error 400.)" UserInfo=0x1767db60 {error={
code = RequestBodyRead;
message = "Cannot convert the literal '0' to the expected type 'Edm.Boolean'.";
}}
Thanks in anticipation !!!