Create pick lines
post
/fscmRestApi/resources/11.13.18.05/pickTransactions/{TransactionHeaderId}/child/pickLines
Request
Path Parameters
-
TransactionHeaderId(required): integer
Value that uniquely identifies the inventory transaction header.
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
-
DestinationLocator: string
Maximum Length:
1000
Destination locator to use when performing overpick and move. -
DestinationSubinventoryCode: string
Maximum Length:
10
Abbreviation that identifies the destination subinventory to use when performing overpick and move. -
dffs: array
Flexfields
Title:
Flexfields
The Flexfields for Pick Lines resource manages the descriptive flexfield that the user uses to set the pick line. -
inventoryAttributesDFF: array
Flexfields for Inventory Attributes
Title:
Flexfields for Inventory Attributes
The Flexfields for Inventory Attributes resource manages descriptive flexfields for inventory attributes. This resource is associated with a feature that requires opt in. -
LicensePlateNumber: string
Maximum Length:
30
Value that uniquely identifies the container where the pick placed the item. -
Locator: string
Maximum Length:
1000
Locator in the subinventory to use when picking the item. This attribute typically identifies a physical area, such as a row, aisle, bin, or shelf, in the subinventory that stores the item. -
lotItemLots: array
Lots for Picked Items
Title:
Lots for Picked Items
The Lots for Picked Items resource manages the lot that controls the picked item. Use it when a lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share Control
The Lots That Share Control resource manages the lot that controls the picked item. Use it when lots and serials control the item. -
PickedQuantity: number
Quantity picked for the pick line in the primary unit of measure.
-
pickExceptions: array
Exceptions
Title:
Exceptions
The Pick Exceptions resource manages exceptions for the pick. Use it to modify the suggested attribute values, such as picked quantity, subinventory, locator, lot, and so on. -
PickSlip(required): integer
(int64)
Value that uniquely identifies the pick slip that the pick line references.
-
PickSlipLine(required): integer
Value that uniquely identifies a line on the pick slip.
-
SecondaryPickedQuantity: number
Quantity picked for the pick line in the secondary unit of measure.
-
serialItemSerials: array
Serials for Picked Items
Title:
Serials for Picked Items
The Serials for Picked Items resource manages the serial that controls the picked item. Use it when a serial controls the item. -
SubinventoryCode: string
Maximum Length:
10
Subinventory to use when picking the item. -
TransactionDate: string
(date-time)
Date and time when the transaction occurred.
Nested Schema : Flexfields
Type:
array
Title:
Flexfields
The Flexfields for Pick Lines resource manages the descriptive flexfield that the user uses to set the pick line.
Show Source
Nested Schema : Flexfields for Inventory Attributes
Type:
array
Title:
Flexfields for Inventory Attributes
The Flexfields for Inventory Attributes resource manages descriptive flexfields for inventory attributes. This resource is associated with a feature that requires opt in.
Show Source
Nested Schema : Lots for Picked Items
Type:
array
Title:
Lots for Picked Items
The Lots for Picked Items resource manages the lot that controls the picked item. Use it when a lot controls the item.
Show Source
Nested Schema : Lots That Share Control
Type:
array
Title:
Lots That Share Control
The Lots That Share Control resource manages the lot that controls the picked item. Use it when lots and serials control the item.
Show Source
Nested Schema : Exceptions
Type:
array
Title:
Exceptions
The Pick Exceptions resource manages exceptions for the pick. Use it to modify the suggested attribute values, such as picked quantity, subinventory, locator, lot, and so on.
Show Source
Nested Schema : Serials for Picked Items
Type:
array
Title:
Serials for Picked Items
The Serials for Picked Items resource manages the serial that controls the picked item. Use it when a serial controls the item.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about the pick line. -
__FLEX_Context_DisplayValue: string
Title:
Context
Display value of the context for the descriptive flexfield that contains details about the pick line. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction of the descriptive flexfield that contains details about the pick line.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for inventory attributes. This attribute is associated with a feature that requires opt in. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for inventory attributes. This attribute is associated with a feature that requires opt in. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt in. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. This attribute is associated with a feature that requires opt in. -
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in. -
taskId_Display: string
Title:
Task
Number that identifies the task. This attribute is associated with a feature that requires opt in. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the pick line transaction. This attribute is associated with a feature that requires opt in.
Nested Schema : pickTransactions-pickLines-lotItemLots-item-post-request
Type:
Show Source
object
-
Lot: string
Maximum Length:
80
Value that uniquely identifies the lot that includes the picked item. The lot includes items that you produce together as a group and that share similar production costs and specifications. Applies when the warehouse places the item under lot control. -
Quantity: number
Quantity picked for the lot. Applies when the warehouse places the item under lot control.
-
SecondaryQuantity: number
Quantity picked for the lot using the secondary unit of measure. Applies when the warehouse places the item under lot control.
Nested Schema : pickTransactions-pickLines-lotSerialItemLots-item-post-request
Type:
Show Source
object
-
Lot(required): string
Maximum Length:
80
Value that uniquely identifies the lot that includes the picked item. The lot includes items that you produce together as a group and that share similar production costs and specifications. Applies when the warehouse places the item under lot and serial control. -
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share Control
The Serials That Share Control resource manages the serial that controls the picked item. Use it when lots and serials control the item. -
Quantity(required): number
Quantity picked for the lot. Applies when the warehouse places the item under lot and serial control.
-
SecondaryQuantity: number
Quantity picked for the lot using the secondary unit of measure. Applies when the warehouse places the item under lot and serial control.
Nested Schema : Serials That Share Control
Type:
array
Title:
Serials That Share Control
The Serials That Share Control resource manages the serial that controls the picked item. Use it when lots and serials control the item.
Show Source
Nested Schema : pickTransactions-pickLines-lotSerialItemLots-lotSerialItemSerials-item-post-request
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control.
Nested Schema : schema
Type:
Show Source
object
-
Reason: string
Maximum Length:
30
Explanation for the pick exception. -
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the pick exception.
Nested Schema : pickTransactions-pickLines-serialItemSerials-item-post-request
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : pickTransactions-pickLines-item-response
Type:
Show Source
object
-
DestinationLocator: string
Maximum Length:
1000
Destination locator to use when performing overpick and move. -
DestinationSubinventoryCode: string
Maximum Length:
10
Abbreviation that identifies the destination subinventory to use when performing overpick and move. -
dffs: array
Flexfields
Title:
Flexfields
The Flexfields for Pick Lines resource manages the descriptive flexfield that the user uses to set the pick line. -
inventoryAttributesDFF: array
Flexfields for Inventory Attributes
Title:
Flexfields for Inventory Attributes
The Flexfields for Inventory Attributes resource manages descriptive flexfields for inventory attributes. This resource is associated with a feature that requires opt in. -
LicensePlateNumber: string
Maximum Length:
30
Value that uniquely identifies the container where the pick placed the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Maximum Length:
1000
Locator in the subinventory to use when picking the item. This attribute typically identifies a physical area, such as a row, aisle, bin, or shelf, in the subinventory that stores the item. -
lotItemLots: array
Lots for Picked Items
Title:
Lots for Picked Items
The Lots for Picked Items resource manages the lot that controls the picked item. Use it when a lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share Control
The Lots That Share Control resource manages the lot that controls the picked item. Use it when lots and serials control the item. -
PickedQuantity: number
Quantity picked for the pick line in the primary unit of measure.
-
pickExceptions: array
Exceptions
Title:
Exceptions
The Pick Exceptions resource manages exceptions for the pick. Use it to modify the suggested attribute values, such as picked quantity, subinventory, locator, lot, and so on. -
PickSlip: integer
(int64)
Value that uniquely identifies the pick slip that the pick line references.
-
PickSlipLine: integer
Value that uniquely identifies a line on the pick slip.
-
SecondaryPickedQuantity: number
Quantity picked for the pick line in the secondary unit of measure.
-
serialItemSerials: array
Serials for Picked Items
Title:
Serials for Picked Items
The Serials for Picked Items resource manages the serial that controls the picked item. Use it when a serial controls the item. -
SubinventoryCode: string
Maximum Length:
10
Subinventory to use when picking the item. -
TransactionDate: string
(date-time)
Date and time when the transaction occurred.
Nested Schema : Flexfields
Type:
array
Title:
Flexfields
The Flexfields for Pick Lines resource manages the descriptive flexfield that the user uses to set the pick line.
Show Source
Nested Schema : Flexfields for Inventory Attributes
Type:
array
Title:
Flexfields for Inventory Attributes
The Flexfields for Inventory Attributes resource manages descriptive flexfields for inventory attributes. This resource is associated with a feature that requires opt in.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Lots for Picked Items
Type:
array
Title:
Lots for Picked Items
The Lots for Picked Items resource manages the lot that controls the picked item. Use it when a lot controls the item.
Show Source
Nested Schema : Lots That Share Control
Type:
array
Title:
Lots That Share Control
The Lots That Share Control resource manages the lot that controls the picked item. Use it when lots and serials control the item.
Show Source
Nested Schema : Exceptions
Type:
array
Title:
Exceptions
The Pick Exceptions resource manages exceptions for the pick. Use it to modify the suggested attribute values, such as picked quantity, subinventory, locator, lot, and so on.
Show Source
Nested Schema : Serials for Picked Items
Type:
array
Title:
Serials for Picked Items
The Serials for Picked Items resource manages the serial that controls the picked item. Use it when a serial controls the item.
Show Source
Nested Schema : pickTransactions-pickLines-dffs-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about the pick line. -
__FLEX_Context_DisplayValue: string
Title:
Context
Display value of the context for the descriptive flexfield that contains details about the pick line. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction of the descriptive flexfield that contains details about the pick line.
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.
Nested Schema : pickTransactions-pickLines-inventoryAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for inventory attributes. This attribute is associated with a feature that requires opt in. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for inventory attributes. This attribute is associated with a feature that requires opt in. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt in. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. This attribute is associated with a feature that requires opt in. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in. -
taskId_Display: string
Title:
Task
Number that identifies the task. This attribute is associated with a feature that requires opt in. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the pick line transaction. This attribute is associated with a feature that requires opt in.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : pickTransactions-pickLines-lotItemLots-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Lot: string
Maximum Length:
80
Value that uniquely identifies the lot that includes the picked item. The lot includes items that you produce together as a group and that share similar production costs and specifications. Applies when the warehouse places the item under lot control. -
Quantity: number
Quantity picked for the lot. Applies when the warehouse places the item under lot control.
-
SecondaryQuantity: number
Quantity picked for the lot using the secondary unit of measure. Applies when the warehouse places the item under lot control.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : pickTransactions-pickLines-lotSerialItemLots-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Lot: string
Maximum Length:
80
Value that uniquely identifies the lot that includes the picked item. The lot includes items that you produce together as a group and that share similar production costs and specifications. Applies when the warehouse places the item under lot and serial control. -
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share Control
The Serials That Share Control resource manages the serial that controls the picked item. Use it when lots and serials control the item. -
Quantity: number
Quantity picked for the lot. Applies when the warehouse places the item under lot and serial control.
-
SecondaryQuantity: number
Quantity picked for the lot using the secondary unit of measure. Applies when the warehouse places the item under lot and serial control.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Serials That Share Control
Type:
array
Title:
Serials That Share Control
The Serials That Share Control resource manages the serial that controls the picked item. Use it when lots and serials control the item.
Show Source
Nested Schema : pickTransactions-pickLines-lotSerialItemLots-lotSerialItemSerials-item-response
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : pickTransactions-pickLines-pickExceptions-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Reason: string
Maximum Length:
30
Explanation for the pick exception. -
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the pick exception.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : pickTransactions-pickLines-serialItemSerials-item-response
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the item. Applies when the warehouse places the item under serial control.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- dffs
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Flexfields for Pick Lines resource manages the descriptive flexfield that the user uses to set the pick line. - TransactionHeaderId:
- inventoryAttributesDFF
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Flexfields for Inventory Attributes resource manages descriptive flexfields for inventory attributes. This resource is associated with a feature that requires opt in. - TransactionHeaderId:
- lotItemLots
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Lots for Picked Items resource manages the lot that controls the picked item. Use it when a lot controls the item. - TransactionHeaderId:
- lotSerialItemLots
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Lots That Share Control resource manages the lot that controls the picked item. Use it when lots and serials control the item. - TransactionHeaderId:
- pickExceptions
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Pick Exceptions resource manages exceptions for the pick. Use it to modify the suggested attribute values, such as picked quantity, subinventory, locator, lot, and so on. - TransactionHeaderId:
- serialItemSerials
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
The Serials for Picked Items resource manages the serial that controls the picked item. Use it when a serial controls the item. - TransactionHeaderId:
Examples
This example describes how to create one pick line for one pick transaction.
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.action+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/pickTransactions"
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.
{ "pickLines" : [ { "PickSlip" : 1129158 , "PickSlipLine" : 1 , "PickedQuantity" : 1 , "SubinventoryCode" : "FGI" } ] }