更新
patch
/fscmRestApi/resources/11.13.18.05/procurementApprovedSupplierListEntries/{procurementApprovedSupplierListEntriesUniqID}/child/DFF/{AslId}
リクエスト
パス・パラメータ
- AslId(required): integer(int64)
このパラメータの値は、リソース品目を一意に識別するために使用されるキーのハッシュである可能性があります。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントはフィルタを使用してコレクション・リソースを問い合せ、特定のリソース品目にナビゲートする必要があります。 たとえば: products?q=InventoryItemId=
- procurementApprovedSupplierListEntriesUniqID(required): string
これは、調達承認済サプライヤ・リスト・エントリ・リソースの複合キーを構成し、調達承認済サプライヤ・リスト・エントリのインスタンスを一意に識別するために使用される属性のハッシュ・キーです。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントは、調達承認済サプライヤ・リスト・エントリの特定のインスタンスにナビゲートしてハッシュ・キーを取得するために、調達承認済サプライヤ・リスト・エントリ・コレクション・リソースを問い合せる必要があります。
ヘッダー・パラメータ
- Metadata-Context:
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version:
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
サポートされているメディア・タイプ
- application/json
ルート・スキーマ : スキーマ
タイプ:
ソースを表示
object-
__FLEX_Context: string
タイトル:
Context Prompt最大長:30 -
__FLEX_Context_DisplayValue: string
タイトル:
Context Prompt
レスポンス
サポートされているメディア・タイプ
- application/json
デフォルトのレスポンス
次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
- Metadata-Context(required):
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version(required):
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
ルート・スキーマ : procurementApprovedSupplierListEntries-DFF-item-response
タイプ:
ソースを表示
object-
__FLEX_Context: string
タイトル:
Context Prompt最大長:30 -
__FLEX_Context_DisplayValue: string
タイトル:
Context Prompt -
AslId: integer (int64)
-
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。
ネストされたスキーマ : リンク
タイプ:
ソースを表示
object-
href: string
タイトル:
hyperlink reference関連リソースへのURI。 -
kind: string
タイトル:
kind許可された値:[ "collection", "item", "describe", "other" ]関連リソースの種類。 -
name: string
タイトル:
name関連リソースへのリンクの名前。 -
properties: object properties
-
rel: string
タイトル:
relation許可された値:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]リソース・インスタンスとの関係の名前。 例: self.
リンク
- LVVO_V___FLEX_Context
-
パラメータ:
- ファインダ:
ValidValuesFinder%3BBind_ApplicationId%3D201%2CBind_DescriptiveFlexfieldCode%3DPO_APPROVED_SUPPLIER_LIST
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: __FLEX_Context_DisplayValue;ターゲット属性: 名前
- 表示属性: 名前、説明
- ファインダ:
- LVVO___FLEX_Context
-
パラメータ:
- ファインダ:
ValidValuesFinder%3BBind_ApplicationId%3D201%2CBind_DescriptiveFlexfieldCode%3DPO_APPROVED_SUPPLIER_LIST
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: __FLEX_Context;ターゲット属性: ContextCode
- 表示属性: 名前
- ファインダ:
例
この例では、承認済サプライヤ・リスト・エントリの付加フレックスフィールドを更新する方法について説明します。
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/procurementApprovedSupplierListEntries/procurementApprovedSupplierListEntriesUniqID/child/DFF/AslId"
リクエスト本文の例
次の例には、JSON形式のリクエスト本文のコンテンツが含まれます。 cURLコマンドの「リクエスト・ペイロード」は、リクエスト本文の例の内容に置き換えます。 リクエスト・ペイロードでは、コマンドが更新するレコードで使用される属性値を指定します。
{
"PrimaryVendorItem": null,
"Status": "Approved",
"AslStatusId": 2,
"ReviewDueDate": null,
"DisableFlag": false,
"Comments": null,
"PurchasingUOMCode": "Ea",
"PurchasingUOM": "Each",
"CountryOfOriginCode": "US",
"CountryOfOrigin": "United States",
"MinimumOrderQuantity": 2,
"FixedLotMultiple": 4,
"DFF": [
{
"_Approved__Supplier__List__Item__DF": "Labels",
"__FLEX_Context": null
}
]
}
レスポンス本文の例
次の例には、レスポンス本文の内容がJSON形式で含まれます:
{
"AslId": 300100008160745,
"ProcurementBUId": 204,
"ProcurementBU": "Vision Operations",
"AslScopeCode": "GLOBAL",
"Scope": "Global",
"ShipToOrganizationId": -1,
"ShipToOrganization": null,
"Item": "CM13139",
"ItemId": 249,
"Supplier": "CV_SuppA01",
"SupplierId": 12,
"SupplierSite": "CVSuppA01Site01",
"SupplierSiteId": 2444,
"PrimaryVendorItem": null,
"Status": "Approved",
"AslStatusId": 2,
"ReviewDueDate": null,
"DisableFlag": false,
"Comments": null,
"AslCreationDate": "2012-04-24T15:58:33.432-07:00",
"PurchasingUOMCode": "Ea",
"PurchasingUOM": "Each",
"CountryOfOriginCode": "US",
"CountryOfOrigin": "United States",
"MinimumOrderQuantity": 2,
"FixedLotMultiple": 4,
"DFF": {
"items": [
{
"AslId": 300100008160745,
"_Approved__Supplier__List__Item__DF": "Labels",
"__FLEX_Context": null,
"__FLEX_Context_DisplayValue": null,
"@context": {
"key": "300100008160745",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745/child/DFF/300100008160745",
"name": "DFF",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745/child/DFF/300100008160745",
"name": "DFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745",
"name": "procurementApprovedSupplierListEntries",
"kind": "item"
}
]
}
}
],
"count": 1,
"hasMore": false,
"limit": 24,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745/child/DFF",
"name": "DFF",
"kind": "collection"
}
]
},
"@context": {
"key": "300100008160745",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745",
"name": "procurementApprovedSupplierListEntries",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745",
"name": "procurementApprovedSupplierListEntries",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/procurementApprovedSupplierListEntries/300100008160745/child/DFF",
"name": "DFF",
"kind": "collection"
}
]
}
}