機械翻訳について

1つのフレックスフィールドの更新

patch

/fscmRestApi/resources/11.13.18.05/suppliers/{SupplierId}/child/DFF/{VendorId}

リクエスト

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

レスポンス

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

デフォルトのレスポンス

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

この例では、フレックスフィールドの更新方法について説明します。

cURLコマンドの例

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

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

リクエスト本文の例

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

{
	"_Supplier__Primary__Detail": "Family owned",
	"_Supplier__Secondary__Detail": "Locally grown",
	"_Supplier__Profile__BI__Extender": "Procurement",
	"auttypePreferredCurrency": "EUR"
}

レスポンス本文の例

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

{
	"VendorId" : 300100184731456,
	"_Supplier__Primary__Detail" : "Family owned",
	"_Supplier__Secondary__Detail" : "Locally grown",
	"_Supplier__Profile__BI__Extender" : "Procurement",
	"rjchardff" : null,
	"rjNumberDff" : null,
	"rjDateDff" : null,
	"rjDatetimeDff" : null,
	"auttypeProfitLastYear" : null,
	"auttypeDateCertifiedByIso" : null,
	"auttypeLastShareMarketValueUpd" : null,
	"auttypePreferredCurrency" : "EUR",
	"suptypeYearEstablished" : null,
	"suptypeDateCertifiedByIso" : null,
	"suptypeLastShareMarketValueUpd" : null,
	"suptypePreferredCurrency" : null,
	"dffattFoDateHidden" : null,
	"autotypeCharInput" : null,
	"supptypeCharInput" : null,
	"supptypeNumInput" : null,
	"autotypeCharMcss" : "English",
	"supptypeCharMcss" : null,
	"supptypeNumMcss" : 3333001,
	"supptypeDatetimeInput" : null,
	"supptypeDateMcss" : null,
	"__FLEX_Context" : null,
	"__FLEX_Context_DisplayValue" : null,
	"links" : [ {
		"rel" : "self",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456",
		"name" : "DFF",
		"kind" : "item",
		"properties" : {
			"changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000001A78"
		}
	}, {
		"rel" : "canonical",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456",
		"name" : "DFF",
		"kind" : "item"
	}, {
		"rel" : "parent",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456",
		"name" : "suppliers",
		"kind" : "item"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO_supptypeDateMcss",
		"name" : "LVVO_supptypeDateMcss",
		"kind" : "collection"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO__Supplier__Profile__BI__Extender",
		"name" : "LVVO__Supplier__Profile__BI__Extender",
		"kind" : "collection"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO_autotypeCharMcss",
		"name" : "LVVO_autotypeCharMcss",
		"kind" : "collection"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO___FLEX_Context",
		"name" : "LVVO___FLEX_Context",
		"kind" : "collection"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO_supptypeNumMcss",
		"name" : "LVVO_supptypeNumMcss",
		"kind" : "collection"
	}, {
		"rel" : "lov",
		"href" : "https://servername/fscmRestApi/resources/version/suppliers/300100184731456/child/DFF/300100184731456/lov/LVVO_supptypeCharMcss",
		"name" : "LVVO_supptypeCharMcss",
		"kind" : "collection"
	} ]
}

「トップに戻る」