アカウントのプロフィールを表示
When building a customer self-care portal, your customers will want to understand what information is currently stored against their account. This then allows them to update any information that is no longer valid or up to date.
概要
お客様に表示できる情報を返すために呼び出す必要があるメソッドの名前は UserInfo です。このメソッドは、名前、メール、性別などの基本的な詳細情報から、保存されているアドレス指定、マスクされた支払いの詳細など、さまざまな情報を返します。
リクエスト
C#
[csharp]
using (eDeveloperClient client = new eDeveloperClient())
{
var request = new UserInfoRequest()
{
clientId = 433,
apiPassword = "sN?67oS=cE",
clientUserId = "2016_01_06_433",
};
{
var request = new UserInfoRequest()
{
clientId = 433,
apiPassword = "sN?67oS=cE",
clientUserId = "2016_01_06_433",
};
var response = client.UserInfo(request);
}
[/csharp]
リクエストパラメータ
次の表は、UserInfoに渡す必要がある引数、及び必須引数の識別を以下に示します。
| 名称 | データータイプ | 説明 | 必須か | 値の例 |
|---|---|---|---|---|
| ClientId | Integer | eSuiteとのインテグレーションを識別するために提供されたeSuiteの固有ID。 | Yes | 433 |
| ApiPassword | String | eSuiteへのアクセス用に発行された固有のパスワード。 | Yes | sN?67oS=cE |
| Guid | String | 認証でのコール得たセッションID | Yes* | 60218718c61146e38300b022d83c991f |
| ClientUserId | String | サードパーティの認証システムによってユーザーのアカウントに割り当てられた一意の識別子 | Yes* | 000001 |
| EmailAddress | String | eSuiteプラットフォームにお客様がアカウントを登録したアドレス | Yes* | john.smith@mppglobal.com |
*全てではありませんが、これらパラメーターのいずれか1つが必須です。