Retrieve
Tracking.Retrieve
Update
指定した条件に基づいてアカウントを取得します。
Retrieve(1)
| 序数 | 型 | 説明 | |
|---|---|---|---|
| 1 | string | 必須 | アカウントを検索するために使用する条件。フィルター式、またはフィルターと追加の検索パラメーターを含む JSON オブジェクトを使用します。 |
このサンプルコードは、指定されたフィルター条件に基づいてアカウントを取得します。
1var getAcct = Account.Retrieve({Property:"CustomerKey",SimpleOperator:"equals",Value:"MyAccount"});このサンプルコードは、適用可能なすべてのアカウントを照会し、フィルター条件に基づいてアカウントを取得します。
1var query = {};
2
3query.Filter = '{Property:"CustomerKey",SimpleOperator:"equals",Value:"MyAccount"}';
4query.QueryAllAccounts = true;
5
6var getAcct = Account.Retrieve(query);