Thanks for swift attention @DamoBird365 .
The output from one of the create file actions (one per attached file from the trigger).
{
"statusCode": 200,
"headers": {
"Transfer-Encoding": "chunked",
"Vary": "Origin,Accept-Encoding",
"X-SharePointHealthScore": "2",
"X-MS-SPConnector": "1",
"X-SP-SERVERSTATE": "ReadOnly=0",
"DATASERVICEVERSION": "3.0",
"SPClientServiceRequestDuration": "457",
"SPRequestGuid": "b89321df-4f68-490d-9057-c8969b4b1b1d",
"request-id": "b89321df-4f68-490d-9057-c8969b4b1b1d",
"MS-CV": "3yGTuGhPDUmQV8iWm0sbHQ.0",
"Strict-Transport-Security": "max-age=31536000",
"X-FRAME-OPTIONS": "SAMEORIGIN",
"Content-Security-Policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com;",
"MicrosoftSharePointTeamServices": "16.0.0.21117",
"X-Content-Type-Options": "nosniff",
"X-MS-InvokeApp": "1; RequireReadOnly",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"Cache-Control": "max-age=0, private",
"Date": "Mon, 29 Mar 2021 09:36:21 GMT",
"P3P": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"Content-Type": "application/json; charset=utf-8",
"Expires": "Sun, 14 Mar 2021 10:36:21 GMT",
"Last-Modified": "Mon, 29 Mar 2021 09:36:21 GMT",
"Content-Length": "660"
},
"body": {
"ItemId": 2867,
"Id": "%252fShared%2bDocuments%252fOPS-o006%2b-%2bIT%2band%2bDigital%252fsandbox%252f2Test_Document2.pdf",
"Name": "2Test_Document2.pdf",
"DisplayName": "2Test_Document2.pdf",
"Path": "/Shared Documents/OPS-o006 - IT and Digital/sandbox/2Test_Document2.pdf",
"LastModified": "2021-03-29T09:36:22Z",
"Size": 363840,
"MediaType": "application/pdf",
"IsFolder": false,
"ETag": "\"{CBD0E8CD-FE4D-49FF-89D7-888A857E65E5},2\"",
"FileLocator": "dataset=aHR0cHM6Ly9oeWRyb2dlbnV0aWxpdHkuc2hhcmVwb2ludC5jb20vc2l0ZXMvSDJVT3BlcmF0aW9ucw==,id=JTI1MmZTaGFyZWQlMmJEb2N1bWVudHMlMjUyZk9QUy1vMDA2JTJiLSUyYklUJTJiYW5kJTJiRGlnaXRhbCUyNTJmc2FuZGJveCUyNTJmMlRlc3RfRG9jdW1lbnQyLnBkZg=="
}
}
and the input into the same:
host
apiId "subscriptions/9f3a0e5f-8…1/apis/sharepointonline"
connectionReferenceName "shared_sharepointonline"
operationId "CreateFile"
parameters
dataset "https://myDomain.sharepoint.com/sites/The_Site_I_Want_to_Pass"
folderPath "/Shared Documents/OPS-o0… IT and Digital/sandbox"
name "2Test_Document2.pdf"
body "JVBERi0xLjUNJeLjz9MNCjEg…mVmDTI3MjA4OQ0lJUVPRg0="
...where my target dataset "https://myDomain.sharepoint.com/sites/The_Site_I_Want_to_Pass" exists.
And yes the
body('Parse_JSON')?['inputs']?['parameters']?['dataset']was added dynamically and this is indeed what it was generated (when hovering on the element in the GUI).
The output to that call is:
{
"statusCode": 200,
"headers": {
"Transfer-Encoding": "chunked",
"Vary": "Origin,Accept-Encoding",
"X-SharePointHealthScore": "2",
"X-MS-SPConnector": "1",
"X-SP-SERVERSTATE": "ReadOnly=0",
"DATASERVICEVERSION": "3.0",
"SPClientServiceRequestDuration": "457",
"SPRequestGuid": "b89321df-4f68-490d-9057-c8969b4b1b1d",
"request-id": "b89321df-4f68-490d-9057-c8969b4b1b1d",
"MS-CV": "3yGTuGhPDUmQV8iWm0sbHQ.0",
"Strict-Transport-Security": "max-age=31536000",
"X-FRAME-OPTIONS": "SAMEORIGIN",
"Content-Security-Policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com;",
"MicrosoftSharePointTeamServices": "16.0.0.21117",
"X-Content-Type-Options": "nosniff",
"X-MS-InvokeApp": "1; RequireReadOnly",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"Cache-Control": "max-age=0, private",
"Date": "Mon, 29 Mar 2021 09:36:21 GMT",
"P3P": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"Content-Type": "application/json; charset=utf-8",
"Expires": "Sun, 14 Mar 2021 10:36:21 GMT",
"Last-Modified": "Mon, 29 Mar 2021 09:36:21 GMT",
"Content-Length": "660"
},
"body": {
"ItemId": 2867,
"Id": "%252fShared%2bDocuments%252fOPS-o006%2b-%2bIT%2band%2bDigital%252fsandbox%252f2Test_Document2.pdf",
"Name": "2Test_Document2.pdf",
"DisplayName": "2Test_Document2.pdf",
"Path": "/Shared Documents/OPS-o006 - IT and Digital/sandbox/2Test_Document2.pdf",
"LastModified": "2021-03-29T09:36:22Z",
"Size": 363840,
"MediaType": "application/pdf",
"IsFolder": false,
"ETag": "\"{CBD0E8CD-FE4D-49FF-89D7-888A857E65E5},2\"",
"FileLocator": "dataset=aHR0cHM6Ly9oeWRyb2dlbnV0aWxpdHkuc2hhcmVwb2ludC5jb20vc2l0ZXMvSDJVT3BlcmF0aW9ucw==,id=JTI1MmZTaGFyZWQlMmJEb2N1bWVudHMlMjUyZk9QUy1vMDA2JTJiLSUyYklUJTJiYW5kJTJiRGlnaXRhbCUyNTJmc2FuZGJveCUyNTJmMlRlc3RfRG9jdW1lbnQyLnBkZg=="
}
}
One thing I do note is that the outputs (operative part from "body": downward) are the same, and it only place that dataset "https://myDomain.sharepoint.com/sites/The_Site_I_Want_to_Pass" exists is in the input of the create file action...