「HTTP要求」を使用してBoxにあるファイルをダウンロードする手順

よろしくお願いします。
当方、専門的なプログラミングの知識はなく、APIに関しては書籍等で学習してみた程度です。
Boxのレファレンスでファイルをダウンロードする際のガイドラインがありますが、これをどのように「HTTP要求」に落とし込むのでしょうか?
とりあえずエンドポイントにBoxのURLを入れてみました。

要求メソッドはGETに設定しました。

この後はどのようにパラメータを設定すれば、自分の望むアカウントから、そこに格納されているファイルがダウンロード出来るのでしょうか?
下の画像のリクエストの内容をパラメータに入力するのでしょうか?

初歩的な質問で恐縮ですが、よろしくお願いします。

Kindly start with Post Man and make the api working first. Post man have more debugging options and it is easy to integrate with UiPath once the call is working in Post Man

To know more details about how to use API - you can refer below link / any videos in You Tube

API Beginner

Hello @hiroshi_ota

Based on the documentation:

I would configure the HTTP Request as such:

Then you need to fill out these two variables with the values you have:

str_FileID = ID of the file you want to fetch
str_APIToken = Your bearer-token for the API request

Regards
Soren

こんにちは。

Boxへのアクセスについてですが、
UiPathが提供している「UiPath.Box.Activities」というパッケージがあります。

こちらも背面で動いているのはAPIによるアクセスのため、
そちらのセキュリティポリシーとかで利用に問題がないようでしたら、
少し簡便にBox操作ができるかなと思いますので、
本題とはちょっと外れた回答になるかもしれませんが、ご一考いただいてもよいかと。

ちなみにアクティビティ利用までの下準備については
過去に手順を投稿していたりするので、こちらもご参考までに。

UiPath.Box.ActivitiesのBoxScopeエラーについて - 日本 / フォーラム - UiPath Community Forum

Postman is easy to use and seems great for deepening understanding. Thank you for the information.

1 Like

Hi.
It was helpful to receive specific configuration instructions. Thank you so much.

1 Like

こんにちは。
ご回答ありがとうございます。勤務している会社でのRPA化案件で、Boxからファイルをダウンロードする工程があります。でも、あいにくですがUiPath.Box.Activitiesのパッケージが利用できません。それで「HTTP要求」を学習しようとした次第です。
ともかく回答いただけてありがたいです。
ありがとうございました。

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.