要件レスポンス値の更新
patch
/fscmRestApi/resources/11.13.18.05/draftSupplierNegotiationResponses/{draftSupplierNegotiationResponsesUniqID}/child/sections/{SectionId}/child/requirements/{RequirementId}/child/responseValues/{RequirementValueId}
リクエスト
パス・パラメータ
- RequirementId(required): integer(int64)
このパラメータの値は、リソース品目を一意に識別するために使用されるキーのハッシュである可能性があります。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントはフィルタを使用してコレクション・リソースを問い合せ、特定のリソース品目にナビゲートする必要があります。 たとえば: products?q=InventoryItemId=
- RequirementValueId(required): integer(int64)
このパラメータの値は、リソース品目を一意に識別するために使用されるキーのハッシュである可能性があります。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントはフィルタを使用してコレクション・リソースを問い合せ、特定のリソース品目にナビゲートする必要があります。 たとえば: products?q=InventoryItemId=
- SectionId(required): integer(int64)
このパラメータの値は、リソース品目を一意に識別するために使用されるキーのハッシュである可能性があります。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントはフィルタを使用してコレクション・リソースを問い合せ、特定のリソース品目にナビゲートする必要があります。 たとえば: products?q=InventoryItemId=
- draftSupplierNegotiationResponsesUniqID(required): string
これは、ドラフト・サプライヤ・ネゴシエーション・レスポンス・リソースの複合キーを構成し、ドラフト・サプライヤ・ネゴシエーション・レスポンスのインスタンスを一意に識別するために使用される属性のハッシュ・キーです。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントは、ドラフト・サプライヤ・ネゴシエーション・レスポンスの特定のインスタンスに移動してハッシュ・キーを取得するために、ドラフト・サプライヤ・ネゴシエーション・レスポンス・コレクション・リソースを問い合せる必要があります。
ヘッダー・パラメータ
- Metadata-Context:
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version:
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
サポートされているメディア・タイプ
- application/json
ルート・スキーマ : スキーマ
タイプ:
ソースを表示
object-
attachments: array Attachments
タイトル:
Attachments添付リソースは、サプライヤ・ネゴシエーション・レスポンスのレスポンス添付を管理します。 -
IsSelectedFlag: boolean
タイトル:
Is Selected最大長:1次のいずれかの値が含まれます: trueまたはfalse。 trueの場合、複数選択単一選択または複数選択の複数選択要件でレスポンス値が選択されます。 falseの場合、レスポンスは選択されません。 -
ResponseValueDate: string (date)
タイトル:
Response Value Dateレスポンス・タイプが日付である要件のレスポンス値。 -
ResponseValueDateTime: string (date-time)
タイトル:
Response Value Date Timeレスポンス・タイプが日時である要件のレスポンス値。 -
ResponseValueNumber: number
タイトル:
Response Value Numberレスポンス・タイプが数値である要件のレスポンス値。 -
ResponseValueText: string
タイトル:
Response Value Text最大長:4000レスポンス・タイプがテキストである要件のレスポンス値。
ネストされたスキーマ : draftSupplierNegotiationResponses-sections-requirements-responseValues-attachments-item-patch-request
タイプ:
ソースを表示
object-
CategoryName: string
タイトル:
Category最大長:30添付のカテゴリ。 有効な値は、サプライヤ: 自、2段階封印見積依頼用、サプライヤ: 自です : 技術評価が進行中の場合、およびサプライヤから : 商用(商業評価の進行中)。 - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
タイトル:
Type最大長:30デフォルト値:FILEデータ型を識別する略語。 値には、FILE、FOLDER、TEXTまたはWEB_PAGEがあります。 -
Description: string
タイトル:
Description最大長:255添付の説明。 -
DmDocumentId: string
最大長:
255添付されたドキュメントを一意に識別する値。 -
DmFolderPath: string
タイトル:
Dm Folder Path最大長:1000添付のフォルダ・パス。 -
DmVersionNumber: string
最大長:
255添付文書のバージョンを識別する番号です。 -
DownloadInfo: string
タイトル:
DownloadInfo添付ファイルをプログラムで取得するために使用される情報を含む文字列として表されるJSONオブジェクト。 -
ErrorStatusCode: string
タイトル:
Error Status Code添付のエラー(ある場合)を識別する略称です。 -
ErrorStatusMessage: string
タイトル:
Error Status Message添付のエラー・メッセージのテキスト(存在する場合)。 -
ExpirationDate: string (date-time)
タイトル:
Expiration Date添付のコンテンツが失効する日付。 -
FileContents: string (byte)
タイトル:
File Contents添付ファイルの内容。 -
FileName: string
タイトル:
File Name最大長:2048添付のファイル名。 -
FileUrl: string
タイトル:
File Url添付ファイルのURL(Uniform Resource Locator)。 -
Title: string
タイトル:
Title添付のタイトル。 -
UploadedFileContentType: string
タイトル:
Uploaded File Content Type添付のコンテンツ・タイプ。 -
UploadedFileLength: integer
タイトル:
File Size添付ファイルの長さ。 -
UploadedFileName: string
タイトル:
Uploaded File Name添付ファイルの名前。 -
UploadedText: string
タイトル:
Uploaded Text添付のテキスト。 -
Uri: string
タイトル:
Uri最大長:4000添付ファイルを識別するURI (Uniform Resource Identifier)。 -
Url: string
タイトル:
Url最大長:4000添付ファイルを識別するURI (Uniform Resource Identifier)。
レスポンス
サポートされているメディア・タイプ
- application/json
デフォルトのレスポンス
次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
- Metadata-Context(required):
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version(required):
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
ルート・スキーマ : draftSupplierNegotiationResponses-sections-requirements-responseValues-item-response
タイプ:
ソースを表示
object-
attachments: array Attachments
タイトル:
Attachments添付リソースは、サプライヤ・ネゴシエーション・レスポンスのレスポンス添付を管理します。 -
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:64行を作成したユーザーを識別します。 -
CreationDate: string (date-time)
タイトル:
Creation Date読取り専用:true行の作成のタイムスタンプ。 -
IsSelectedFlag: boolean
タイトル:
Is Selected最大長:1次のいずれかの値が含まれます: trueまたはfalse。 trueの場合、複数選択単一選択または複数選択の複数選択要件でレスポンス値が選択されます。 falseの場合、レスポンスは選択されません。 -
LastUpdateDate: string (date-time)
タイトル:
Last Update Date読取り専用:trueユーザーがレスポンス値を最後に更新した日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:64直近にレスポンス値を更新したユーザー。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
QuestionId: integer (int64)
タイトル:
Question ID読取り専用:true質問の要件を一意に識別する値。 -
Requirement: string
タイトル:
Requirement読取り専用:true最大長:80要件の名前。 -
RequirementId: integer (int64)
タイトル:
Requirement ID読取り専用:true要件を一意に識別する値。 -
RequirementLevel: number
タイトル:
Requirement Level読取り専用:true要件が要件階層にあるレベル。 たとえば、1、2、3などのようにします。 レベル1の要件には、親としてセクションがあります。 レベル2以降は、受理可能なレスポンス・スコアが親である分岐要件を表します。 -
RequirementNumber: string
タイトル:
Requirement Number読取り専用:true最大長:80要件の順序を一意に識別する値。 -
RequirementValueId: integer (int64)
タイトル:
Requirement Value ID読取り専用:trueレスポンス値を一意に識別する値。 -
ResponseNumber: integer (int64)
タイトル:
Response Number読取り専用:true適用可能なスコアリングがない場合に要件レスポンス値を一意に識別する値。 これは、テキスト入力ボックス・レスポンスに適用されます。 -
ResponseValueDate: string (date)
タイトル:
Response Value Dateレスポンス・タイプが日付である要件のレスポンス値。 -
ResponseValueDateTime: string (date-time)
タイトル:
Response Value Date Timeレスポンス・タイプが日時である要件のレスポンス値。 -
ResponseValueNumber: number
タイトル:
Response Value Numberレスポンス・タイプが数値である要件のレスポンス値。 -
ResponseValueText: string
タイトル:
Response Value Text最大長:4000レスポンス・タイプがテキストである要件のレスポンス値。 -
ScoreDisplayNumber: string
タイトル:
Score Display Number読取り専用:true最大長:80スコア表示を一意に識別する値。 この値は、単一選択での複数選択または複数選択による複数選択を使用する要件ごとに設定されます。 また、数値、日付または日時要件に応答するレスポンスごとにこの値を設定します。 -
ScoreId: integer (int64)
タイトル:
Score ID読取り専用:trueレスポンスを一意に識別する値。 この値は、単一選択による複数選択または複数選択による複数選択レスポンス値に適用されます。 -
Section: string
タイトル:
Section読取り専用:true最大長:240要件セクションの名前。 -
SectionId: integer (int64)
タイトル:
Section ID読取り専用:trueセクションを一意に識別する値。 -
TargetDatetimeValue: string (date-time)
タイトル:
Target Date Time Value読取り専用:trueカテゴリ・マネージャによって設定されたターゲット値。 この値は日付と時間に適用されます。 -
TargetDateValue: string (date)
タイトル:
Target Date Value読取り専用:trueカテゴリ・マネージャによって設定されたターゲット値。 この値は日付に適用できます。 -
TargetNumberValue: number
タイトル:
Target Number Value読取り専用:trueカテゴリ・マネージャによって設定されたターゲット値。 この値は数値に適用できます。 -
TargetTextValue: string
タイトル:
Target Text Value読取り専用:true最大長:4000カテゴリ・マネージャによって設定されたターゲット値。 この値は、テキストまたはURL (Uniform Resource Locator)に適用できます。
ネストされたスキーマ : draftSupplierNegotiationResponses-sections-requirements-responseValues-attachments-item-response
タイプ:
ソースを表示
object-
AsyncTrackerId: string
タイトル:
Asynchronous Upload Tracker Idアップロードされたファイルのトラッキングに使用される識別子。 -
AttachedDocumentId: integer (int64)
タイトル:
Attached Document Id添付を一意に識別する値です。 これは、ユーザーがドキュメントを添付するときにアプリケーションが作成する主キーです。 -
CategoryName: string
タイトル:
Category最大長:30添付のカテゴリ。 有効な値は、サプライヤ: 自、2段階封印見積依頼用、サプライヤ: 自です : 技術評価が進行中の場合、およびサプライヤから : 商用(商業評価の進行中)。 - ContentRepositoryFileShared: boolean
-
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:255添付を作成したユーザー。 -
CreatedByUserName: string
タイトル:
Created By User Name読取り専用:trueネゴシエーションの添付を作成したユーザー。 -
CreationDate: string (date-time)
タイトル:
Creation Date読取り専用:trueユーザーが添付レコードを作成した日付。 -
DatatypeCode: string
タイトル:
Type最大長:30デフォルト値:FILEデータ型を識別する略語。 値には、FILE、FOLDER、TEXTまたはWEB_PAGEがあります。 -
Description: string
タイトル:
Description最大長:255添付の説明。 -
DmDocumentId: string
最大長:
255添付されたドキュメントを一意に識別する値。 -
DmFolderPath: string
タイトル:
Dm Folder Path最大長:1000添付のフォルダ・パス。 -
DmVersionNumber: string
最大長:
255添付文書のバージョンを識別する番号です。 -
DownloadInfo: string
タイトル:
DownloadInfo添付ファイルをプログラムで取得するために使用される情報を含む文字列として表されるJSONオブジェクト。 -
ErrorStatusCode: string
タイトル:
Error Status Code添付のエラー(ある場合)を識別する略称です。 -
ErrorStatusMessage: string
タイトル:
Error Status Message添付のエラー・メッセージのテキスト(存在する場合)。 -
ExpirationDate: string (date-time)
タイトル:
Expiration Date添付のコンテンツが失効する日付。 -
FileContents: string (byte)
タイトル:
File Contents添付ファイルの内容。 -
FileName: string
タイトル:
File Name最大長:2048添付のファイル名。 -
FileUrl: string
タイトル:
File Url添付ファイルのURL(Uniform Resource Locator)。 -
FileWebImage: string (byte)
タイトル:
File Web Image読取り専用:trueソースが変換可能なイメージの場合に、.png形式で表示されるファイルのBase64でエンコードされたイメージ。 -
LastUpdateDate: string (date-time)
タイトル:
Last Update Date読取り専用:trueユーザーが添付を最後に更新した日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:255添付を最後に更新したユーザー。 -
LastUpdatedByUserName: string
タイトル:
Last Updated By User読取り専用:trueネゴシエーションの添付の更新時にユーザーが使用したログインします。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
Title: string
タイトル:
Title添付のタイトル。 -
UploadedFileContentType: string
タイトル:
Uploaded File Content Type添付のコンテンツ・タイプ。 -
UploadedFileLength: integer
タイトル:
File Size添付ファイルの長さ。 -
UploadedFileName: string
タイトル:
Uploaded File Name添付ファイルの名前。 -
UploadedText: string
タイトル:
Uploaded Text添付のテキスト。 -
Uri: string
タイトル:
Uri最大長:4000添付ファイルを識別するURI (Uniform Resource Identifier)。 -
Url: string
タイトル:
Url最大長:4000添付ファイルを識別するURI (Uniform Resource Identifier)。 -
UserName: string
タイトル:
User Name読取り専用:true最大長:255添付の追加または変更時にユーザーが使用したサインイン詳細。
ネストされたスキーマ : リンク
タイプ:
ソースを表示
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.
リンク
- 添付
-
パラメータ:
- RequirementId:
$request.path.RequirementId - RequirementValueId:
$request.path.RequirementValueId - SectionId:
$request.path.SectionId - draftSupplierNegotiationResponsesUniqID:
$request.path.draftSupplierNegotiationResponsesUniqID
添付リソースは、サプライヤ・ネゴシエーション・レスポンスのレスポンス添付を管理します。 - RequirementId:
例
この例では、レスポンスID、セクションID、要件IDおよびレスポンス値IDを使用して要件のレスポンス値を更新する方法を説明します。
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/draftSupplierNegotiationResponses/draftSupplierNegotiationResponsesUniqID/child/sections/SectionId/child/requirements/RequirementId/child/responseValues/RequirementValueId"
たとえば:
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections/38273/child/requirements/51774/child/responseValues/70232"
リクエスト本文の例
次の例には、JSON形式のリクエスト本文のコンテンツが含まれます。 cURLコマンドの「リクエスト・ペイロード」は、リクエスト本文の例の内容に置き換えます。 リクエスト・ペイロードでは、コマンドが更新するレコードで使用される属性値を指定します。
{ "IsSelectedFlag": True
}
レスポンス本文の例
次の例には、レスポンス本文の内容がJSON形式で含まれます:
{
"ResponseNumber": 188755,
"SectionId": 38273,
"Section": "Business",
"RequirementId": 51774,
"RequirementNumber": "1.",
"Requirement": "Certifications",
"RequirementLevel": 1, "Requirement": "Certifications",
"RequirementLevel": 1,
"RequirementValueId": 70232,
"ScoreId": 28150,
"QuestionId": null,
"ScoreDisplayNumber": "a.",
"ResponseValueText": "ISO 9002",
"ResponseValueNumber": null,
"ResponseValueDate": null,
"ResponseValueDateTime": null,
"IsSelectedFlag": true,
"TargetTextValue": null,
"TargetNumberValue": null,
"TargetDateValue": null,
"TargetDatetimeValue": null,
"CreatedBy": "CVSUPPB01",
"CreationDate": "2022-10-05T03:26:47+00:00",
"LastUpdateDate": "2022-10-05T04:06:27.004+00:00",
"LastUpdatedBy": "CVSUPPB01",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections/38273/child/requirements/47701/child/responseValues/46267",
"name": "responseValues",
"kind": "item",
"properties": {
"changeIndicator": ". . ."
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections/38273/child/requirements/47701/child/responseValues/46267",
"name": "responseValues",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections/38273/child/requirements/47701",
"name": "requirements",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections/38273/child/requirements/47701/child/responseValues/46267/child/attachments",
"name": "attachments",
"kind": "collection"
}
]
}