Create lots
post
/fscmRestApi/resources/11.13.18.05/receipts/{GroupId}/child/receiptHeaders/{UniqueHeaderId}/child/receiptLines/{UniqueTransactionId}/child/lotItemLots
Request
Path Parameters
-
GroupId(required): integer
Value that uniquely identifies the group that contains the receipts and transactions from each service call. The system creates this value. It is recommended that you leave the value for this attribute empty.
-
UniqueHeaderId(required): integer(int64)
Value that uniquely identifies the receipt header.
-
UniqueTransactionId(required): integer(int64)
Value that uniquely identifies the receiving transaction.
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
-
GradeCode: string
Maximum Length:
150
Abbreviation that identifies the grade. -
HoldDate: string
(date)
Date when the warehouse applied a hold on the lot.
-
LotExpirationDate: string
(date)
Date when the item of the lot expires.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for Lots
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. -
LotNumber(required): string
Maximum Length:
80
Lot number for the item. Applies when the warehouse places the item under lot control. -
MaturityDate: string
(date)
Date when the lot matures.
-
OriginationDate: string
(date)
Date when the lot originated.
-
OriginationType: string
Maximum Length:
30
Type of origination. -
ParentLotNumber: string
Maximum Length:
80
Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for the lot in the primary unit of measure that the item uses.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the receiving transaction. Applies when the warehouse places the item under lot control.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the receiving transaction for the lot. Applies when the warehouse places the item under lot control. -
SecondaryTransactionQuantity: number
Transaction quantity for the lot in the secondary unit of measure that the item uses.
-
TransactionQuantity(required): number
Transaction quantity of the item for the lot. Applies when the warehouse places the item under lot control.
-
VendorLotNumber: string
Maximum Length:
150
Supplier lot number.
Nested Schema : Flexfields for Lot Attributes
Type:
array
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : Flexfields for Lots
Type:
array
Title:
Flexfields for Lots
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : receipts-receiptHeaders-receiptLines-lotItemLots-lotItemLotAttributesDFF-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about lot attributes. Applies when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Display value of the context for the descriptive flexfield that contains details about lot attributes. Applies when the warehouse places the item under lot control. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
Nested Schema : receipts-receiptHeaders-receiptLines-lotItemLots-lotItemLotsDFF-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about the lot. Applies when the warehouse places the item under lot and serial control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Display value of the context for the descriptive flexfield that contains details about the lot. Applies when the warehouse places the item under lot and serial control. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
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 : receipts-receiptHeaders-receiptLines-lotItemLots-item-response
Type:
Show Source
object
-
GradeCode: string
Maximum Length:
150
Abbreviation that identifies the grade. -
HoldDate: string
(date)
Date when the warehouse applied a hold on the lot.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the item of the lot expires.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for Lots
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. -
LotNumber: string
Maximum Length:
80
Lot number for the item. Applies when the warehouse places the item under lot control. -
MaturityDate: string
(date)
Date when the lot matures.
-
OriginationDate: string
(date)
Date when the lot originated.
-
OriginationType: string
Maximum Length:
30
Type of origination. -
ParentLotNumber: string
Maximum Length:
80
Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for the lot in the primary unit of measure that the item uses.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the receiving transaction. Applies when the warehouse places the item under lot control.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the receiving transaction for the lot. Applies when the warehouse places the item under lot control. -
SecondaryTransactionQuantity: number
Transaction quantity for the lot in the secondary unit of measure that the item uses.
-
TransactionQuantity: number
Transaction quantity of the item for the lot. Applies when the warehouse places the item under lot control.
-
VendorLotNumber: string
Maximum Length:
150
Supplier lot number.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Lot Attributes
Type:
array
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : Flexfields for Lots
Type:
array
Title:
Flexfields for Lots
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item.
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 : receipts-receiptHeaders-receiptLines-lotItemLots-lotItemLotAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about lot attributes. Applies when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Display value of the context for the descriptive flexfield that contains details about lot attributes. Applies when the warehouse places the item under lot control. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : receipts-receiptHeaders-receiptLines-lotItemLots-lotItemLotsDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Name of the context for the descriptive flexfield that contains details about the lot. Applies when the warehouse places the item under lot and serial control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Display value of the context for the descriptive flexfield that contains details about 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. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- lotItemLotAttributesDFF
-
Parameters:
- GroupId:
$request.path.GroupId
- UniqueHeaderId:
$request.path.UniqueHeaderId
- UniqueTransactionId:
$request.path.UniqueTransactionId
- lotItemLotsUniqID:
$request.path.lotItemLotsUniqID
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. - GroupId:
- lotItemLotsDFF
-
Parameters:
- GroupId:
$request.path.GroupId
- UniqueHeaderId:
$request.path.UniqueHeaderId
- UniqueTransactionId:
$request.path.UniqueTransactionId
- lotItemLotsUniqID:
$request.path.lotItemLotsUniqID
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. - GroupId: