すべての値の取得
get
/fscmRestApi/resources/11.13.18.05/supplierNegotiations/{supplierNegotiationsUniqID}/child/sections/{SectionId}/child/requirements/{RequirementId}/child/acceptableResponseScoreValues
リクエスト
パス・パラメータ
- RequirementId(required): integer(int64)
要件を一意に識別する値。
- SectionId(required): integer(int64)
セクションを一意に識別する値。
- supplierNegotiationsUniqID(required): string
これは、サプライヤ・ネゴシエーション・リソースの複合キーを構成し、サプライヤ・ネゴシエーションのインスタンスを一意に識別するために使用される属性のハッシュ・キーです。 クライアントはハッシュ・キー値を生成しないでください。 かわりに、クライアントは、ハッシュ・キーを取得するためにサプライヤ・ネゴシエーションの特定のインスタンスにナビゲートするために、サプライヤ・ネゴシエーション収集リソースを問い合せる必要があります。
問合せパラメータ
- dependency: string
このパラメータは、レスポンスの生成後に設定およびロールバックされるフィールドである依存関係を指定します。 通常、これらは属性変更の影響をプレビューするために使用されます。 このパラメータで指定されたフィールドは、常に問題のリソース・インスタンスで設定されます。 子リソース・コレクションがリクエストされ、パラメータが設定されると、リソース・コレクション・ペイロードを生成する前に、親リソース・インスタンスにフィールドが設定されます。 この問合せパラメータの値は、依存性フィールドのセットです。 例: dependency=ProductId=2
フォーマット: <attr1>=<val1>,<attr2>=<value2> - expand: string
このパラメータを指定すると、指定した子がリソース・ペイロードに含まれます(リンクのみでなく)。 この問合せパラメータの値は"all"または""です。 カンマをセパレータとして使用して、複数の子を指定できます。 例: ?expand=Employees,Localizations. ネストされた子は、"Child.NestedChild"の書式に従って指定することもできます(例): ?expand=Employees.Managers). ネストされた子が指定されている場合(例): Employees.Managers)。欠落している子は暗黙的に処理されます。 たとえば、"?expand=Employees.Managers"は"?expand=Employees、Employees.Managers"と同じです(これにより、従業員とマネージャが展開されます)。
- fields: string
このパラメータは、リソース・フィールドをフィルタします。 指定されたフィールドのみが返されます。つまり、フィールドが指定されていない場合、フィールドは返されません(リンクのみを取得する場合に便利です)。 間接子リソースが指定されている場合(例): Employees.Managers)。欠落している子は暗黙的に処理されます。 たとえば、"?fields=Employees.Managers:Empname"は"?fields=;Employees:;Employees.Managers:Empname" (これはマネージャの"Empname"フィールドのみを返す)と同じです。この問合せパラメータの値は、リソース・フィールドのリストです。 属性は直接にすることができます(例): 従業員または間接(例): Employees.Managers) child. 拡張問合せパラメータと組み合せることはできません。 両方を指定した場合、フィールドのみが考慮されます。
フォーマット : ?fields=Attribute1,Attribute2
子リソースのフィールドの書式 : ?fields=Accessor1:Attribute1,Attribute2 - finder: string
コレクションを検索するための事前定義済ファインダとして使用されます。
フォーマット : ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
使用可能なファインダ名および対応するファインダ変数を次に示します:- PrimaryKey: 主キーに従って、サプライヤ・ネゴシエーション要件の一意のスコアを検索します。 主キーはScoreIdです。
ファインダ変数:- ScoreId; integer; スコアを一意に識別する値。
- PrimaryKey: 主キーに従って、サプライヤ・ネゴシエーション要件の一意のスコアを検索します。 主キーはScoreIdです。
- limit: integer
このパラメータは、リソース・コレクション内で返されるリソースの数を制限します。 制限がリソース数を超えると、フレームワークは使用可能なリソースのみを返します。
- links: string
このパラメータは、単一のリソースまたはリソース・コレクションへのアクセス中に特定のリンクのみを表示するために使用できます。 パラメータ値書式は、次のカンマ区切りリストです : <link_relation>
例:
self,canonical
- offset: integer
リソース・コレクションの開始位置を定義するために使用します。 オフセットがリソース数を超えると、リソースは返されません。 デフォルト値は0です。
- onlyData: boolean
データのみを含めるために(リンク・セクションなしなど)、リソース品目ペイロードがフィルタ処理されます。
- orderBy: string
このパラメータは、指定されたフィールドに基づいてリソース・コレクションを順序付けます。 パラメータ値は、属性名のカンマ区切りの文字列で、それぞれオプションでコロンと「asc」または「desc」が続きます。 昇順の場合は「asc」、降順の場合は「desc」を指定します。 デフォルト値は「asc」です。 たとえば、?orderBy=field1:asc,field2:desc
- q: string
この問合せパラメータは、where句を定義します。 リソース・コレクションは、指定された式を使用して問い合せられます。 この問合せパラメータの値は、1つ以上の式です。 例 : ?q=部門番号>=10および<= 30;事業所=NY
フォーマット : ?q=expression1;expression2
次の問合せ可能な属性を使用して、q問合せパラメータを使用してこの収集リソースをフィルタできます:
- ScoreId; integer; スコアを一意に識別する値。
- SectionId; integer; セクションを一意に識別する値。
- totalResults: boolean
"?totalResults=true"の場合、リソース・コレクション表現には"推定行数"が含まれます。それ以外の場合、カウントは含まれません。 デフォルト値はfalseです。
ヘッダー・パラメータ
- Metadata-Context:
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version:
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
この操作にはリクエスト本文がありません。
トップに戻るレスポンス
サポートされているメディア・タイプ
- application/json
デフォルトのレスポンス
次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
- Metadata-Context(required):
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 たとえば: Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version(required):
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
ルート・スキーマ : supplierNegotiations-sections-requirements-acceptableResponseScoreValues
タイプ:
ソースを表示
object-
count(required): integer
現在の範囲内で返されるリソース・インスタンス数。
-
hasMore(required): boolean
サーバーで使用可能なリソースが、レスポンスで返されたサブセットより多いかどうかを示します。 値がtrueの場合、サーバーから取得するリソースが増えます。 デフォルト値はfalseです。
-
items: array Items
タイトル:
Itemsコレクション内の品目。 -
limit(required): integer
サーバーで使用される実際のページング・サイズ。
-
links(required): array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
offset(required): integer
現在のページで使用されるオフセット値。
-
totalResults: integer
"?totalResults=true"の場合、推定行数は含まれません。
ネストされたスキーマ : supplierNegotiations-sections-requirements-acceptableResponseScoreValues-item-response
タイプ:
ソースを表示
object-
AttachmentsFromSuppliers: string
タイトル:
Attachments from Suppliers最大長:80各サプライヤ添付の要件。 値には、不許可、オプションまたは必須があります。 使用可能な値のリストは、参照タイプPON_REQ_ALLOW_ATTACHMENTで定義されます。 -
AttachmentsFromSuppliersCode: string
タイトル:
Attachments from Suppliers Code最大長:30各サプライヤ添付の要件を一意に識別する略称です。 値には、不許可、オプションまたは必須があります。 使用可能な値のリストは、参照タイプPON_REQ_ALLOW_ATTACHMENTで定義されます。 -
CreatedBy: string
読取り専用:
true最大長:64受理可能なレスポンス・スコア値を作成したユーザー。 -
CreationDate: string (date-time)
読取り専用:
trueユーザーが受理可能なレスポンス・スコア値を作成した日時。 -
DateFromRange: string (date)
タイトル:
Date from Range値の範囲内の開始日。 日付属性に適用されます。 -
DateTimeFromRange: string (date-time)
タイトル:
Date Time from Range値の範囲内の開始日時。 日付と時間の属性に適用されます。 -
DateTimeToRange: string (date-time)
タイトル:
Date Time to Range値の範囲の終了日時。 日付と時間の属性に適用されます。 -
DateToRange: string (date)
タイトル:
Date to Range値の範囲の終了日。 日付属性に適用されます。 -
LastUpdateDate: string (date-time)
読取り専用:
trueユーザーが受理可能なレスポンス・スコア値を最後に更新した日時。 -
LastUpdatedBy: string
読取り専用:
true最大長:64受理可能なレスポンス・スコア値を最後に更新したユーザー。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
NoResponseFlag: boolean
読取り専用:
true最大長:1次のいずれかの値が含まれます: trueまたはfalse。 trueの場合、オプション要件に応答しない各サプライヤにスコアを割り当てることを許可します。 falseの場合、許可しません。 デフォルト値はfalseです。 -
NumberFromRange: number
タイトル:
Number from Range値の範囲内の最小数。 数値属性に適用されます。 -
NumberToRange: number
タイトル:
Number to Range値の範囲内の最大値。 数値属性に適用されます。 -
RequirementId: integer (int64)
読取り専用:
true要件を一意に識別する値。 -
Score: number
タイトル:
Scoreアプリケーションが各属性レスポンスに割り当てるスコア。 -
ScoreDisplayNumber: string
読取り専用:
true最大長:80スコア表示を一意に識別する値。 この値は、単一選択での複数選択または複数選択による複数選択を使用する要件ごとに設定されます。 また、数値、日付または日時要件に応答するレスポンスごとにこの値を設定します。 -
ScoreId: integer (int64)
読取り専用:
trueスコアを一意に識別する値。 -
Section: string
タイトル:
Section読取り専用:true要件セクションの名前。 -
SectionId: integer (int64)
読取り専用:
trueセクションを一意に識別する値。 -
TargetFlag: boolean
最大長:
1次のいずれかの値が含まれます: trueまたはfalse。 trueの場合、アプリケーションが要件のターゲット・レスポンス値として受け入れられる値を設定します。 falseの場合、設定しません。 デフォルト値はfalseです。 -
TextValue: string
タイトル:
Text Response Value最大長:1000ユーザーが入力した値。 この値はテキスト値に適用できます。
ネストされたスキーマ : リンク
タイプ:
ソースを表示
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.
例
この例では、すべての値を取得する方法について説明します。
cURLコマンドの例
次のcURLコマンドを使用して、RESTリソースに対するリクエストを送信します:
curl -u username:password "https://servername/fscmRestApi/resources/version/supplierNegotiations/{AuctionHeaderId}/child/sections/{SectionId}/child/requirements/{RequirementId}/child/acceptableResponseScoreValues"
レスポンス本文の例
JSON形式のレスポンス本文の例を次に示します。
{
"items": [
{
"RequirementId": 24705,
"ScoreId": 9106,
"ScoreDisplayNumber": "a.",
"TextValue": "4 GB",
"NumberFromRange": null,
"NumberToRange": null,
"DateFromRange": null,
"DateToRange": null,
"DateTimeFromRange": null,
"DateTimeToRange": null,
"AttachmentsFromSuppliers": "Not allowed",
"AttachmentsFromSuppliersCode": "NOT_ALLOWED",
"Score": null,
"TargetFlag": false,
"NoResponseFlag": false,
"CreatedBy": "CVBUYER01",
"CreationDate": "2018-06-28T10:46:24+00:00",
"LastUpdateDate": "2018-06-28T11:27:25.687+00:00",
"LastUpdatedBy": "CVBUYER01",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9106",
"name": "acceptableResponseScoreValues",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9106",
"name": "acceptableResponseScoreValues",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705",
"name": "requirements",
"kind": "item"
}
]
},
{
"RequirementId": 24705,
"ScoreId": 9107,
"ScoreDisplayNumber": "b.",
"TextValue": "8 GB",
"NumberFromRange": null,
"NumberToRange": null,
"DateFromRange": null,
"DateToRange": null,
"DateTimeFromRange": null,
"DateTimeToRange": null,
"AttachmentsFromSuppliers": "Not allowed",
"AttachmentsFromSuppliersCode": "NOT_ALLOWED",
"Score": null,
"TargetFlag": false,
"NoResponseFlag": false,
"CreatedBy": "CVBUYER01",
"CreationDate": "2018-06-28T10:46:24+00:00",
"LastUpdateDate": "2018-06-28T11:27:25.693+00:00",
"LastUpdatedBy": "CVBUYER01",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9107",
"name": "acceptableResponseScoreValues",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9107",
"name": "acceptableResponseScoreValues",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705",
"name": "requirements",
"kind": "item"
}
]
},
{
"RequirementId": 24705,
"ScoreId": 9108,
"ScoreDisplayNumber": "c.",
"TextValue": "16 GB",
"NumberFromRange": null,
"NumberToRange": null,
"DateFromRange": null,
"DateToRange": null,
"DateTimeFromRange": null,
"DateTimeToRange": null,
"AttachmentsFromSuppliers": "Not allowed",
"AttachmentsFromSuppliersCode": "NOT_ALLOWED",
"Score": null,
"TargetFlag": false,
"NoResponseFlag": false,
"CreatedBy": "CVBUYER01",
"CreationDate": "2018-06-28T10:46:24+00:00",
"LastUpdateDate": "2018-06-28T11:27:25.699+00:00",
"LastUpdatedBy": "CVBUYER01",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9108",
"name": "acceptableResponseScoreValues",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9108",
"name": "acceptableResponseScoreValues",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705",
"name": "requirements",
"kind": "item"
}
]
},
{
"RequirementId": 24705,
"ScoreId": 9109,
"ScoreDisplayNumber": "d.",
"TextValue": "Less than 4 GB",
"NumberFromRange": null,
"NumberToRange": null,
"DateFromRange": null,
"DateToRange": null,
"DateTimeFromRange": null,
"DateTimeToRange": null,
"AttachmentsFromSuppliers": "Not allowed",
"AttachmentsFromSuppliersCode": "NOT_ALLOWED",
"Score": null,
"TargetFlag": false,
"NoResponseFlag": false,
"CreatedBy": "CVBUYER01",
"CreationDate": "2018-06-28T10:46:24+00:00",
"LastUpdateDate": "2018-06-28T11:27:25.704+00:00",
"LastUpdatedBy": "CVBUYER01",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9109",
"name": "acceptableResponseScoreValues",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues/9109",
"name": "acceptableResponseScoreValues",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705",
"name": "requirements",
"kind": "item"
}
]
}
],
"count": 4,
"hasMore": false,
"limit": 10,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/sections/11275/child/requirements/24705/child/acceptableResponseScoreValues",
"name": "acceptableResponseScoreValues",
"kind": "collection"
}
]
}