Showing results for 
Search instead for 
Did you mean: 
Not applicable

Web Request Check in document on another site

I have a flow that converts a word document to a .pdf document and saves it on a URL provided by the user via parameters. When the document is saved, it is "checked out". I've trying to use a Web Request to check it in. This is on a different site than where the work flow is running. I first use a web request and Query XML to obtain the RequestDigest. I use this as a header in my second web request. I pass "http://<site url>/_api/web/getfilebyserverrelativeurl('/<document library>/<filename.pdf>')/checkin(comment='Check-in comment.',checkintype=0)" in the body of the request.  This returns a code "200" which means "OK" with no errors. However, the document does not get checked in. Can anyone provide an example I can follow to get this working?

Labels: (1)
0 Kudos