機械翻訳について

作成

post

/fscmRestApi/resources/11.13.18.05/procurementApprovedSupplierListEntries/{procurementApprovedSupplierListEntriesUniqID}/child/DFF

リクエスト

パス・パラメータ
  • これは、調達承認済サプライヤ・リスト・エントリ・リソースの複合キーを構成し、調達承認済サプライヤ・リスト・エントリのインスタンスを一意に識別するために使用される属性のハッシュ・キーです。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントは、調達承認済サプライヤ・リスト・エントリの特定のインスタンスにナビゲートしてハッシュ・キーを取得するために、調達承認済サプライヤ・リスト・エントリ・コレクション・リソースを問い合せる必要があります。
ヘッダー・パラメータ
  • REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
  • RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
  • 次のいずれかの値が含まれます: trueまたはfalse。 trueの場合、サーバーは作成操作ではなくアップサート操作を実行します。 アップサート操作中、サーバーはペイロードに一致する既存のリソースを検索しようとします。 一致が見つかった場合、サーバーは新しいリソースを作成するのではなく、既存のリソースを更新します。 見つからないかfalse (デフォルト)の場合、サーバーは作成操作を実行します。 アップサート操作は有効日RESTリソースではサポートされていません。
サポートされているメディア・タイプ
リクエスト本文 - application/json ()
ルート・スキーマ : スキーマ
タイプ: object
ソースを表示
トップに戻る

レスポンス

サポートされているメディア・タイプ

デフォルトのレスポンス

次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
  • REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
  • RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
本文 ()
ルート・スキーマ : procurementApprovedSupplierListEntries-DFF-item-response
タイプ: object
ソースを表示
トップに戻る

この例では、承認済サプライヤ・リスト・エントリの付加フレックスフィールドを作成する方法について説明します。

cURLコマンドの例

次のcURLコマンドを使用して、RESTリソースに対するリクエストを送信します。

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/procurementApprovedSupplierListEntriesUniqID/child/DFF"

たとえば:

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100195443519/child/DFF"

リクエスト本文の例

次の例には、JSON形式のリクエスト本文のコンテンツが含まれます。 cURLコマンドの「リクエスト・ペイロード」は、リクエスト本文の例の内容に置き換えます。 リクエスト・ペイロードでは、コマンドが更新するレコードで使用される属性値を指定します。

{
  "ProcurementBU": "Vision Operations",
  "Supplier": "CV_SuppA01",
  "SupplierSite": "CVSuppA01Site01",
  "ShipToOrganization": "Vision Operations",
  "Item": "CM13139",
  "Status": "Approved",
  "PrimaryVendorItem": null,
  "ReviewDueDate": null,
  "DisableFlag": null,
  "Comments": null,
  "DFF":[{
      "_Approved__Supplier__List__Item__DF": "Inform them"
  }]
}

レスポンス本文の例

次の例には、レスポンス本文の内容がJSON形式で含まれます:

{
    "AslId": 300100578579034,
    "ProcurementBUId": 204,
    "ProcurementBU": "Vision Operations",
    "AslScopeCode": "SHIP_TO_ORG",
    "Scope": "Ship-to Organization",
    "ShipToOrganizationId": 204,
    "ShipToOrganization": "Vision Operations",
    "Item": "CM13139",
    "ItemId": 249,
    "Supplier": "CV_SuppA01",
    "SupplierId": 12,
    "SupplierSite": "CVSuppA01Site01",
    "SupplierSiteId": 2444,
    "PrimaryVendorItem": null,
    "Status": "Approved",
    "AslStatusId": 2,
    "ReviewDueDate": null,
    "DisableFlag": null,
    "Comments": null,
    "AslCreationDate": "2023-06-28T06:09:02.001+00:00",
    "PurchasingUOMCode": null,
    "PurchasingUOM": null,
    "CountryOfOriginCode": null,
    "CountryOfOrigin": null,
    "MinimumOrderQuantity": null,
    "FixedLotMultiple": null,
    "DFF": [
        {
            "AslId": 300100578579034,
            "_Approved__Supplier__List__Item__DF": "Inform them",
            "__FLEX_Context": null,
            "__FLEX_Context_DisplayValue": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034/child/DFF/300100578579034",
                    "name": "DFF",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034/child/DFF/300100578579034",
                    "name": "DFF",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034",
                    "name": "procurementApprovedSupplierListEntries",
                    "kind": "item"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034",
            "name": "procurementApprovedSupplierListEntries",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034",
            "name": "procurementApprovedSupplierListEntries",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100578579034/child/DFF",
            "name": "DFF",
            "kind": "collection"
        }
    ]
}
「トップに戻る」