0

Using the Box 1.0 REST API, I am trying to work with the functions in SOAP UI.

The API doc for get_managed_users with user_id=12345 (internal id retrieved with get_user_id call correctly) is returning all the users. The docs say that would be the case if you do not specify a user_id value. But my full command is: (Token and API key changed to protect the clueless)

https://www.box.com/api/1.0/rest?user_id=27360&auth_token=blahbalhblah1234&action=get_managed_users&api_key=someKeyYouShouldNotSee

Now I could work with the complete result list, but that won't scale as we get thousands of users into the system.

I can make a call with edit_managed_user, using the same user_id value and the change is reflected in the UI, and in the next get_managed_users call. Thus I do have the correct user_id value, I would so assume.

I tried testuser@gmail.com as the user_id value as well, and get the entire list back. This leads me to believe that somehow I am sending user_id wrong, but I just do not see it.

Any hints? Why, with what seems like a valid user_id value is it acting like it is absent or incorrect?

4

1 に答える 1

1

無効な user_id を指定してこのメ​​ソッドを呼び出したか、管理対象ユーザーのセットに含まれていないメソッドを呼び出した可能性があります。すでに管理されているユーザーのリストにユーザーが戻ってくることを再確認できますか?

于 2012-05-16T16:16:44.380 に答える