Update a line
patch
/fscmRestApi/resources/11.13.18.05/externalPurchasePrices/{HeaderId}/child/lines/{LineId}
Request
Path Parameters
-
HeaderId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
LineId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CancelledFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the external purchase prices are canceled. If false, then the external purchase prices are active. The default value is false. -
InventoryItemId: integer
(int64)
Unique identifier representing the master item.
-
ObjectVersionNumber: integer
(int32)
Number of times the external purchase price line has been updated.
-
SelectionEnabledFlag: boolean
Maximum Length:
1Contains one of these values: true or false. If true, then the line is eligible for selection. If false, then line isn't enabled for selection. The default value is true. -
UserSelectedFlag: boolean
Maximum Length:
1Contains one of these values: true or false. If true, then the line is selected by the user for creating purchase agreements. If false, then the line isn't selected by the user. The default value is false. -
ValidationOrgId: integer
(int64)
Unique identifier representing the item validation organization.
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 : externalPurchasePrices-lines-item-response
Type:
Show Source
object-
AdjustedPrice: number
Read Only:
trueValue of the unit price after adjustment. -
AdjustmentPercentage: number
Read Only:
truePercent value by which the base price is adjusted. -
CancelledFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the external purchase prices are canceled. If false, then the external purchase prices are active. The default value is false. -
HeaderId: integer
(int64)
Read Only:
trueValue that uniquely identifies the external purchase prices. -
InventoryItemId: integer
(int64)
Unique identifier representing the master item.
-
ItemDescription: string
Read Only:
trueMaximum Length:240Description of the item. -
ItemNumber: string
Read Only:
trueMaximum Length:300Number that uniquely identifies the item. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the external purchase price line record. -
LineEndDate: string
(date)
Read Only:
trueValue that uniquely identifies the external purchase price line. -
LineId: integer
(int64)
Number that uniquely identifies the external purchase price line.
-
LineNumber: integer
(int64)
Read Only:
trueDate when the price becomes ineffective. -
LineStartDate: string
(date)
Read Only:
trueDate when the price becomes effective. -
LineStatus: string
Title:
MeaningRead Only:trueMaximum Length:80Status of the external purchase price line. -
LineStatusCode: string
Read Only:
trueMaximum Length:255Abbreviation that identifies status of the external purchase price line. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ManufacturerPartNumber: string
Read Only:
trueMaximum Length:700Number that uniquely identifies the manufacturer part. -
ObjectVersionNumber: integer
(int32)
Number of times the external purchase price line has been updated.
-
Price: number
Read Only:
trueValue of the unit price before adjustment. -
PurchaseAgreementFlag: boolean
Read Only:
trueMaximum Length:1Contains one of the following values: true or false. If true, then a purchase agreement line is created for the line. If false, then a purchase agreement line isn't created for the line. The default value is false. -
PurchaseAgreementNumber: string
Read Only:
trueMaximum Length:255Number that uniquely identifies the purchase agreement. -
PurchasingCategoryId: integer
(int64)
Read Only:
trueValue that uniquely identifies the purchasing category. -
PurchasingCategoryName: string
Read Only:
trueMaximum Length:2400Name of the purchasing category. -
SelectionEnabledFlag: boolean
Maximum Length:
1Contains one of these values: true or false. If true, then the line is eligible for selection. If false, then line isn't enabled for selection. The default value is true. -
SupplierPartNumber: string
Read Only:
trueMaximum Length:300Number that uniquely identifies the supplier part. -
UnitOfMeasure: string
Title:
UOM NameRead Only:trueMaximum Length:25Name of the unit of measure. -
UOMCode: string
Read Only:
trueMaximum Length:3Abbreviation that identifies the unit of measure. -
UpdateFlag: boolean
Read Only:
trueMaximum Length:1Contains one of the following values: true or false. If true, then an unprocessed update exists for the line. If false, then there are no unprocessed updates for the line. The default value is false. -
UserSelectedFlag: boolean
Maximum Length:
1Contains one of these values: true or false. If true, then the line is selected by the user for creating purchase agreements. If false, then the line isn't selected by the user. The default value is false. -
ValidatedFlag: boolean
Read Only:
trueMaximum Length:1Contains one of the following values: true or false. If true, then the line is validated by the Import Purchase Agreements from External Purchase Prices process. If false, then the line isn't validated. The default value is true. -
ValidationOrgId: integer
(int64)
Unique identifier representing the item validation organization.
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.