Using Call HTTP web service in SPD workflow and using App step:
First we will learn when to use App step – one of the reasons that App step is used is to provide elevated permissions in the workflow.
Example
We want to use HTTP web service and get items from root site collection in a workflow created on a sub site or we want communication across site collection using workflow.
Scenario 1
Getting items from a list at root site collection through a workflow created at a sub site.
Source of the List – http://<siteurl>/sites/sitename
Sub site where workflow is create - http://<siteurl>/sites/sitename/subsitename
Step 1 – Configure App step
Go to site settings of sub site as shown below.

To allow workflow to use app permissions
Click the Settings icon as shown in the figure.
Figure Opening the Site Settings page
1. Go to Site Settings.
2. In the Site Actions section, select Manage site features.
3. Locate the feature called Workflows which can use app permissions, as shown in the figure, and then click Activate.
Note
This feature will not activate unless you have properly configured the SharePoint Workflow platform and also apps for SharePoint.
Figure The site feature, 'Workflows can use app permissions'

1. Click the Settings icon as shown in the figure.
Figure: Opening the Site Settings page

1. Go to Site Settings.
2. In the Users and Permissions section, select Site app permissions.
3. Copy the client section of the App Identifier. This is the identifier between the last "|" and the "@" sign, as shown in the figure.

4. Now navigate to the app page to grant permission to app.
http://<siteurl>/sites/sitename/_layouts/15/appinv.aspx - This is the URL of site collection where list exists which we will access through call http web service.
App Id – It is the workflow app Id of sub site from where our workflow will access SharePoint list at root site collection.
Paste the App Id in the text box and click Lookup, It will get Title, App Domain and Redirect URL – it is the URL of the sub site whose workflow App step will access list at root site collection through Call HTTP web service.
Permission Request XML
Paste this as is in Permission Request XML field, do not change anything, it is not configurable.











Edgar SanabriaPosted Sep 14, 2018, 4:12 PM
Hi. how can I build my REST services URL if I want to get access to the 'A1' cell of an Excel File stored in a Document Library ?