Create serials
/fscmRestApi/resources/11.13.18.05/pickTransactions/{TransactionHeaderId}/child/pickLines/{pickLinesUniqID}/child/serialItemSerials
Request
-
TransactionHeaderId(required): integer
Value that uniquely identifies the inventory transaction header.
-
pickLinesUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Pick Lines resource and used to uniquely identify an instance of Pick Lines. The client should not generate the hash key value. Instead, the client should query on the Pick Lines collection resource in order to navigate to a specific instance of Pick Lines 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
-
FromSerialNumber(required): string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the lot. Applies when the warehouse places the item under lot and serial control. -
serialAttributeDFFs: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial Attributes
Flexible fields that contain details of the serial attributes referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. -
serialStandardDFFs: array
Flexfields for Serial Numbers
Title:
Flexfields for Serial Numbers
Flexible fields that contain details of the serials referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. -
SupplierSerialNumber: string
Maximum Length:
80
Number that uniquely identifies the supplier serial number for the serial numbers of the lot in lot- and serial-controlled items. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the lot. Applies when the warehouse places the item under lot and serial control.
array
Flexfields for Serial Attributes
array
Flexfields for Serial Numbers
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serial attributes of serial-controlled items. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value serial attributes of serial-controlled items. -
FromSerialNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials of serial-controlled items. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for serials of serial-controlled items. -
FromSerialNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
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
-
FromSerialNumber: string
Maximum Length:
80
Number that identifies the starting serial in a range of serial numbers for the lot. Applies when the warehouse places the item under lot and serial control. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
serialAttributeDFFs: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial Attributes
Flexible fields that contain details of the serial attributes referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. -
serialStandardDFFs: array
Flexfields for Serial Numbers
Title:
Flexfields for Serial Numbers
Flexible fields that contain details of the serials referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. -
SupplierSerialNumber: string
Maximum Length:
80
Number that uniquely identifies the supplier serial number for the serial numbers of the lot in lot- and serial-controlled items. -
ToSerialNumber: string
Maximum Length:
80
Number that identifies the ending serial in a range of serial numbers for the lot. Applies when the warehouse places the item under lot and serial control.
array
Links
array
Flexfields for Serial Attributes
array
Flexfields for Serial Numbers
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.
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serial attributes of serial-controlled items. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value serial attributes of serial-controlled items. -
FromSerialNumber: string
Maximum Length:
80
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
array
Links
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials of serial-controlled items. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for serials of serial-controlled items. -
FromSerialNumber: string
Maximum Length:
80
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
array
Links
- serialAttributeDFFs
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
- serialItemSerialsUniqID:
$request.path.serialItemSerialsUniqID
Flexible fields that contain details of the serial attributes referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. - TransactionHeaderId:
- serialStandardDFFs
-
Parameters:
- TransactionHeaderId:
$request.path.TransactionHeaderId
- pickLinesUniqID:
$request.path.pickLinesUniqID
- serialItemSerialsUniqID:
$request.path.serialItemSerialsUniqID
Flexible fields that contain details of the serials referenced by the descriptive flexfield and are associated with a line for serial-controlled but not lot-controlled items. - TransactionHeaderId:
Examples
This example describes how to create one lot that shares control of the item for one pick line in 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" : 4 , "PickedQuantity" : 1 , "serialItemSerials" : [{ "FromSerialNumber" : "D-S067" , "ToSerialNumber" : "D-S067" }] } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "TransactionHeaderId" : 22253430, "ReturnStatus" : "Success", "ErrorCode" : null, "ErrorExplanation" : null, "PickSlip" : null, "PickSlipLine" : null, "pickLines" : [ { "Locator" : null, "PickSlipLine" : 1, "PickSlip" : 1129158, "PickedQuantity" : 1, "SecondaryPickedQuantity" : null, "SubinventoryCode" : "FGI", "TransactionDate" : null, "links" : [ { "rel" : "self", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430/child/pickLines/22253431", "name" : "pickLines", "kind" : "item" }, { "rel" : "canonical", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430/child/pickLines/22253431", "name" : "pickLines", "kind" : "item" }, { "rel" : "parent", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430", "name" : "pickTransactions", "kind" : "item" }, { "rel" : "child", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430/child/pickLines/22253431/child/serialItemSerials", "name" : "serialItemSerials", "kind" : "collection" } ] } ], "links" : [ { "rel" : "self", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430", "name" : "pickTransactions", "kind" : "item" }, { "rel" : "canonical", "href" : "https://servername/logisticsApi/resources/version/pickTransactions/22253430", "name" : "pickTransactions", "kind" : "item" } ] }