> ## 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.

# PFInventoryGetTransactionHistoryAsync

> プレイヤーのトランザクション履歴を取得します。一度に最大 250 個のイベントを返せます。継続トークンを使用して結果をページ処理できます。

プレイヤーのトランザクション履歴を取得します。一度に最大 250 個のイベントを返せます。制限を超える結果を返す場合は、継続トークンを使用してページ処理できます。トランザクション履歴の取得は、プレイヤーのインベントリの取得よりも RPS 制限が低く、プレイヤー エンティティは 300 秒間に 30 リクエストまでに制限されています。

## 構文

```cpp theme={null}
HRESULT PFInventoryGetTransactionHistoryAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryGetTransactionHistoryRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFInventoryGetTransactionHistoryRequest\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryrequest)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Win32、Linux、および macOS で利用できます。指定されたエンティティおよびコレクションのトランザクション履歴を取得します。非同期タスクが完了したら、[PFInventoryGetTransactionHistoryGetResultSize](/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresultsize) と [PFInventoryGetTransactionHistoryGetResult](/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresult) を呼び出して結果を取得します。

## 要件

**ヘッダー:** PFInventory.h

## 関連項目

[PFInventory のメンバー](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryGetTransactionHistoryGetResult](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresult.md)
- [Services C API overview - PFInventory.h](/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryGetTransactionHistoryGetResultSize](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresultsize.md)
- [PFInventoryGetTransactionHistoryResponse](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryresponse.md)
- [PFInventoryGetTransactionHistoryRequest](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryrequest.md)
