Sharepoint 2013 Post via Workflow with REST

I'm having a consistent issue with doing rest queries in SharePoint 2013 Workflows.  The REST query I do in the browser shows fine but when I do the same thing in SP Workflows it fails.  Let me show an example.

If I use this in the browser it works in all instances:

http://URL/_api/web/lists/getbytitle('List')/items('1')
http://URL/_api/web/lists/getbytitle('List')/items(1)
http://URL/_api/web/lists/getbytitle('List')/items?$filter=ID eq '1'
http://URL/_api/web/lists/getbytitle('List')/items?$filter=ID eq 1

When retrieving items only this works:

http://URL/_api/web/lists/getbytitle('List')/items?$filter=ID eq '1'

I can't seem to get anything to POST except if I use getfilebyserverrelativeurl('[%Variable: DocumentPath%]')

Can anyone define what syntax works in SharePoint Workflows for Posting?  I can't get it to work.

August 17th, 2015 7:57pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics