機械翻訳について

オファリングまたは機能領域のコードの検索

設定データのエクスポートまたはインポートのプロセスを自動化する前に、オファリングまたは機能領域のコードを検索する必要があります。 オファリングまたは機能領域の名前がわかっているが、コードがわからないとします。

このユースケースでは、リソースを使用してオファリングおよび機能領域コードを検索する方法を示します。 開始する前に、オファリングまたは機能領域の名前を準備しておく必要があります。

講義のコードの検索

次に、機能リソースを使用して、Order Managementオファリングのコードを検索するこの例を示します。

curl -i -u "<username>:<password>" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features?fields=FeatureName,FeatureCode,FeatureType&q=FeatureType='OFFERING';FeatureName LIKE 'Order Management'
応答ペイロードのサンプル
{
  "items" : [ {
    "FeatureName" : "Order Management",
    "FeatureCode" : "DOO_ORCHESTRATION",
    "FeatureType" : "OFFERING",
    "links" : [ {
      "rel" : "self",
      "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features/DOO_ORCHESTRATION",
      "name" : "features",
      "kind" : "item"
    }, {
      "rel" : "canonical",
      "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features/DOO_ORCHESTRATION",
      "name" : "features",
      "kind" : "item"
    } ]
  } ],
  "count" : 1,
  "hasMore" : false,
  "limit" : 25,
  "offset" : 0,
  "links" : [ {
    "rel" : "self",
    "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features",
    "name" : "features",
    "kind" : "collection"
  } ]
}

問合せによって返されるオファリング・コードはDOO_ORCHESTRATIONです。

機能領域コードの検索

次に、機能リソースを使用して、法的体系機能領域のコードを検索するこの例を示します。

curl -i -u "<username>:<password>" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features?fields=FeatureName,FeatureCode,FeatureType&q=FeatureType='FUNCTIONAL_AREA';FeatureName LIKE 'Legal Structures'
応答ペイロードのサンプル
{
  "items" : [ {
    "FeatureName" : "Legal Structures",
    "FeatureCode" : "ORA_ASK_LEGAL_STRUCTURES",
    "FeatureType" : "FUNCTIONAL_AREA",
    "links" : [ {
      "rel" : "self",
      "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features/ORA_EGP_CUSTOMER",
      "name" : "features",
      "kind" : "item"
    }, {
      "rel" : "canonical",
      "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features/ORA_EGP_CUSTOMER",
      "name" : "features",
      "kind" : "item"
    } ]
  } ],
  "count" : 1,
  "hasMore" : false,
  "limit" : 25,
  "offset" : 0,
  "links" : [ {
    "rel" : "self",
    "href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/features",
    "name" : "features",
    "kind" : "collection"
  } ]
}

問合せによって返される機能領域コードはORA_ASK_LEGAL_STRUCTURESです。

オファリングまたは機能領域のコードを取得したので、これらを使用してエクスポートまたはインポート・プロセスを自動化できます。 エクスポートまたはインポート・プロセスの自動化方法の詳細は、トピック「CSVファイル・パッケージのエクスポートおよびインポートの自動化」を参照してください。