Create one lot
post
/fscmRestApi/resources/11.13.18.05/maintenanceOperationTransactions/{maintenanceOperationTransactionsUniqID}/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.
-
maintenanceOperationTransactionsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Maintenance Work Order Operation Transactions resource and used to uniquely identify an instance of Maintenance Work Order Operation Transactions. The client should not generate the hash key value. Instead, the client should query on the Maintenance Work Order Operation Transactions collection resource in order to navigate to a specific instance of Maintenance 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. -
LotHoldDate: 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. -
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 Transaction Lot resource manages details about the descriptive flexfields for a lot number in the maintenance operation transaction. -
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 Transaction Lot resource manages details about the descriptive flexfields for a lot number in the maintenance operation transaction.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Attribute that represents the descriptive flexfield context. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Attribute that represents the descriptive flexfield context display value. -
InterfaceRowId: integer
(int64)
Unique identifier for transaction lot interface.
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 : maintenanceOperationTransactions-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 serial in the 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 messages, if any, when processing this serial in the 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. -
LotHoldDate: 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. -
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 Transaction Lot resource manages details about the descriptive flexfields for a lot number in the maintenance operation transaction. -
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 Transaction Lot resource manages details about the descriptive flexfields for a lot number in the maintenance operation transaction.
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 : maintenanceOperationTransactions-OperationTransactionDetail-TransactionLot-TransactionLotDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Attribute that represents the descriptive flexfield context. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Attribute that represents the descriptive flexfield context display value. -
InterfaceRowId: integer
(int64)
Unique identifier for transaction lot interface.
-
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
- maintenanceOperationTransactionsUniqID:
$request.path.maintenanceOperationTransactionsUniqID
The Flexfields for Transaction Lot resource manages details about the descriptive flexfields for a lot number in the maintenance operation transaction. - OperationTransactionDetailUniqID: