質問

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?.

役に立ちましたか?

解決

  1. Create EndPoint workflow variable with value [%Workflow_Context:Current Site URL%]]/_api/Web/SiteUserInfoList/items?$filter=(ID eq [%Workflow_Context:AssignedTo%])

  2. 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:
  1. Go to property of call HTTP web service action >> set dictionary output to RequestHeaders parameter as shown in image.

    enter image description here

  2. Get result from variavle as shown in image enter image description here

    Reference Link: https://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top