Create multiple rows or add multiple affected items to change request.
post
/fscmRestApi/resources/11.13.18.05/productChangeRequests/{productChangeRequestsUniqID}/child/changeRequestAffectedObject
Request
Path Parameters
-
productChangeRequestsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Product Change Requests resource and used to uniquely identify an instance of Product Change Requests. The client should not generate the hash key value. Instead, the client should query on the Product Change Requests collection resource in order to navigate to a specific instance of Product Change Requests to get the hash key.
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
-
changeRequestAffectedObjectDFF: array
changeRequestAffectedObjectDFF
-
ItemId: integer
(int64)
The item ID for the change request affected object.
-
ItemNumber: string
Maximum Length:
255
Number that identifies the item corresponding to the component. -
Revision: string
Maximum Length:
255
The revision for change request affected object -
RevisionId: integer
(int64)
The revision ID for the change request affected object.
-
SequenceNumber: integer
The sequence number for change request affected object
Nested Schema : productChangeRequests-changeRequestAffectedObject-changeRequestAffectedObjectDFF-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:30
-
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
SubjectInternalName: string
Maximum Length:
30
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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 : productChangeRequests-changeRequestAffectedObject-item-response
Type:
Show Source
object
-
ChangeLineId: integer
(int64)
Read Only:
true
Value that uniquely identifies the change line associated with the component. -
changeRequestAffectedObjectDFF: array
changeRequestAffectedObjectDFF
-
ItemId: integer
(int64)
The item ID for the change request affected object.
-
ItemNumber: string
Maximum Length:
255
Number that identifies the item corresponding to the component. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Revision: string
Maximum Length:
255
The revision for change request affected object -
RevisionId: integer
(int64)
The revision ID for the change request affected object.
-
SequenceNumber: integer
The sequence number for change request affected object
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : productChangeRequests-changeRequestAffectedObject-changeRequestAffectedObjectDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:30
-
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
ChangeLineId: integer
(int64)
Read Only:
true
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SubjectInternalName: string
Maximum Length:
30
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
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.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- changeRequestAffectedObjectDFF
-
Parameters:
- changeRequestAffectedObjectUniqID:
$request.path.changeRequestAffectedObjectUniqID
- productChangeRequestsUniqID:
$request.path.productChangeRequestsUniqID
- changeRequestAffectedObjectUniqID:
Examples
This example describes how to create one affected item.
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/productChangeRequests/productChangeRequestsUniqID/child/changeRequestAffectedObject"
Example Request Body
The following example includes the contents of the request body in JSON format:
{ "ItemId": 300100547443355, "RevisionId": 300100547443356 }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "items": [ { "ChangeLineId": 300100548802345, "SequenceNumber": 10, "ItemId": 300100547443355, "RevisionId": 300100547443356, "ItemNumber": "VSPDTLA0001", "Revision": "A", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/productChangeRequests/300100548802284/child/changeRequestAffectedObject/300100548802345", "name": "changeRequestAffectedObject", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/productChangeRequests/300100548802284/child/changeRequestAffectedObject/300100548802345", "name": "changeRequestAffectedObject", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/productChangeRequests/300100548802284", "name": "productChangeRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/productChangeRequests/300100548802284/child/changeRequestAffectedObject/300100548802345/child/changeRequestAffectedObjectDFF", "name": "changeRequestAffectedObjectDFF", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/productChangeRequests/300100548802284/child/changeRequestAffectedObject", "name": "changeRequestAffectedObject", "kind": "collection" } ] }