Create serials

post

/fscmRestApi/resources/11.13.18.05/pickTransactions/{TransactionHeaderId}/child/pickLines/{pickLinesUniqID}/child/serialItemSerials

Request

Path Parameters
  • Value that uniquely identifies the inventory transaction header.
  • 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.
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • 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.
  • 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.
  • 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.
  • Maximum Length: 80
    Number that uniquely identifies the supplier serial number for the serial numbers of the lot in lot- and serial-controlled items.
  • 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.
Nested Schema : Flexfields for Serial Attributes
Type: array
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.
Show Source
Nested Schema : Flexfields for Serial Numbers
Type: array
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.
Show Source
Nested Schema : pickTransactions-pickLines-serialItemSerials-serialAttributeDFFs-item-post-request
Type: object
Show Source
Nested Schema : pickTransactions-pickLines-serialItemSerials-serialStandardDFFs-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 : pickTransactions-pickLines-serialItemSerials-item-response
Type: object
Show Source
  • 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
  • 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.
  • 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.
  • Maximum Length: 80
    Number that uniquely identifies the supplier serial number for the serial numbers of the lot in lot- and serial-controlled items.
  • 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.
Nested Schema : Flexfields for Serial Attributes
Type: array
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.
Show Source
Nested Schema : Flexfields for Serial Numbers
Type: array
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.
Show Source
Nested Schema : pickTransactions-pickLines-serialItemSerials-serialAttributeDFFs-item-response
Type: object
Show Source
Nested Schema : pickTransactions-pickLines-serialItemSerials-serialStandardDFFs-item-response
Type: object
Show Source
Back to Top

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"
  } ]
}
Back to Top