In SP Online I have the following problem:
https://mysite/_api/search/query?querytext='contenttype:My content Type'
if I query by the content-type using the browser I get the
equals 4, but if I query through a
Call Web Service Action from Workflow on Sharepoint Design.
using the same URL, RequestHeaders beeing a dictionary with both Accept and Content-Type being initialized with
application/json;odata=verbose parameter, it is not returning the same data, is actually returning 0 and no elements.
I am just trying to count the number of elements from a certain content type using the workflow, any ideas ?