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

# GameSessionSummary (JSON)

> GameSessionSummary (JSON)

# GameSessionSummary (JSON)

代表遊戲工作階段摘要資料的 JSON 物件。

<a id="ID4EN" />

GameSessionSummary JSON 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| creationTime | DateTime | 工作階段建立的日期和時間，以 UTC 表示。 |
| customData | 8 位元不帶正負號的整數陣列 | 1024 位元組的遊戲特定工作階段資料。此值對伺服器而言是不透明的。 |
| displayName | string | 遊戲工作階段的顯示名稱，長度上限為 128 個字元。此值對伺服器而言是不透明的。 |
| hasEnded | 布林值 | 如果工作階段已結束則為 True，否則為 false。將此欄位設定為 true 會將遊戲工作階段標示為唯讀，以防止再有資料提交至該工作階段。 |
| sessionId | string 工作階段識別碼。 | |
| titleId | 32 位元不帶正負號的整數 | 建立遊戲工作階段之遊戲的識別碼。 |
| variant | 32 位元帶正負號的整數 | 遊戲變體。此值對伺服器而言是不透明的。 |

<a id="ID4EID" />

## 範例 JSON 語法

```json theme={null}
{
    "sessionId": "702e5aaf-e7bd-4a7c-abea-9dd4be10edec",
    "titleId": 1297287259,
    "variant": 1,
    "displayName": "Contoso Cards",
    "creationTime": "2011-06-23T17:13:06Z",
    "customData": null,
    "hasEnded": false,
}
    
```

<a id="ID4ERD" />

## 另請參閱

<a id="ID4ETD" />

##### 上層

[JavaScript Object Notation (JSON) 物件參考](/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json)

<a id="ID4E4D" />

##### 參考

[GameSession (JSON)](/zh-TW/reference/live/rest/json/json-gamesession)


## Related topics

- [XblMultiplayerManagerGameSessionPropertiesJson](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionpropertiesjson.md)
- [Get Multiplayer Session Logs By Session Id](/services/playfab/api-references/rest/multiplayer/multiplayer-server/get-multiplayer-session-logs-by-session-id.md)
