Create one default line attribute
post
/fscmRestApi/resources/11.13.18.05/supplierNegotiations/{supplierNegotiationsUniqID}/child/lineDefaultAttributeGroups/{GroupId}/child/lineDefaultAttributes
Request
Path Parameters
-
GroupId(required): integer(int64)
Value that identifies the default line attribute group.
-
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.
Header Parameters
-
Metadata-Context: string
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: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AttributeName: string
Title:
AttributeMaximum Length:4000Description of the default line attribute. -
DisplayTargetFlag: boolean
Title:
Display TargetMaximum Length:1Contains a value of true or false. If true, the supplier is allowed to view the default line attribute target value; if false, they aren't. The default is false. -
GroupName: string
Title:
GroupName of the default line attribute group. -
lineDefaultAcceptableResponseScoreValues: array
Response Values for Default Line Attribute
Title:
Response Values for Default Line AttributeInformation on score values corresponding to acceptable responses during line attribute scoring. -
ResponseType: string
Title:
Response TypeMaximum Length:80Specifies whether the response for the default line attribute is required. Valid values are required, optional, or not needed. Accepted values are defined in the lookup type PON_ATTRIBUTE_RESPONSE_TYPE. -
ResponseTypeCode: string
Title:
Response Type CodeMaximum Length:30Abbreviation that identifies whether the response for the default line attribute is required. Valid values are REQUIRED, OPTIONAL, and DISPLAY_ONLY. Accepted values are defined in the lookup type PON_ATTRIBUTE_RESPONSE_TYPE. -
TargetDateValue: string
(date)
Title:
Target Date ValueTarget value of the default line attribute, applicable to dates. -
TargetNumberValue: number
Title:
Target Number ValueTarget value for the default line attribute. This value is applicable for numbers. -
TargetTextValue: string
Title:
Target Text ValueMaximum Length:4000Target text or URL (Uniform Resource Locator) values of the default line attribute. -
ValueType: string
Title:
Value TypeMaximum Length:80Display name of the data type for the default line attribute response, such as text, number, date, or URL (Uniform Resource Locator). Accepted values are defined in the lookup type Attribute Value Type. -
ValueTypeCode: string
Title:
Value Type CodeMaximum Length:3Abbreviation identifying the type of value for the default line attribute response. Valid values are TXT, NUM, DAT, and URL. Accepted values are defined in the lookup type PON_AUCTION_ATTRIBUTE_TYPE. -
Weight: number
Title:
WeightImportance of the default line attribute relative to other default line attributes. The application uses this weight to calculate the line score.
Nested Schema : Response Values for Default Line Attribute
Type:
arrayTitle:
Response Values for Default Line AttributeInformation on score values corresponding to acceptable responses during line attribute scoring.
Show Source
Nested Schema : schema
Type:
Show Source
object-
FromDateResponseValue: string
(date)
Title:
From Date Response ValueEarliest date in the date range used by the application to score the attribute. Applicable for date values. -
FromNumberResponseValue: number
Title:
From Number Response ValueLowest number in the range used by the application to score the attribute. Applicable for numeric values. -
Score: number
Title:
ScoreScore assigned by the application to each attribute response. -
TextResponseValue: string
Title:
Text Response ValueMaximum Length:240Value accepted by the application for the attribute. Applies to text values. -
ToDateResponseValue: string
(date)
Title:
To Date Response ValueMost recent date in the date range used by the application to score the attribute. Applicable for date values. -
ToNumberResponseValue: number
Title:
To Number Response ValueHighest number in the range used by the application to score the attribute. Applicable for numeric values.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : supplierNegotiations-lineDefaultAttributeGroups-lineDefaultAttributes-item-response
Type:
Show Source
object-
AttributeId: number
Title:
Attribute IDRead Only:trueValue that identifies the default line attribute. -
AttributeName: string
Title:
AttributeMaximum Length:4000Description of the default line attribute. -
AuctionHeaderId: integer
(int64)
Title:
Auction Header IDRead Only:trueValue that uniquely identifies the negotiation. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the default line attribute. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate and time when the user created the default line attribute. -
DisplayTargetFlag: boolean
Title:
Display TargetMaximum Length:1Contains a value of true or false. If true, the supplier is allowed to view the default line attribute target value; if false, they aren't. The default is false. -
GroupId: integer
(int64)
Title:
Group IDRead Only:trueValue that identifies the default line attribute group. -
GroupName: string
Title:
GroupName of the default line attribute group. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueDate and time when the user last updated the default line attribute. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who last updated the default line attribute. -
lineDefaultAcceptableResponseScoreValues: array
Response Values for Default Line Attribute
Title:
Response Values for Default Line AttributeInformation on score values corresponding to acceptable responses during line attribute scoring. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ResponseType: string
Title:
Response TypeMaximum Length:80Specifies whether the response for the default line attribute is required. Valid values are required, optional, or not needed. Accepted values are defined in the lookup type PON_ATTRIBUTE_RESPONSE_TYPE. -
ResponseTypeCode: string
Title:
Response Type CodeMaximum Length:30Abbreviation that identifies whether the response for the default line attribute is required. Valid values are REQUIRED, OPTIONAL, and DISPLAY_ONLY. Accepted values are defined in the lookup type PON_ATTRIBUTE_RESPONSE_TYPE. -
TargetDateValue: string
(date)
Title:
Target Date ValueTarget value of the default line attribute, applicable to dates. -
TargetNumberValue: number
Title:
Target Number ValueTarget value for the default line attribute. This value is applicable for numbers. -
TargetTextValue: string
Title:
Target Text ValueMaximum Length:4000Target text or URL (Uniform Resource Locator) values of the default line attribute. -
ValueType: string
Title:
Value TypeMaximum Length:80Display name of the data type for the default line attribute response, such as text, number, date, or URL (Uniform Resource Locator). Accepted values are defined in the lookup type Attribute Value Type. -
ValueTypeCode: string
Title:
Value Type CodeMaximum Length:3Abbreviation identifying the type of value for the default line attribute response. Valid values are TXT, NUM, DAT, and URL. Accepted values are defined in the lookup type PON_AUCTION_ATTRIBUTE_TYPE. -
Weight: number
Title:
WeightImportance of the default line attribute relative to other default line attributes. The application uses this weight to calculate the line score.
Nested Schema : Response Values for Default Line Attribute
Type:
arrayTitle:
Response Values for Default Line AttributeInformation on score values corresponding to acceptable responses during line attribute scoring.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : supplierNegotiations-lineDefaultAttributeGroups-lineDefaultAttributes-lineDefaultAcceptableResponseScoreValues-item-response
Type:
Show Source
object-
AttributeId: number
Title:
Attribute IDRead Only:trueValue that identifies the default line attribute. -
AuctionHeaderId: integer
(int64)
Title:
Auction Header IDRead Only:trueValue that uniquely identifies the negotiation. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the response value for the default line attribute. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate and time when the user created the response value for the default line attribute. -
FromDateResponseValue: string
(date)
Title:
From Date Response ValueEarliest date in the date range used by the application to score the attribute. Applicable for date values. -
FromNumberResponseValue: number
Title:
From Number Response ValueLowest number in the range used by the application to score the attribute. Applicable for numeric values. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueDate and time when the user last updated the response value for the default line attribute. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who last updated the response value for the default line attribute. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Score: number
Title:
ScoreScore assigned by the application to each attribute response. -
ScoreId: number
Title:
Score IDRead Only:trueValue that uniquely identifies the score for the acceptable response of the default line attribute. -
TextResponseValue: string
Title:
Text Response ValueMaximum Length:240Value accepted by the application for the attribute. Applies to text values. -
ToDateResponseValue: string
(date)
Title:
To Date Response ValueMost recent date in the date range used by the application to score the attribute. Applicable for date values. -
ToNumberResponseValue: number
Title:
To Number Response ValueHighest number in the range used by the application to score the attribute. Applicable for numeric values.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- ReorderLineDefaultResponseValues
-
Parameters:
- AttributeId:
$request.path.AttributeId - GroupId:
$request.path.GroupId - supplierNegotiationsUniqID:
$request.path.supplierNegotiationsUniqID
Reorders response values for line attributes by inserting the source response value after the target response value. - AttributeId:
- lineDefaultAcceptableResponseScoreValues
-
Parameters:
- AttributeId:
$request.path.AttributeId - GroupId:
$request.path.GroupId - supplierNegotiationsUniqID:
$request.path.supplierNegotiationsUniqID
Information on score values corresponding to acceptable responses during line attribute scoring. - AttributeId: