よろしくお願いします。
当方、専門的なプログラミングの知識はなく、APIに関しては書籍等で学習してみた程度です。
Boxのレファレンスでファイルをダウンロードする際のガイドラインがありますが、これをどのように「HTTP要求」に落とし込むのでしょうか?
とりあえずエンドポイントにBoxのURLを入れてみました。
要求メソッドはGETに設定しました。
この後はどのようにパラメータを設定すれば、自分の望むアカウントから、そこに格納されているファイルがダウンロード出来るのでしょうか?
下の画像のリクエストの内容をパラメータに入力するのでしょうか?
初歩的な質問で恐縮ですが、よろしくお願いします。
sharazkm32
(Sharaz K M)
February 11, 2025, 5:33am
2
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
SorenB
February 11, 2025, 11:07am
3
Hello @hiroshi_ota
Based on the documentation:
Explore the Box APIs and SDKs to use for app development,
API documentation, developer support resources, and access
the Box Developer Console
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
rfu
(rfu)
February 12, 2025, 12:41am
4
こんにちは。
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
system
(system)
Closed
February 15, 2025, 2:00pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.