People search in 'Call HTTP web service'

  • 2 November 2015
  • 2 replies
  • 3 views

Hello,

 

I'm trying to use the people search in action 'Call HTTP web service'

 


https://siteCollectionUrl/_api/search/query?querytext='Smith'&sourceid='b09a7990-05ea-4af9-81ef-edfab16c4e31'&rowlimit='10'&selectproperties='FirstName,LastName'

 


In IE browser tab I see the relevant results (including data)

01.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But I can't argue Nintex WF to give me the same.
I'm getting an empty results within JSON RelevantResults: "Table":{"__metadata":{"type":"SP.SimpleDataTable"},"Rows":{"results":[]}} in responseContent

variable.


I'm, not sure, how to get result from the responseContent (direct output of 'call http web service' action)
d/results or d/query/PrimaryQueryResult/RelevantResults ?

 

Has anybody tried to obtain search result of call http web service action?

Appreciate any hint..

Jan


2 replies

Userlevel 7
Badge +17

Hi!

Does the user that is executing the workflow have sufficient permissions to access user profile data?

Have you found a solution for that problem already?

Regards,

Tomasz

Hi,

I am also facing the same issue. The user has site collection admin access and still the workflow returns no data. Is there any other access required?

Thanks,

Pranitha

Reply