Create item attributes
/fscmRestApi/resources/11.13.18.05/purchaseAgreementImportRequests/{InterfaceHeaderId}/child/lines/{InterfaceLineId}/child/itemAttributes
Request
-
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=
-
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
-
AttachmentURL: string
Title:
Attachment URL
Maximum Length:700
URL of the attachment associated with the item. -
Attribute1: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute10: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute11: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute12: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute13: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute14: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute15: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute16: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute17: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute18: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute19: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute2: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute20: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute3: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute4: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute5: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute6: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute7: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute8: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute9: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
AttributeCategory: string
Maximum Length:
240
Category segment for the purchase agreement item attributes descriptive flexfield. -
AttributeDate1: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate10: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate2: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate3: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate4: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate5: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate6: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate7: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate8: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate9: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber1: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber10: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber2: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber3: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber4: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber5: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber6: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber7: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber8: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber9: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp1: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp10: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp2: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp3: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp4: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp5: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp6: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp7: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp8: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp9: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
Availability: string
Title:
Availability
Maximum Length:700
Status of the item availability from supplier. -
ImageURL: string
Title:
Image URL
Maximum Length:700
URL of the image file associated with the item specified on a blanket purchase agreement line. -
InterfaceAttributeId: integer
(int64)
Value that uniquely identifies the interface line item attribute.
-
InterfaceAttributeKey: string
Maximum Length:
50
Value that uniquely identifies the interface line item attribute. -
InterfaceHeaderId: integer
(int64)
Value that uniquely identifies the interface header.
-
InterfaceLineId: integer
(int64)
Value that uniquely identifies the interface line for an item attribute.
-
InterfaceLineKey: string
Maximum Length:
50
Value that uniquely identifies the interface line for an item attribute. -
LeadTime: number
Title:
Lead Time Days
The number of days in which the item, specified on the blanket purchase order line, can be delivered when ordered. -
ManufacturerPartNumber: string
Title:
Manufacturer Part Number
Maximum Length:700
Part number used to identify the item by the manufacturer of the item, that's specified on a blanket purchase agreement line. -
ManufacturerURL: string
Title:
Manufacturer URL
Maximum Length:700
URL of the manufacturer of the item specified on a blanket purchase agreement line. -
PackagingString: string
Maximum Length:
240
String 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
Title:
Supplier URL
Maximum Length:700
URL of the supplier's organization. -
ThumbnailImageURL: string
Title:
Thumbnail Image
Maximum Length:700
Location of the small version of a larger image file for the item specified on the blanket purchase agreement. -
UNSPSC: string
Title:
UNSPSC
Maximum Length:700
The United Nations Standard Products and Services Code for the item specified on the blanket purchase agreement.
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
-
AttachmentURL: string
Title:
Attachment URL
Maximum Length:700
URL of the attachment associated with the item. -
Attribute1: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute10: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute11: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute12: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute13: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute14: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute15: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute16: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute17: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute18: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute19: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute2: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute20: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute3: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute4: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute5: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute6: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute7: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute8: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
Attribute9: string
Maximum Length:
240
Segment for the purchase agreement line item attributes descriptive flexfield. -
AttributeCategory: string
Maximum Length:
240
Category segment for the purchase agreement item attributes descriptive flexfield. -
AttributeDate1: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate10: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate2: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate3: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate4: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate5: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate6: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate7: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate8: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeDate9: string
(date)
Date segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber1: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber10: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber2: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber3: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber4: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber5: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber6: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber7: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber8: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeNumber9: number
Number segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp1: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp10: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp2: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp3: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp4: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp5: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp6: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp7: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp8: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
AttributeTimestamp9: string
(date-time)
Date and time segment for the purchase agreement item attributes descriptive flexfield.
-
Availability: string
Title:
Availability
Maximum Length:700
Status of the item availability from supplier. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the item attributes for a purchase agreement line. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the buyer or application created the item attributes for a purchase agreement line. -
ImageURL: string
Title:
Image URL
Maximum Length:700
URL of the image file associated with the item specified on a blanket purchase agreement line. -
InterfaceAttributeId: integer
(int64)
Value that uniquely identifies the interface line item attribute.
-
InterfaceAttributeKey: string
Maximum Length:
50
Value that uniquely identifies the interface line item attribute. -
InterfaceHeaderId: integer
(int64)
Value that uniquely identifies the interface header.
-
InterfaceLineId: integer
(int64)
Value that uniquely identifies the interface line for an item attribute.
-
InterfaceLineKey: string
Maximum Length:
50
Value that uniquely identifies the interface line for an item attribute. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date and time when the buyer or application last updated the item attributes on a purchase agreement line. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who last updated the item attributes on a purchase agreement line. -
LeadTime: number
Title:
Lead Time Days
The number of days in which the item, specified on the blanket purchase order line, can be delivered when ordered. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ManufacturerPartNumber: string
Title:
Manufacturer Part Number
Maximum Length:700
Part number used to identify the item by the manufacturer of the item, that's specified on a blanket purchase agreement line. -
ManufacturerURL: string
Title:
Manufacturer URL
Maximum Length:700
URL of the manufacturer of the item specified on a blanket purchase agreement line. -
PackagingString: string
Maximum Length:
240
String that describes how the item is packed by the supplier. -
ProcessCode: string
Read Only:
true
Maximum Length:25
Value that uniquely identifies the interface record status. -
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
Title:
Supplier URL
Maximum Length:700
URL of the supplier's organization. -
ThumbnailImageURL: string
Title:
Thumbnail Image
Maximum Length:700
Location of the small version of a larger image file for the item specified on the blanket purchase agreement. -
UNSPSC: string
Title:
UNSPSC
Maximum Length:700
The United Nations Standard Products and Services Code for the item specified on the blanket purchase agreement.
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 create item attributes. You provide item attributes on an agreement line. This step populates the interface tables with the agreement line's item attributes data.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/purchaseAgreementImportRequests/InterfaceHeaderId/child/lines/InterfaceLineId/child/itemAttributes"
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.
{ "ThumbnailImageURL": "www.oracle.com", "ManufacturerPartNumber": "146.234", "RoundingFactor": 0.7, "Availability": "Yes", "LeadTime": 10, "UNSPSC": "26000000" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "InterfaceAttributeId" : 300100590230225, "InterfaceLineId" : 300100590200170, "InterfaceHeaderId" : 300100590192348, "InterfaceLineKey" : null, "InterfaceAttributeKey" : null, "ThumbnailImageURL" : "www.oracle.com", "ImageURL" : null, "ManufacturerPartNumber" : "146.234", "RoundingFactor" : 0.7, "Availability" : "Yes", "LeadTime" : 10, "UNSPSC" : "26000000", "AttachmentURL" : null, "SupplierURL" : null, "ManufacturerURL" : null, "PackagingString" : null, "AttributeCategory" : null, "Attribute1" : null, "Attribute2" : null, "Attribute3" : null, "Attribute4" : null, "Attribute5" : null, "Attribute6" : null, "Attribute7" : null, "Attribute8" : null, "Attribute9" : null, "Attribute10" : null, "Attribute11" : null, "Attribute12" : null, "Attribute13" : null, "Attribute14" : null, "Attribute15" : null, "Attribute16" : null, "Attribute17" : null, "Attribute18" : null, "Attribute19" : null, "Attribute20" : null, "AttributeDate1" : null, "AttributeDate10" : null, "AttributeDate2" : null, "AttributeDate3" : null, "AttributeDate4" : null, "AttributeDate5" : null, "AttributeDate6" : null, "AttributeDate7" : null, "AttributeDate8" : null, "AttributeDate9" : null, "AttributeNumber1" : null, "AttributeNumber10" : null, "AttributeNumber2" : null, "AttributeNumber3" : null, "AttributeNumber4" : null, "AttributeNumber5" : null, "AttributeNumber6" : null, "AttributeNumber7" : null, "AttributeNumber8" : null, "AttributeNumber9" : null, "AttributeTimestamp1" : null, "AttributeTimestamp10" : null, "AttributeTimestamp2" : null, "AttributeTimestamp3" : null, "AttributeTimestamp4" : null, "AttributeTimestamp5" : null, "AttributeTimestamp6" : null, "AttributeTimestamp7" : null, "AttributeTimestamp8" : null, "AttributeTimestamp9" : null, "CreatedBy" : "PRC_INTEGRATION_USER", "CreationDate" : "2024-01-17T06:39:29.031+00:00", "LastUpdatedBy" : "PRC_INTEGRATION_USER", "LastUpdateDate" : "2024-01-17T06:39:29.031+00:00", "ProcessCode" : null, "RequestId" : null, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/purchaseAgreementImportRequests/300100590192348/child/lines/300100590200170/child/itemAttributes/300100590230225", "name" : "itemAttributes", "kind" : "item", "properties" : { "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel" : "canonical", "href" : "https://servername/fscmRestApi/resources/version/purchaseAgreementImportRequests/300100590192348/child/lines/300100590200170/child/itemAttributes/300100590230225", "name" : "itemAttributes", "kind" : "item" }, { "rel" : "parent", "href" : "https://servername/fscmRestApi/resources/version/purchaseAgreementImportRequests/300100590192348/child/lines/300100590200170", "name" : "lines", "kind" : "item" } ] }