Update one value
/fscmRestApi/resources/11.13.18.05/supplierNegotiations/{supplierNegotiationsUniqID}/child/lines/{LineId}/child/lineAttributeGroups/{GroupId}/child/lineAttributes/{AttributeId}/child/acceptableResponseScoreValues/{ScoreId}
Request
-
AttributeId(required): number
Value that identifies the attribute.
-
GroupId(required): integer(int64)
Value that identifies the attribute group.
-
LineId(required): number
Value that uniquely identifies the negotiation line.
-
ScoreId(required): integer(int64)
Value that uniquely identifies the score.
-
supplierNegotiationsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Supplier Negotiations resource and used to uniquely identify an instance of Supplier Negotiations. The client should not generate the hash key value. Instead, the client should query on the Supplier Negotiations collection resource in order to navigate to a specific instance of Supplier Negotiations to get the hash key.
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
- application/json
object
-
FromDateResponseValue: string
(date)
Title:
From Date Response Value
Earliest date in a date range that the application uses to score each date attribute. -
FromNumberResponseValue: number
Title:
From Number Response Value
Lowest number in a number range that the application uses to score each number attribute. -
Score: number
Title:
Score
Score that the application assigns to each attribute response. -
TextResponseValue: string
Title:
Text Response Value
Maximum Length:240
Value that the application accepts for the attribute. Applies for text values. -
ToDateResponseValue: string
(date)
Title:
To Date Response Value
Most recent date in the date range that the application uses to score the attribute. This value is applicable for date values. -
ToNumberResponseValue: number
Title:
To Number Response Value
Highest number in the number range that the application uses to score the attribute. This value is applicable for numeric values.
Response
- application/json
Default Response
-
Metadata-Context(required):
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version(required):
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
object
-
AttributeId: number
Read Only:
true
Value that identifies the attribute. -
AttributeName: string
Read Only:
true
Description of the attribute. -
AuctionHeaderId: integer
(int64)
Read Only:
true
Value that uniquely identifies the negotiation. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the acceptable response score value. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the user created the acceptable response score value. -
FromDateResponseValue: string
(date)
Title:
From Date Response Value
Earliest date in a date range that the application uses to score each date attribute. -
FromNumberResponseValue: number
Title:
From Number Response Value
Lowest number in a number range that the application uses to score each number attribute. -
GroupName: string
Read Only:
true
Name of the attribute group. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date and time when the user most recently updated the acceptable response score value. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the acceptable response score value. -
Line: string
Read Only:
true
Number that identifies the negotiation line. -
LineDescription: string
Read Only:
true
Description of the negotiation line. -
LineId: number
Read Only:
true
Value that uniquely identifies the negotiation line. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Score: number
Title:
Score
Score that the application assigns to each attribute response. -
ScoreId: number
Read Only:
true
Value that uniquely identifies the score. -
TextResponseValue: string
Title:
Text Response Value
Maximum Length:240
Value that the application accepts for the attribute. Applies for text values. -
ToDateResponseValue: string
(date)
Title:
To Date Response Value
Most recent date in the date range that the application uses to score the attribute. This value is applicable for date values. -
ToNumberResponseValue: number
Title:
To Number Response Value
Highest number in the number range that the application uses to score the attribute. This value is applicable for numeric values.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
This example describes how to update a value.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/supplierNegotiations/AuctionHeaderId/child/lines/LineId/child/lineAttributeGroups/GroupId/child/lineAttributes/AttributeId/child/acceptableResponseScoreValues/ScoreId"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "FromNumberResponseValue": 1, "ToNumberResponseValue": 10, "TextResponseValue": null, "Score": 25 }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "AuctionHeaderId": 300100195048752, "LineId": 1, "AttributeId": 20, "ScoreId": 10, "FromDateResponseValue": null, "ToDateResponseValue": null, "FromNumberResponseValue": 2, "ToNumberResponseValue": 3, "TextResponseValue": null, "Score": 100, "CreationDate": "2020-05-28T18:28:23+00:00", "CreatedBy": "CLARE.JONES", "LastUpdateDate": "2020-05-28T18:28:23.422+00:00", "LastUpdatedBy": "CLARE.JONES", "links": [...] }