How to Get RootFolderId By UserId in DescribeUser Amazon Workdocs API?

0

I have UserId, and I need the root folder id for that particular user. What I have done is, used the DescribeUser API of AmazonWorkdocs And provided id in UserIds Query. This API is working fine in postman. But when I'm using the same for My project (NetCore) it returns {{"Message": "Invalid SigV4 credentials."}} The code is provided below.

var userRequest = new ESBMessage();
                    userRequest.LocalPath = String.Format("/api/v1/users");
                    userRequest.Http.Method = "GET";
                    //userRequest.Http.Query.Add("organizationId", OrganizationId);
                    userRequest.Http.Query.Add("userIds", userId);// UserId contains id of user
                    SetAuthenticationHeader(userRequest);
                    var driveList = _client.CallRestApi(userRequest, GetRequestURI(), true);
質問済み 1年前240ビュー
1回答
0
承認された回答

Encode UserId

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ