Update one Affected Item AML change order
/fscmRestApi/resources/11.13.18.05/productChangeOrdersV2/{productChangeOrdersV2UniqID}/child/changeOrderAffectedObject/{changeOrderAffectedObjectUniqID}/child/changeOrderAffectedItemAML/{ItemRelationshipId}
Request
-
ItemRelationshipId(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=
-
changeOrderAffectedObjectUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Change Order Affected Objects resource and used to uniquely identify an instance of Change Order Affected Objects. The client should not generate the hash key value. Instead, the client should query on the Change Order Affected Objects collection resource in order to navigate to a specific instance of Change Order Affected Objects to get the hash key.
-
productChangeOrdersV2UniqID(required): string
This is the hash key of the attributes which make up the composite key for the Product Change Orders Version 2 resource and used to uniquely identify an instance of Product Change Orders Version 2. The client should not generate the hash key value. Instead, the client should query on the Product Change Orders Version 2 collection resource in order to navigate to a specific instance of Product Change Orders Version 2 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-
changeOrderAffectedItemAMLDFF: array
changeOrderAffectedItemAMLDFF
-
ItemNumber: string
Maximum Length:
255Number that identifies the item corresponding to the component. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the change object. -
StatusCode: string
Title:
StatusMaximum Length:30Abbreviation that identifies the status of the change object. -
StatusCodeValue: string
Maximum Length:
255Status code value of the change object
object-
__FLEX_Context: string
Title:
ContextMaximum Length:150Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext
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-
ACDTypeCode: string
Read Only:
trueValue that indicates whether the component is being added, changed, or deleted through a change line. -
ACDTypeValue: string
Read Only:
trueMaximum Length:255Value that indicates whether the component is being added, changed, or deleted through a change line. -
ActiveEndDateTime: string
(date-time)
Read Only:
trueThe end date of an active AML. -
ActiveStartDateTime: string
(date-time)
Read Only:
trueThe start date of an affected item AML. -
ChangeLineId: integer
(int64)
Read Only:
trueDefault Value:-1Value that uniquely identifies the change line associated with the component. -
changeOrderAffectedItemAMLDFF: array
changeOrderAffectedItemAMLDFF
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the change object. -
CreationDateTime: string
(date-time)
Read Only:
trueDate when the change object was created. -
Description: string
Title:
Relationship DescriptionRead Only:trueMaximum Length:240Description of the change object. -
ImplementationDateTime: string
(date-time)
Read Only:
trueDate when this affected item AML in the change order was implemented. -
InventoryItemId: integer
The inventory affected item ID of an affected item AML.
-
ItemNumber: string
Maximum Length:
255Number that identifies the item corresponding to the component. -
ItemRelationshipId: integer
(int64)
Read Only:
trueThe item relationship ID of an affected item AML. -
LastUpdateDateTime: string
(date-time)
Read Only:
trueDate when the change object was updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the change object. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login that the user used when updating the affected item AML in the change order. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the change object. -
OrganizationId: integer
Read Only:
trueValue that uniquely identifies the organization of the change object. -
StatusCode: string
Title:
StatusMaximum Length:30Abbreviation that identifies the status of the change object. -
StatusCodeValue: string
Maximum Length:
255Status code value of the change object -
TradingPartnerItem: string
Read Only:
trueMaximum Length:255The trading partner item number of an affected item AML. -
TradingPartnerItemId: integer
The trading partner item ID of an affected item AML.
-
TradingPartnerName: string
Read Only:
trueMaximum Length:255The trading partner name of an affected item AML.
arrayLinksobject-
__FLEX_Context: string
Title:
ContextMaximum Length:150Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
ItemRelationshipId: integer
(int64)
-
ItemRelationshipType: string
Title:
TypeMaximum Length:30 -
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.
- OrganizationCodeLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: OrganizationCode; Target Attribute: OrganizationCode
- Display Attribute: OrganizationCode, OrganizationId
- StatusCodeLookupPVO1
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_ACA_AML_STATUS
The following properties are defined on the LOV link relation:- Source Attribute: StatusCodeValue; Target Attribute: Meaning
- Display Attribute: Meaning, LookupCode
- finder:
- changeOrderAffectedItemAMLDFF
-
Parameters:
- ItemRelationshipId:
$request.path.ItemRelationshipId - changeOrderAffectedObjectUniqID:
$request.path.changeOrderAffectedObjectUniqID - productChangeOrdersV2UniqID:
$request.path.productChangeOrdersV2UniqID
- ItemRelationshipId:
Examples
This example describes how to update one affected item AML change order.
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/productChangeOrdersV2/300100561926137/child/changeOrderAffectedObject/00020000000EACED00057708000110F09B63F85E0000000EACED00057708000110F09B63F85E/child/changeOrderAffectedItemAML/300100561934859/child/changeOrderAffectedItemAMLDFF/300100561934859"
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.
{
"char1": "Test",
"numb1": 1234,
"date1": "2022-06-27"
}
Example Response Body
{
"ItemRelationshipId": 300100561934859,
"ItemRelationshipType": "MFG_PART_NUM",
"char1": "Test",
"numb1": 1234,
"date1": "2022-06-27",
"datetime1": null,
"char2": null,
"RELGlobSegChar1": null,
"zbiaitemreldff": null,
"vishTp": null,
"__FLEX_Context": null,
"__FLEX_Context_DisplayValue": null,
"links": [
{
"rel": "self",
"href": "https://server/fscmRestApi/resources/version/productChangeOrdersV2/300100561926137/child/changeOrderAffectedObject/00020000000EACED00057708000110F09B63F85E0000000EACED00057708000110F09B63F85E/child/changeOrderAffectedItemAML/300100561934859/child/changeOrderAffectedItemAMLDFF/300100561934859",
"name": "changeOrderAffectedItemAMLDFF",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://server/fscmRestApi/resources/version/productChangeOrdersV2/300100561926137/child/changeOrderAffectedObject/00020000000EACED00057708000110F09B63F85E0000000EACED00057708000110F09B63F85E/child/changeOrderAffectedItemAML/300100561934859/child/changeOrderAffectedItemAMLDFF/300100561934859",
"name": "changeOrderAffectedItemAMLDFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://server/fscmRestApi/resources/version/productChangeOrdersV2/300100561926137/child/changeOrderAffectedObject/00020000000EACED00057708000110F09B63F85E0000000EACED00057708000110F09B63F85E/child/changeOrderAffectedItemAML/300100561934859",
"name": "changeOrderAffectedItemAML",
"kind": "item"
}
]
}