コネクタの統合方法
コネクタに関連する構成の選択および品目をホスト・アプリケーションに戻すことができます。
RESTリソース
connectedItems RESTリソースを使用して、指定された構成から接続された品目を返すことができます。 connectedItemsリソースは、configurationsリソースの子です。 
- 
               ホスティング・アプリケーションは、コンフィギュレータRESTサービスを呼び出して、接続された品目を独立した明細として取得できます。 
- 
               コネクテッド品目は、見積りやOrder Managementなどの他のアプリケーションで統合を目的として、 configurationsリソースを介して取得できます。
- 
               個々の接続品目のランタイム属性(品目番号、単位、オーダー数量など)を取得できます。 
例
次のサンプルURLでは、configurationsリソースのconnectedItems子リソースを使用して、指定した構成に含まれるすべての接続済品目を含む出力ペイロードを取得します。 この例では、構成に2つの接続品目があります。 
            Copyhttps://vision.com/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItemsこれらは、出力ペイロードの主な対象オブジェクトです:
| 値の例 | オブジェクト名 | 説明 | 
|---|---|---|
| 300100185429818 | ConfigHeaderId | 構成ヘッダーID。 | 
| 300100185429819 | ConfigRevisionId | 構成改訂ID。 | 
| 300100185429818_300100185429819 | ConfigurationId | 構成のID。構成ヘッダーIDおよび構成改訂IDで構成されます。 これをリソースに渡して、接続された品目を返します。 | 
| 最初の接続品目の例 | - | - | 
| 300100185429862 | ConnectedItemId | 最初に接続された品目の接続された品目ID。 | 
| 300100181203985 | InventoryItemId | 最初に接続された品目のID。 | 
| 7YR_PTRAIN_WARR | InventoryItemNumber | 最初に接続された品目の品目名。 | 
| 2番目の接続品目の例 | - | - | 
| 300100185429864 | ConnectedItemId | 2つ目の接続済品目の接続済品目ID。 | 
| 300100181204014 | InventoryItemId | 2つ目の接続済品目のID。 | 
| WM_UTIL_TRLR | InventoryItemNumber | 2つ目の接続済品目の品目名。 | 
接続された品目に対して返されたJSON出力ペイロードを次に示します:
Copy{
  "items": [
    {
      "ConfigHeaderId": 300100185429818,
      "ConfigRevisionId": 300100185429819,
      "ConnectedItemId": 300100185429862,
      "ParentConfigLineId": 300100185429821,
      "InventoryItemId": 300100181203985,
      "InventoryItemNumber": "7YR_PTRAIN_WARR",
      "InventoryOrganizationId": 204,
      "InventoryOrganizationCode": "V1",
      "UomCode": "Ea",
      "InventoryItemType": 4,
      "Quantity": 1,
      "links": [
        {
          "rel": "self",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItems/300100185429862",
          "name": "connectedItems",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItems/300100185429862",
          "name": "connectedItems",
          "kind": "item"
        },
        {
          "rel": "parent",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819",
          "name": "configurations",
          "kind": "item"
        }
      ]
    },
    {
      "ConfigHeaderId": 300100185429818,
      "ConfigRevisionId": 300100185429819,
      "ConnectedItemId": 300100185429864,
      "ParentConfigLineId": 300100185429821,
      "InventoryItemId": 300100181204014,
      "InventoryItemNumber": "WM_UTIL_TRLR",
      "InventoryOrganizationId": 204,
      "InventoryOrganizationCode": "V1",
      "UomCode": "Ea",
      "InventoryItemType": 4,
      "Quantity": 1,
      "links": [
        {
          "rel": "self",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItems/300100185429864",
          "name": "connectedItems",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItems/300100185429864",
          "name": "connectedItems",
          "kind": "item"
        },
        {
          "rel": "parent",
          "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819",
          "name": "configurations",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 2,
  "hasMore": false,
  "limit": 25,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "https://vision.com:443/fscmRestApi/resources/11.13.18.05/configurations/300100185429818_300100185429819/child/connectedItems",
      "name": "connectedItems",
      "kind": "collection"
    }
  ]
}