2017-07-07 3 views
0

このコードは、私が子供の内部でフィルタリングするMicrosoft Graphで拡張されたコレクションをフィルタリングして選択するにはどうすればよいですか?

https://graph.microsoft.com:443/v1.0/me/drive/root?$filter=Size eq 0&$expand=children($select=id,folder,name,parentReference,cwebUrl)&$select=Id,folder,name,parentReference,children,webUrl 

作品:

https://graph.microsoft.com:443/v1.0/me/drive/root?$filter=Size eq 0&$expand=children($select=id,folder,name,parentReference,cwebUrl&$filter=Size eq 0)&$select=Id,folder,name,parentReference,children,webUrl 

答えて

1

内のフィルタリング/選択を展開するとし、あなたは、セパレータ、ない&として;を使用する必要があります。だからあなたのURLは次のようになります。ここでは

https://graph.microsoft.com:443/v1.0/me/drive/root?$filter=Size eq 0&$expand=children($select=id,folder,name,parentReference,cwebUrl;$filter=Size eq 0)&$select=Id,folder,name,parentReference,children,webUrl

は、この動作を表示するトリッピン例のODataサービスのURLの例です。

http://services.odata.org/V4/TripPinServiceRW/People?$expand=Trips($select=TripId,Name,Description;$filter=TripId eq 0)

関連する問題