ExternalServiceRegistration
ファイルのサフィックスおよびディレクトリの場所
ExternalServiceRegistration コンポーネントのサフィックスは .externalServiceRegistration で、externalServiceRegistrations フォルダに保存されます。
バージョン
ExternalServiceRegistration コンポーネントは、API バージョン 39.0 以降で使用できます。
項目
| 項目名 | データ型 | 説明 |
|---|---|---|
| description | string | 必須。サービスの作成時に定義��れた外部サービスの説明です。 |
| label | string | 外部サービスウィザードに表示されるサービス名。 |
| namedCredential | string | 必須。サービスに使用される指定ログイン情報の参照。 |
| schema | string | 必須。Interagent 形式での JSON スキーマのコンテンツ。Nillable。 |
| schemaType | string | 必須。スキーマの ID 形式 (InteragentHyperSchema)。Nillable |
| schemaUrl | string | 必須。サービスの登録時に定義されたスキーマ URL。パスは「/」で開始し、相対パスである必要があります。 |
| status | string | サービス登録が終了したか (完了)、否か (未完了) を示します。 |
宣言的なメタデータの定義のサンプル
外部信用度サービスを参照する ExternalServiceRegistration コンポーネントの例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<ExternalServicesRegistration xmlns="http://soap.sforce.com/2016/11/metadata">
3 <label>creditService</label>
4 <namedCredential>AcmeCreditService</namedCredential>
5 <schema>/schema</schema>
6 <schemaType>InteragentHyperSchema</schemaType>
7 <schemaUrl>http://interagent.github.io/interagent-hyper-schema</schemaUrl>
8 <status>complete</status>
9</ExternalServicesRegistration>