Create one movement request line

post

/fscmRestApi/resources/11.13.18.05/inventoryMovementRequests/{HeaderId}/child/lines

Request

Path Parameters
Header Parameters
  • 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".
  • 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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Lines
Type: array
Title: Flexfields for Lines
The Flexfields for Lines resource stores the descriptive flexfields associated with lines for movement requests.
Show Source
Nested Schema : Flexfields for Inventory Striping Attributes
Type: array
Title: Flexfields for Inventory Striping Attributes
The Flexfields for Inventory Striping Attributes resource manages the details of the inventory striping attributes that the descriptive flexfield references associated with a movement request line. Inventory striping (inventory tracking) attributes are a set of named attributes (project and task) as well as user-configurable attributes, which when specified as part of the movement request line, are used to track the inventory on hand. Movement request lines are not supported for the country of origin attribute.
Show Source
Nested Schema : Flexfields for Projects
Type: array
Title: Flexfields for Projects
The Flexfields for Projects resource stores the project flexfields associated with lines for movement requests.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FDistribution__5FSetsVO-item-post-request", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-post-request", "AP_Invoice_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FLineVO-item-post-request", "EXM_Expense_Report":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReportVO-item-post-request", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-post-request", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-post-request", "OM_Sales_Order":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFOM__5FSales__5FOrderVO-item-post-request", "PJC_All":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FAllVO-item-post-request", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-post-request", "POR_Requisition":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FRequisitionVO-item-post-request", "POR_User_Preferences":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-post-request", "PO_Purchase_Order":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrderVO-item-post-request", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-post-request", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-post-request" } }
Nested Schema : inventoryMovementRequests-lines-DFF-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 40
    Descriptive flexfield context name for inventory striping attributes.
  • Title: Context Segment
    Descriptive flexfield context display value for inventory striping attributes.
  • Title: Country of Origin
    Maximum Length: 2
    Abbreviation that identifies the country of origin. This attribute is not applicable for movement request.
  • Title: Country of Origin
    Value that identifies the country of origin. This attribute is not applicable for movement request.
  • Value that uniquely identifies the movement request line.
  • Title: Project
    Value that uniquely identifies the project. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Project
    Number that identifies the project. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Task
    Value that uniquely identifies the task. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Task
    Number that identifies the task. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FDistribution__5FSetsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReportVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFOM__5FSales__5FOrderVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FAllVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FRequisitionVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrderVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-post-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : inventoryMovementRequests-lines-item-response
Type: object
Show Source
Nested Schema : Flexfields for Lines
Type: array
Title: Flexfields for Lines
The Flexfields for Lines resource stores the descriptive flexfields associated with lines for movement requests.
Show Source
Nested Schema : Flexfields for Inventory Striping Attributes
Type: array
Title: Flexfields for Inventory Striping Attributes
The Flexfields for Inventory Striping Attributes resource manages the details of the inventory striping attributes that the descriptive flexfield references associated with a movement request line. Inventory striping (inventory tracking) attributes are a set of named attributes (project and task) as well as user-configurable attributes, which when specified as part of the movement request line, are used to track the inventory on hand. Movement request lines are not supported for the country of origin attribute.
Show Source
Nested Schema : Flexfields for Projects
Type: array
Title: Flexfields for Projects
The Flexfields for Projects resource stores the project flexfields associated with lines for movement requests.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response", "AP_Invoice_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FLineVO-item-response", "EXM_Expense_Report":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReportVO-item-response", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response", "OM_Sales_Order":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFOM__5FSales__5FOrderVO-item-response", "PJC_All":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FAllVO-item-response", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response", "POR_Requisition":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FRequisitionVO-item-response", "POR_User_Preferences":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response", "PO_Purchase_Order":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response" } }
Nested Schema : inventoryMovementRequests-lines-DFF-item-response
Type: object
Show Source
Nested Schema : inventoryMovementRequests-lines-inventoryStripingDFF-item-response
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 40
    Descriptive flexfield context name for inventory striping attributes.
  • Title: Context Segment
    Descriptive flexfield context display value for inventory striping attributes.
  • Title: Country of Origin
    Maximum Length: 2
    Abbreviation that identifies the country of origin. This attribute is not applicable for movement request.
  • Title: Country of Origin
    Value that identifies the country of origin. This attribute is not applicable for movement request.
  • Value that uniquely identifies the movement request line.
  • Links
  • Title: Project
    Value that uniquely identifies the project. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Project
    Number that identifies the project. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Task
    Value that uniquely identifies the task. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
  • Title: Task
    Number that identifies the task. This attribute is derived from the source document for the pick wave movement requests created for sales orders, transfer orders, and work orders. The attribute is entered when creating the requisition movement request if the transaction type is enabled for projects.
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFAP__5FInvoice__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReportVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFOM__5FSales__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FAllVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FRequisitionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_inventory_movementRequests_flex_PJCFlex_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create a movement request line.

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/inventoryMovementRequests/HeaderId/child/lines"

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 creates.

{ 
	"ItemNumber" : "AS54888",
	"TransactionType" : "Movement Request Issue",
	"RequiredDate" : "2012-04-27T01:01:46+00:00",
	"RequestedQuantity" : 65,
	"UOMName" : "Each",
	"SourceSubinventory" : "CustReturn",
	"DestinationAccount" : "01-720-7340-0000-000",
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{ 
	"HeaderId" : 5135743,
	"LineId" : 3918963,
	"LineNumber" : 1,
	"InventoryItemId" : 149,
	"ItemNumber" : "AS54888",
	"ItemDescription" : "Sentinel Standard Desktop TPDS",
	"ItemRevision" : null,
	"TransactionTypeId" : 63,
	"TransactionType" : "Movement Request Issue",
	"RequiredDate" : "2012-04-27T01:01:46+00:00",
	"Reason" : null,
	"ReasonId" : null,
	"Order" : null,
	"Reference" : null,
	"RequestedQuantity" : 65,
	"QuantityDelivered" : null,
	"UOMCode" : "Ea",
	"UOMName" : "Each",
	"SecondaryRequestedQuantity" : null,
	"SecondaryQuantityDelivered" : null,
	"SecondaryUOMCode" : null,
	"SecondaryUOMName" : null,
	"StatusDate" : "2012-04-27",
	"StatusCode" : 1,
	"Status" : "Incomplete",
	"CreatedBy" : "WAREHOUSE_MANAGER_M1_TALL_MANUFACTURING",
	"SourceSubinventory" : "CustReturn",
	"SourceLocatorId" : null,
	"SourceLocator" : null,
	"ReferenceTypeCode" : null,
	"ReferenceSourceType" : null,
	"DestinationSubinventory" : null,
	"DestinationLocatorId" : null,
	"DestinationLocator" : null,
	"DestinationAccountId" : 15466,
	"DestinationAccount" : "01-720-7340-0000-000",
	"ShipToLocationId" : null,
	"ShipToLocation" : null,
	"LotNumber" : null,
	"Grade" : null,
	"ToSerialNumber" : null,
	"FromSerialNumber" : null
}

Back to Top