Update one item attribute
/fscmRestApi/resources/11.13.18.05/draftPurchaseAgreements/{draftPurchaseAgreementsUniqID}/child/lines/{AgreementLineId}/child/itemAttributes/{AttributeValuesId}
Request
-
AgreementLineId(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=
-
AttributeValuesId(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=
-
draftPurchaseAgreementsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Draft Purchase Agreements resource and used to uniquely identify an instance of Draft Purchase Agreements. The client should not generate the hash key value. Instead, the client should query on the Draft Purchase Agreements collection resource in order to navigate to a specific instance of Draft Purchase Agreements to get the hash key.
-
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.
- application/json
object-
Alias: string
Maximum Length:
700Alternate identifier for an item specified on a blanket purchase agreement line. -
AttachmentURL: string
Maximum Length:
700URL of the attachment associated with the item. -
Availability: string
Maximum Length:
700Status of the item availability from supplier. -
Comments: string
Maximum Length:
700Additional comments for the item specified on the blanket purchase agreement line. -
DFF: array
DFF
-
ImageURL: string
Maximum Length:
700URL of the image file associated with the item specified on a blanket purchase agreement line. -
LeadTimeDays: number
Number of days in which the item specified on the blanket purchase agreement line can be delivered when ordered.
-
LongDescription: string
Maximum Length:
4000Text describing the long description of the item specified on a blanket purchase agreement line. -
Manufacturer: string
Maximum Length:
700Name of the manufacturer of the item specified on a blanket purchase agreement line. -
ManufacturerPartNumber: string
Maximum Length:
700Part number used to identify the item by the manufacturer of the item, that's specified on a blanket purchase agreement line. -
ManufacturerURL: string
Maximum Length:
700URL of the manufacturer of the item specified on a blanket purchase agreement line. -
PackagingString: string
Maximum Length:
240String that describes how the item is packed by the supplier. -
RoundingFactor: number
Attribute indicating how to round the quantity on an internal requisition that results from conversions between the requisition line unit of measure and the item unit of issue.
-
SupplierURL: string
Maximum Length:
700URL of the supplier's organization. -
ThumbnailImageURL: string
Maximum Length:
700Location of the small version of a larger image file for the item specified on the blanket purchase agreement. -
UNSPSC: string
Maximum Length:
700The United Nations Standard Products and Services Code for the item specified on the blanket purchase agreement.
object-
__FLEX_Context: string
Title:
Context PromptMaximum Length:240Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt
Response
- application/json
Default Response
-
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.
object-
AgreementLineId: integer
(int64)
Read Only:
trueValue that uniquely identifies the agreement line. -
Alias: string
Maximum Length:
700Alternate identifier for an item specified on a blanket purchase agreement line. -
AttachmentURL: string
Maximum Length:
700URL of the attachment associated with the item. -
AttributeValuesId: integer
(int64)
Value that uniquely identifies the purchasing extended item attributes. This is the primary key of the Purchasing Attribute Values view object.
-
AttributeValuesTlpId: integer
(int64)
Value that uniquely identifies the purchasing item translation attributes. This is the primary key of the Purchasing Attribute Values Translation view object.
-
Availability: string
Maximum Length:
700Status of the item availability from supplier. -
Comments: string
Maximum Length:
700Additional comments for the item specified on the blanket purchase agreement line. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the item attributes for a purchase agreement line. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the buyer or application created the item attributes for a purchase agreement line. -
DFF: array
DFF
-
EntityChangeTypeCode: string
Read Only:
trueMaximum Length:1Value that identifies if the row is new or changed. -
HazardClass: string
Title:
Hazard ClassRead Only:trueMaximum Length:40Name of the hazard class. -
HazardClassCode: string
Title:
CodeRead Only:trueMaximum Length:30Abbreviation that identifies the hazard class. -
HazardClassId: integer
(int64)
Read Only:
trueValue that uniquely identifies the hazard class. -
ImageURL: string
Maximum Length:
700URL of the image file associated with the item specified on a blanket purchase agreement line. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the buyer or application last updated the item attributes on a purchase agreement line. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who last updated the item attributes on a purchase agreement line. -
LeadTimeDays: number
Number of days in which the item specified on the blanket purchase agreement line can be delivered when ordered.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LongDescription: string
Maximum Length:
4000Text describing the long description of the item specified on a blanket purchase agreement line. -
Manufacturer: string
Maximum Length:
700Name of the manufacturer of the item specified on a blanket purchase agreement line. -
ManufacturerPartNumber: string
Maximum Length:
700Part number used to identify the item by the manufacturer of the item, that's specified on a blanket purchase agreement line. -
ManufacturerURL: string
Maximum Length:
700URL of the manufacturer of the item specified on a blanket purchase agreement line. -
PackagingString: string
Maximum Length:
240String that describes how the item is packed by the supplier. -
RoundingFactor: number
Attribute indicating how to round the quantity on an internal requisition that results from conversions between the requisition line unit of measure and the item unit of issue.
-
SupplierPartAuxid: string
Read Only:
trueMaximum Length:255Supplier item auxiliary identifier for the blanket agreement line. -
SupplierURL: string
Maximum Length:
700URL of the supplier's organization. -
ThumbnailImageURL: string
Maximum Length:
700Location of the small version of a larger image file for the item specified on the blanket purchase agreement. -
UNNumber: string
Title:
UN NumberRead Only:trueMaximum Length:20Number that the United Nations uses to identify hazardous material. -
UNNumberDescription: string
Title:
UN Number DescriptionRead Only:trueMaximum Length:240Description of the hazardous material that the United Nations identification number references. -
UNNumberId: integer
(int64)
Read Only:
trueValue that uniquely identifies the number that the United Nations uses to identify hazardous material. -
UNSPSC: string
Maximum Length:
700The United Nations Standard Products and Services Code for the item specified on the blanket purchase agreement.
arrayLinksobject-
__FLEX_Context: string
Title:
Context PromptMaximum Length:240Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt -
AttributeValuesId: integer
(int64)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
arrayLinksobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
- DFF
-
Parameters:
- AgreementLineId:
$request.path.AgreementLineId - AttributeValuesId:
$request.path.AttributeValuesId - draftPurchaseAgreementsUniqID:
$request.path.draftPurchaseAgreementsUniqID
- AgreementLineId:
Examples
This example describes how to update one item attribute.
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/draftPurchaseAgreements/draftPurchaseAgreementsUniqID/child/lines/AgreementLineId/child/itemAttributes/AttributeValuesId "
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/draftPurchaseAgreements/draftPurchaseAgreementsUniqID/child/lines/AgreementLineId/child/itemAttributes/300100650135632 "
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.
{
"Manufacturer": "GlobalTech Components Ltd",
"AttachmentURL": "https://www.globaltechcomponents.com/docs/rcv-100-specsheet.pdf",
"LeadTimeDays": 21,
"UNSPSC": "32101514"
}
Example Response Body
{
"AttributeValuesId": 300100650135632,
"AttributeValuesTlpId": 300100650135633,
"LongDescription": "Industrial-grade Receiver Module RCV-100 designed for high-frequency signal acquisition with low noise and extended durability for harsh environments.",
"SupplierPartAuxid": null,
"SupplierURL": "https://www.techsupplies.com/products/rcv-100",
"Manufacturer": "GlobalTech Components Ltd",
"ManufacturerURL": "https://www.signals.com",
"ManufacturerPartNumber": "AYMD-RCV100-HF",
"AttachmentURL": "https://www.globaltechcomponents.com/docs/rcv-100-specsheet.pdf",
"PackagingString": null,
"Alias": "RX100 / Signal Receiver Basic",
"LeadTimeDays": 21,
"UNSPSC": "32101514",
"ImageURL": "https://www.techsupplies.com/images/rcv-100.jpg",
"ThumbnailImageURL": null,
"Availability": "In Stock",
"Comments": "Suitable for telecom and industrial IoT applications; ensure compatibility with controller firmware v2.1 or higher.",
"RoundingFactor": 0.2,
"UNNumberId": null,
"UNNumber": null,
"UNNumberDescription": null,
"HazardClassId": null,
"HazardClassCode": null,
"HazardClass": null,
"CreatedBy": "PRC_INTEGRATION_USER",
"CreationDate": "2026-04-27T07:05:39.027+00:00",
"LastUpdatedBy": "PRC_INTEGRATION_USER",
"LastUpdateDate": "2026-04-27T07:05:39.027+00:00",
"AgreementLineId": 300100650135630,
"EntityChangeTypeCode": "I",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/draftPurchaseAgreements/300100650135628/child/lines/300100650135630/child/itemAttributes/300100650135632",
"name": "itemAttributes",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000003770400000003737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000037371007E0002000000047371007E00020000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/draftPurchaseAgreements/300100650135628/child/lines/300100650135630/child/itemAttributes/300100650135632",
"name": "itemAttributes",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/draftPurchaseAgreements/300100650135628/child/lines/300100650135630",
"name": "lines",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftPurchaseAgreements/300100650135628/child/lines/300100650135630/child/itemAttributes/300100650135632/child/DFF",
"name": "DFF",
"kind": "collection"
}
]
}