HTTP request to get the DriveItem variable

This topic might be more related to how to create properly an API call and obtain the proper response than rather the actual thing I need to obtain…

Let’s see.

I am using the graph API to obtain the DriveItem of a resource I have in a SharePoint site. for that, I get the FolderId and SiteId with the proper calls. No problem up to there.

Now, once I have both things, I perform the API call to obtain the DriveItem of the FolderId I obtained previously and even though the response is fine (HTTP response 200), I do not know how to convert that response into a DriveItem variable type.

Any help on that, please?

PS.- I know there are integration activities for that but I am not using Cloud but onprem Orchestrator build and the integration activities are not yet available in that environment. In addition, for learning purposes this is just great.

@monbesugo

Welcome to the community

Why not use the normal office 365 activites?

It has other type of authentications also

Also why you want to convert to drive item again as if you are using api already you dont need driveitems at all

Cheers