> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BatchRequest (JSON)

> BatchRequest (JSON)

# BatchRequest (JSON)

ユーザー、デバイス、タイトルなどのプレゼンス情報をフィルターするプロパティの配列。

## BatchRequest

BatchRequest オブジェクトの仕様は次のとおりです。

| メンバー | 型 | 説明 |
| - | - | - |
| users | string の配列 | プレゼンスを取得したいユーザーの XUID のリスト。一度に最大 1100 個の XUID を指定できます。 |
| deviceTypes | string の配列 | 情報を取得したいユーザーが使用するデバイスの種類のリスト。配列が空のままの場合、可能なすべてのデバイスの種類が対象となります (フィルターされません)。 |
| titles | 32 ビット符号なし整数の配列 | 情報を取得したいユーザーのタイトル ID のリスト。配列が空のままの場合、可能なすべてのタイトルが対象となります (フィルターされません)。 |
| level | string | 有効な値: <ul><li>user - ユーザー ノードを取得</li><li>device - ユーザー ノードとデバイス ノードを取得</li><li>title - 基本的なタイトル レベルの情報を取得</li><li>all - リッチ プレゼンス情報、メディア情報、またはその両方を取得</li></ul>既定値は "title" です。 |
| onlineOnly | ブール値 | このプロパティが true の場合、バッチ操作はオフライン ユーザー (クローク状態のユーザーを含む) のレコードを除外します。指定しない場合、オンライン ユーザーとオフライン ユーザーの両方が返されます。 |

## サンプル JSON 構文

```json theme={null}
{
  users:
  [
    "1234567890",
    "4567890123",
    "7890123456"
  ]
}


```

## 関連項目

##### 親

[JavaScript Object Notation (JSON) オブジェクト リファレンス](https://docs.xbox.com/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json.md)

##### リファレンス


## Related topics

- [JavaScript Object Notation (JSON) オブジェクト リファレンス](https://docs.xbox.com/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [PermissionCheckBatchRequest (JSON)](https://docs.xbox.com/ja-jp/reference/live/rest/json/json-permissioncheckbatchrequest.md)
- [/batch](https://docs.xbox.com/ja-jp/reference/live/rest/uri/userstats/uri-batch.md)
- [POST (/json/users/batch/scids/{scid}/data/{pathAndFileName},json)](https://docs.xbox.com/ja-jp/reference/live/rest/uri/storage/uri-jsonusersbatchscidssciddatapathandfilenametype-post.md)
- [PermissionCheckBatchResponse (JSON)](https://docs.xbox.com/ja-jp/reference/live/rest/json/json-permissioncheckbatchresponse.md)
