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: 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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ExpirationActionCode: string
Maximum Length:
32Abbreviation that identifies the expiration action. -
ExpirationActionDate: string
(date)
Date when the warehouse performed the expiration action.
-
GradeCode: string
Maximum Length:
150Abbreviation 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 AttributesThe 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 LotsThe 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:
80Lot 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-time)
Date when the lot originated.
-
OriginationType: string
Maximum Length:
30Type of origination. -
ParentLotNumber: string
Maximum Length:
80Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for the lot in the primary unit of measure that the item uses.
-
ProductTransactionId: integer
(int64)
Value that uniquely identifies the receipt line request.
-
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:
30Name of the reason for the receiving transaction for the lot. Applies when the warehouse places the item under lot control. -
RetestDate: string
(date)
Date when the lot is retested. This attribute is based on the lot origination date and the retest interval.
-
SecondaryTransactionQuantity: number
Transaction quantity for the lot in the secondary unit of measure that the item uses.
-
StatusId: integer
(int64)
Value that uniquely identifies the material status.
-
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the lot for the receipt line request.
-
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:
150Supplier lot number.
Nested Schema : Flexfields for Lot Attributes
Type:
arrayTitle:
Flexfields for Lot AttributesThe 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:
arrayTitle:
Flexfields for LotsThe 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 ValueMaximum Length:30Name 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 ValueDisplay 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 ValueMaximum Length:30Name 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 ValueDisplay 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:
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 : receipts-receiptHeaders-receiptLines-lotItemLots-item-response
Type:
Show Source
object-
ExpirationActionCode: string
Maximum Length:
32Abbreviation that identifies the expiration action. -
ExpirationActionDate: string
(date)
Date when the warehouse performed the expiration action.
-
GradeCode: string
Maximum Length:
150Abbreviation that identifies the grade. -
HoldDate: string
(date)
Date when the warehouse applied a hold on the lot.
-
links: array
Links
Title:
LinksThe 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 AttributesThe 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 LotsThe 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:
80Lot 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-time)
Date when the lot originated.
-
OriginationType: string
Maximum Length:
30Type of origination. -
ParentLotNumber: string
Maximum Length:
80Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for the lot in the primary unit of measure that the item uses.
-
ProductTransactionId: integer
(int64)
Value that uniquely identifies the receipt line request.
-
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:
30Name of the reason for the receiving transaction for the lot. Applies when the warehouse places the item under lot control. -
RetestDate: string
(date)
Date when the lot is retested. This attribute is based on the lot origination date and the retest interval.
-
SecondaryTransactionQuantity: number
Transaction quantity for the lot in the secondary unit of measure that the item uses.
-
StatusId: integer
(int64)
Value that uniquely identifies the material status.
-
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the lot for the receipt line request.
-
TransactionQuantity: number
Transaction quantity of the item for the lot. Applies when the warehouse places the item under lot control.
-
VendorLotNumber: string
Maximum Length:
150Supplier lot number.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Lot Attributes
Type:
arrayTitle:
Flexfields for Lot AttributesThe 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:
arrayTitle:
Flexfields for LotsThe 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 referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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 ValueMaximum Length:30Name 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 ValueDisplay 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:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
arrayTitle:
LinksThe 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 ValueMaximum Length:30Name 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 ValueDisplay 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:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
arrayTitle:
LinksThe 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: