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

Post on 21-Mar-2017

162 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

Transcript

4

• http://www.spsevents.org

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

• http://www.portalsolutions.net/

Introduction

Prashant G Bhoyar (PGB)

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

OneWindow

YammerSharePoint

Online Skype For

BusinessOffice Groups Analytics

Office VideosOneDrive for

Business

OneWindow APIs

Planner

Office

Graph/Delve

Teams

Power BI

Analytics

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.

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

16

17

• nintex.uservoice.com

To use REST APIs in the Nintex Workflow?

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

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.

26

• 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

How to configure the App Step?

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

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

Visual Studio Console Application JavaScript FiddlerPostMan

• 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

Schedule

Surveys

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

http://www.pgbhoyar.com

https://github.com/pgbhoyar/InspireX2017

top related