Get User Details from User Profile using Web Service in SPD 2013 Workflow
문제
I want to retrieve the user properties like Group,Email,Manager from User Profile using Web service in SharePoint Designer 2013 workflow. I trying with Call HTTP Web Service
Action. Please explain me how to achieve this in detail?.
해결책
Create
EndPoint
workflow variable with value[%Workflow_Context:Current Site URL%]]/_api/Web/SiteUserInfoList/items?$filter=(ID eq [%Workflow_Context:AssignedTo%])
Add
Build dictionary
action to get the the response in a JSON format you will have to update the Accept and Content-Type http headers of your Rest http call; more specifically:
Accept : application/json;odata=verbose Content-Type :application/json;odata=verbose:
Go to property of call HTTP web service action >> set dictionary output to
RequestHeaders
parameter as shown in image.Get result from variavle as shown in image
Reference Link: https://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/