すべてのアクティブアクセスを取得
To reduce the number of requests to the eSuite platform, there is the functionality available that allows you to search for all access the customer is entitled to. By searching for all active access, you are able to cache the result for a period of time using this information to check for access before refreshing against eSuite after this period has elapsed.
概要
UserEntitlementGetCurrent のAPIメソッドは、リクエスト時点で現在アクティブな顧客アカウントに対するすべてのエンタイトルメントを返すために使用されます。
情報 このメソッドはeSuiteのメータリングおよびエンタイトルメントのモジュールにも使用されます。
リクエスト
C#
[csharp]
using (var client = new eDeveloperClient())
{
var request = new UserEntitlementGetCurrentRequest
{
clientId = 433,
apiPassword = "sN?67oS=cE",
clientUserId = "061015_430_001"
};
{
var request = new UserEntitlementGetCurrentRequest
{
clientId = 433,
apiPassword = "sN?67oS=cE",
clientUserId = "061015_430_001"
};
var response = client.UserEntitlementGetCurrent(request);
}
[/csharp]
リクエストパラメータ
以下の表に、UserEntitlementGetCurrentに提供する引数、各設定の目的と効果を示します。また引数が必須かどうかも示しています。
| 名称 | データータイプ | 説明 | 必須か? | 値の例 |
|---|---|---|---|---|
| clientId | 整数 | eSuiteとのインテグレーションを識別するためにMPP Globalによって提供された一意の識別子 | Yes | 999 |
| apiPassword | 文字列 | MPPから発行された固有のパスワード。 | Yes | password123 |
| clientUserId | 文字列 | サードパーティのIDMソリューションとして使用される識別子。 guid が指定されている場合は不要です。 | Yes | 123456 |
| guid | 文字列 | 認証でのコールから得られたセッションID。 clientUserId が指定されている場合は不要です。 | Yes | aa93964627ac4819b0067c2454f90c14 |