Skip to content

mikeebowen/Interop-REST-Mail-Contacts-Calendar-Sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interop REST Mail Contacts Calendar App

This example app demonstrates the Representational State Transfer (REST) interface for Office 365, including authentication, interacting with the calendar, querying the address book, and sending email. The app can be built for Android and the Universal Windows Platform. To get started, register your app with an Office 365 Developer Account, then choose which platform(s) you want to build for.

##Table of Contents

##About the Interop REST Mail Contacts Calendar App

In the app, after you log into an Office 365 account, you can view your calendar and create single or recurring meetings on your calendar. Meetings can be scheduled with a given location, time slot, and a set of invitees, where the available locations and attendees are queried from Office 365. Each invitee has the option to accept, decline, or tentatively accept a meeting, or to email the organizer. An organizer has the option to reply all or forward the meeting invitation, and to send a running-late message to the invitees.

If the app is built with the Universal Windows Platform you will be able to see the live requests and responses from the Microsoft Graph Universal API in a console at the bottom of the app.

The basic app is able to:

####View Your Calendar

Android UWP
Calendar Page Calendar Page UWP

####View Meeting Details

Android UWP
Details Page Details Page

####Send a Message to Other Meeting Attendees

Android UWP
Send a message Send a message

####Modify Meeting Details

Android UWP
modify meeting details modify meeting details

####Create a New Meeting

Android UWP
create new meeting Create New Meeting

##Register the App with an Office 365 Developer Account

  1. No matter what you use to configure your app, you will need to have an Office 365 Developer account and register your app with it. To sign up for an Office 365 developer account:
  • Visit dev.office.com/devprogram or go directly to the profile creation page and create a profile.

  • Follow the link in the confirmation email and create an Office 365 developer account.

  • For detailed instructions on signing up for a developer account go here.

  1. Once you have created an Office 365 Dev Account, go to graph.microsoft.io to register your app and click App Registration then click Office 365 App Registration Tool or you can go directly to the registration page dev.office.com/app-registration.

Get started

Next step

  1. Give your app a name and select Native App in the App type line. Then pick a Redirect URI, the preferred naming convention is: "your Office 365 domain + a unique name for your app", but it is not required, it must however, be formatted as a URI and be unique. For example, I named my app https://greencricketcreations.onmicrosoft.com/MyCalendarApp. The Redirect URI isn't a real website; it is more of a unique identifier for your app. Once you have entered a name and Redirect URI set the permissions. The necessary permissions are:
  • Read user profiles
  • Read user contacts
  • Read and write user calendars
  • Read user calendars
  • Send mail as user
  • Read and write user mail
  1. Once you have filled out the form, click Register App.

Register App

  1. When your registration is complete, you will receive a Client ID. Make note of the Client ID and Redirect URI, you will need them to configure your app.

  2. If you need more control of the registration options, you can follow these detailed instructions to register your app in Azure. Note that these instructions use the Azure classic portal. You can access the Azure classic portal here.

  3. Now you're ready to build your app with Android or the Universal Windows Platform or both!


###Copyright

Copyright (c) 2016 Microsoft. All rights reserved.

About

A sample application that will allow you to modify meetings via the REST APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 56.1%
  • Java 43.9%