Update a line
patch
/fscmRestApi/resources/11.13.18.05/externalPurchasePricesRequests/{InterfaceHeaderId}/child/lines/{InterfaceLineId}
Request
Path Parameters
-
InterfaceHeaderId(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=
-
InterfaceLineId(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: 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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
Action: string
Maximum Length:
25Action to perform on the lines. Valid values include CREATE, UPDATE, or CANCEL. This is a mandatory attribute. -
AdjustedPrice: number
Value of the unit price after adjustment.
-
AdjustmentPercentage: number
Value by which the base price is adjusted.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
ItemDescription: string
Maximum Length:
240Description of the item. -
ItemNumber: string
Maximum Length:
300Number that uniquely identifies the item. -
LineNumber: integer
(int64)
Number that uniquely identifies the external purchase prices line.
-
ManufacturerPartNumber: string
Maximum Length:
700Number that uniquely identifies the manufacturer part. -
ManufacturerTradingPartnerItemId: integer
(int64)
Value that uniquely identifies the manufacturer part.
-
Price: number
Value of the unit price before adjustment.
-
PriceEndDate: string
(date)
Date when the price becomes effective.
-
PriceStartDate: string
(date)
Date when the price becomes ineffective.
-
PurchasingCategoryCode: string
Maximum Length:
820Abbreviation that identifies the purchasing category of the manufacturer part. -
PurchasingCategoryId: integer
(int64)
Value that uniquely identifies the purchasing category.
-
SourcePurchasingCategory: string
Maximum Length:
700Name of the purchasing category of the manufacturer. -
SourceReferenceId: string
Maximum Length:
30Value that uniquely identifies the external purchase prices in the source system. -
SourceUnitOfMeasure: string
Maximum Length:
25Name of the source unit of measure. -
SourceUOMQuantity: number
Quantity of the source unit of measure.
-
UnitOfMeasure: string
Title:
UOM NameMaximum Length:25Name of the unit of measure. -
UnitOfMeasureCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure. -
UNSPSCCode: string
Maximum Length:
10Value that uniquely identifies the UNSPSC. -
VendorItemId: integer
(int64)
Value that uniquely identifies the supplier part.
-
VendorPartNumber: string
Maximum Length:
300Number that uniquely identifies the supplier part.
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 : externalPurchasePricesRequests-lines-item-response
Type:
Show Source
object-
Action: string
Maximum Length:
25Action to perform on the lines. Valid values include CREATE, UPDATE, or CANCEL. This is a mandatory attribute. -
AdjustedPrice: number
Value of the unit price after adjustment.
-
AdjustmentPercentage: number
Value by which the base price is adjusted.
-
BatchId: number
Value that uniquely identifies the external purchase prices request batch.
-
ErrorFlag: boolean
Maximum Length:
1Default Value:falseContains one of the following values: true or false. If true, then an error exists in the external purchase prices requests. If false, then no error exists and the external purchase prices are imported successfully. This attribute doesn't have a default value. -
InterfaceHeaderKey: string
Maximum Length:
30Number that uniquely identifies the external purchase prices requests. -
InterfaceLineId: integer
(int64)
Value that uniquely identifies the request line.
-
InterfaceLineKey: string
Maximum Length:
30Number that uniquely identifies the request line. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
ItemDescription: string
Maximum Length:
240Description of the item. -
ItemNumber: string
Maximum Length:
300Number that uniquely identifies the item. -
LineNumber: integer
(int64)
Number that uniquely identifies the external purchase prices line.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LoadRequestId: number
Value that uniquely identifies the process that loaded the external purchase prices request data to the interface tables.
-
ManufacturerPartNumber: string
Maximum Length:
700Number that uniquely identifies the manufacturer part. -
ManufacturerTradingPartnerItemId: integer
(int64)
Value that uniquely identifies the manufacturer part.
-
Price: number
Value of the unit price before adjustment.
-
PriceEndDate: string
(date)
Date when the price becomes effective.
-
PriceStartDate: string
(date)
Date when the price becomes ineffective.
-
PurchasingCategoryCode: string
Maximum Length:
820Abbreviation that identifies the purchasing category of the manufacturer part. -
PurchasingCategoryId: integer
(int64)
Value that uniquely identifies the purchasing category.
-
SourcePurchasingCategory: string
Maximum Length:
700Name of the purchasing category of the manufacturer. -
SourceReferenceId: string
Maximum Length:
30Value that uniquely identifies the external purchase prices in the source system. -
SourceUnitOfMeasure: string
Maximum Length:
25Name of the source unit of measure. -
SourceUOMQuantity: number
Quantity of the source unit of measure.
-
UnitOfMeasure: string
Title:
UOM NameMaximum Length:25Name of the unit of measure. -
UnitOfMeasureCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure. -
UNSPSCCode: string
Maximum Length:
10Value that uniquely identifies the UNSPSC. -
VendorItemId: integer
(int64)
Value that uniquely identifies the supplier part.
-
VendorPartNumber: string
Maximum Length:
300Number that uniquely identifies the supplier part.
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.