getting started with sharepoint rest api in nintex workflows for office 365 inspirex 2017

45

Upload: prashant-g-bhoyar

Post on 21-Mar-2017

138 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 2: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 3: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 4: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

4

• http://www.spsevents.org

• https://www.meetup.com/DC-Metro-Office-365-User-Group/

• http://www.portalsolutions.net/

Introduction

Prashant G Bhoyar (PGB)

Page 5: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

We deliver Digital

Workplace Products

and Solutions that help

organizations share

what they know and find

what they need by

connecting people,

data, and content.

5

Page 7: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

OneWindow

YammerSharePoint

Online Skype For

BusinessOffice Groups Analytics

Office VideosOneDrive for

Business

OneWindow APIs

Planner

Office

Graph/Delve

Teams

Power BI

Analytics

Page 8: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Interested in seeing if

OneWindow Workplace

Intranet is right for your

organization?

Let’s talk. Click here or go to

http://www.onewindowapp.com to watch

2-minute video.

Page 9: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 10: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 11: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 12: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

http://usdotblog.typepad.com/secretarysblog/2010/03/public-transportation-in-the-spotlight.html#.WKHE5zvyuwU

Page 13: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 14: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 15: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 16: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

16

Page 17: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

17

Page 18: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

• nintex.uservoice.com

Page 19: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 20: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

To use REST APIs in the Nintex Workflow?

Page 21: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Call HTTP Web Service Web Request

• Calls a web service, such as REST

• Can not impersonate user

• Need to use App Step

• Send an HTTP request to a URL

• Can pass User Name and Passwords

• Perform a variety of requests, including GET, POST, PUT, SOAP 1.1, SOAP 1.2, and customized request methods

• Can call ASMX web services

Page 22: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 23: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 24: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 25: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

25

If you want to do

this to an

endpoint

Use this

HTTP

request

Keep in Mind

Read a resource GET

Create or update a

resource

POST • Use POST to create entities such as lists

and sites.

• For POST operations, any properties that

are not required are set to their default

values.

Update or insert a

resource

PUT • Use PUT and MERGE operations to

update existing SharePoint objects.

Delete a resource DELETE • Use the HTTP DELETE command against

the specific endpoint URL to delete the

SharePoint object represented by that

endpoint.

• In the case of recyclable objects, such as

lists, files, and list items, this results in a

Recycle operation.

Page 26: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

26

Page 27: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 28: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 29: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

• e7c41053-58d2-4cd9-98d3-7aa16b7e41b2

<AppPermissionRequests>

<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="FullControl" />

</AppPermissionRequests>

How to configure the App Step?

https://msdn.microsoft.com/en-us/library/office/jj822159.aspx

Page 30: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

How to configure the App Step?

https://msdn.microsoft.com/en-us/library/office/jj822159.aspx

Page 31: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 32: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 33: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Test REST End Point

• Test the REST endpoint outside of the workflow using tool of your choice like Postman, Fiddler, Console Application or JavaScript etc.

Implement • Implement the REST API in the workflow

Test the workflow

• Test the workflow

Check First

• Check if the action is already available

Page 34: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 35: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Visual Studio Console Application JavaScript FiddlerPostMan

Page 36: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 37: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 38: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 39: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Page 40: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 41: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

• http://help.nintex.com/en-US/O365/Default.htm

• https://msdn.microsoft.com/en-us/library/office/jj163181.aspx

• https://msdn.microsoft.com/en-us/library/office/fp142380.aspx

• https://msdn.microsoft.com/en-us/library/office/jj822159.aspx

• https://support.microsoft.com/en-us/help/3076399/sharepoint-2013-workflow-throttling-and-performance-in-sharepoint-online-and-project-online

• http://www.slideshare.net/pgbhoyar/how-to-develop-maintainable-custom-workflows-in-office365-sharepoint-online-20160628new-jersey-sharepoint-user-group-63617565

• http://rest.elkstein.org/2008/02/what-is-rest.html

• https://app.pluralsight.com/library/courses/sharepoint-2013-workflow-web-services/table-of-contents

Page 42: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 43: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017
Page 44: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

Schedule

Surveys

Page 45: Getting Started With SharePoint REST API in Nintex Workflows for Office 365 InspireX 2017

https://www.linkedin.com/in/prashant-g-bhoyar-3008587/

http://www.pgbhoyar.com

https://github.com/pgbhoyar/InspireX2017