Create lots
post
/fscmRestApi/resources/11.13.18.05/operationTransactions/{operationTransactionsUniqID}/child/OperationTransactionDetail/{OperationTransactionDetailUniqID}/child/TransactionLot
Request
Path Parameters
-
OperationTransactionDetailUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Operation Transaction Details resource and used to uniquely identify an instance of Operation Transaction Details. The client should not generate the hash key value. Instead, the client should query on the Operation Transaction Details collection resource in order to navigate to a specific instance of Operation Transaction Details to get the hash key.
-
operationTransactionsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Work Order Operation Transactions resource and used to uniquely identify an instance of Work Order Operation Transactions. The client should not generate the hash key value. Instead, the client should query on the Work Order Operation Transactions collection resource in order to navigate to a specific instance of Work Order Operation Transactions to get the hash key.
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
-
LotExpirationDate: string
(date-time)
Title:
Lot Expiration Date
Date and time when the lot expires. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber(required): string
Title:
Lot Number
Maximum Length:80
Lot number for the transaction quantity. -
LotOriginationDate: string
(date-time)
Title:
Lot Origination Date
Date and time when the lot originated. -
LotOriginationType: string
Title:
Lot Origination Type
Maximum Length:30
Origin of the lot. The application determines the lot origination type when you create the lot. -
ParentLotNumber: string
Title:
Parent Lot Number
Maximum Length:80
Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in. -
SecondaryTransactionQuantity: number
Secondary quantity of the product lot transacted for the work order. This attribute is associated with a feature that requires opt in.
-
TransactionLotDFF: array
Flexfields for Operation Transaction Lots
Title:
Flexfields for Operation Transaction Lots
The Flexfields for Operation Transaction Lots resource manages descriptive flexfields that contain details about the transaction lot. -
TransactionQuantity(required): number
Title:
Transaction Quantity
Quantity of the product lot transacted for the work order.
Nested Schema : Flexfields for Operation Transaction Lots
Type:
array
Title:
Flexfields for Operation Transaction Lots
The Flexfields for Operation Transaction Lots resource manages descriptive flexfields that contain details about the transaction lot.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for transaction lots. -
InterfaceRowId: integer
(int64)
Value that uniquely identifies the transaction lot that uses the descriptive flexfields. Make sure your request payload does not include a value for this attribute. The response payload includes the primary key of the transaction lot.
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 : operationTransactions-OperationTransactionDetail-TransactionLot-item-response
Type:
Show Source
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing this operation transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separate each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing this operation transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separate each message. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date-time)
Title:
Lot Expiration Date
Date and time when the lot expires. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber: string
Title:
Lot Number
Maximum Length:80
Lot number for the transaction quantity. -
LotOriginationDate: string
(date-time)
Title:
Lot Origination Date
Date and time when the lot originated. -
LotOriginationType: string
Title:
Lot Origination Type
Maximum Length:30
Origin of the lot. The application determines the lot origination type when you create the lot. -
ParentLotNumber: string
Title:
Parent Lot Number
Maximum Length:80
Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in. -
SecondaryTransactionQuantity: number
Secondary quantity of the product lot transacted for the work order. This attribute is associated with a feature that requires opt in.
-
TransactionLotDFF: array
Flexfields for Operation Transaction Lots
Title:
Flexfields for Operation Transaction Lots
The Flexfields for Operation Transaction Lots resource manages descriptive flexfields that contain details about the transaction lot. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the product lot transacted for the work order.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Operation Transaction Lots
Type:
array
Title:
Flexfields for Operation Transaction Lots
The Flexfields for Operation Transaction Lots resource manages descriptive flexfields that contain details about the transaction lot.
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 : operationTransactions-OperationTransactionDetail-TransactionLot-TransactionLotDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for transaction lots. -
InterfaceRowId: integer
(int64)
Value that uniquely identifies the transaction lot that uses the descriptive flexfields. Make sure your request payload does not include a value for this attribute. The response payload includes the primary key of the transaction lot.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- TransactionLotDFF
-
Parameters:
- OperationTransactionDetailUniqID:
$request.path.OperationTransactionDetailUniqID
- TransactionLotUniqID:
$request.path.TransactionLotUniqID
- operationTransactionsUniqID:
$request.path.operationTransactionsUniqID
The Flexfields for Operation Transaction Lots resource manages descriptive flexfields that contain details about the transaction lot. - OperationTransactionDetailUniqID: