Create inventory transactions
/fscmRestApi/resources/11.13.18.05/inventoryTransactions
Request
-
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.
- application/json
object-
ErrorCode: string
Contains a value or is empty. Value: error message name of the failed request. Empty: the request succeeded.
-
ErrorExplanation: string
Contains a value or is empty. Value: error explanation of the failed request. Empty: the request succeeded.
-
ErrorUniqueTransactionId: string
Contains a value or is empty. Value: transaction identifier of the failed request. Empty: the request succeeded.
-
ReturnStatus: string
Status that indicates whether or not the request finished successfully.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about each transaction line.
arrayTransaction Linesobject-
AgingOnsetDate: string
(date)
Date when the inventory aging starts for the consigned item.
-
DistributionAccountId: integer
(int64)
Value that uniquely identifies the distribution account.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
Item: string
Maximum Length:
300Name of the item. -
LocationType: string
Maximum Length:
30Type of ship-to location. -
Locator: string
Maximum Length:
2000Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control ItemsThe Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share ControlThe Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240Name of the owning organization. -
OwningTpType: string
Maximum Length:
30Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80Name of the transaction reason. -
Revision: string
Maximum Length:
18Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control ItemsThe Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10Name of the subinventory. -
TransactionAction: string
Maximum Length:
80Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30Value that uniquely identifies the transaction action. -
TransactionDate(required): string
(date-time)
Date when the transaction occurred.
-
TransactionHeaderId: integer
(int64)
Value that uniquely identifies the transaction header.
-
transactionLinesDFF: array
transactionLinesDFF
-
TransactionQuantity(required): number
Transaction quantity.
-
TransactionSourceId: integer
(int64)
Value that uniquely identifies the transaction source.
-
TransactionSourceName: string
Maximum Length:
120Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30Name of the transaction source type. -
TransactionType: string
Maximum Length:
80Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000Name of the destination locator for a transfer transaction. -
TransferOrganizationId: integer
(int64)
Value that uniquely identifies the destination organization for transfer transactions.
-
TransferOrganizationName: string
Maximum Length:
240Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30Supplier number for the consigned item.
arrayLots That Control ItemsarrayLots That Share ControlarraySerials That Control Itemsobject-
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the item is lot controlled.
-
lotItemLotAttributesDFF: array
lotItemLotAttributesDFF
-
lotItemLotsDFF: array
lotItemLotsDFF
-
LotNumber(required): string
Maximum Length:
80Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80Number that identifies the parent lot . Applies when the item is lot controlled. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is lot controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is lot controlled.
-
ReasonName: string
Maximum Length:
30Name of the reason for the lot. Applies when the item is lot controlled. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is lot controlled.
-
TransactionQuantity(required): number
Transaction quantity of the lot. Applies when the item is lot controlled.
-
VendorLotNumber: string
Maximum Length:
150Number that identifies the supplier. Applies when the item is under lot control.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the lot and serial control the item.
-
LotNumber(required): string
Maximum Length:
80Lot number. Applies when the lot and serial control the item. -
lotSerialItemLotAttributesDFF: array
lotSerialItemLotAttributesDFF
-
lotSerialItemLotsDFF: array
lotSerialItemLotsDFF
-
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share ControlThe Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item. -
ParentLotNumber: string
Maximum Length:
80Number that identifies the parent lot. Applies when the lot and serial control the item. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is both lot and serial controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is both lot and serial controlled.
-
ReasonName: string
Maximum Length:
30Name of the reason for the lot. Applies when the lot and serial control the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
TransactionQuantity(required): number
Transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
VendorLotNumber: string
Maximum Length:
150Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
arraySerials That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
FromSerialNumber(required): string
Maximum Length:
80Starting serial number in a range. Applies when the lot and serial control the item. -
lotSerialItemSerialAttributesDFF: array
lotSerialItemSerialAttributesDFF
-
lotSerialItemSerialsDFF: array
lotSerialItemSerialsDFF
-
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when the lot and serial control the item.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
FromSerialNumber(required): string
Maximum Length:
80Starting serial number in a range. Applies when the item is serial controlled. -
serialItemSerialAttributesDFF: array
serialItemSerialAttributesDFF
-
serialItemSerialsDFF: array
serialItemSerialsDFF
-
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when only the serial controls the item.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
object-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
TransactionInterfaceId: integer
(int64)
Response
- application/json
Default Response
-
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.
object-
ErrorCode: string
Contains a value or is empty. Value: error message name of the failed request. Empty: the request succeeded.
-
ErrorExplanation: string
Contains a value or is empty. Value: error explanation of the failed request. Empty: the request succeeded.
-
ErrorUniqueTransactionId: string
Contains a value or is empty. Value: transaction identifier of the failed request. Empty: the request succeeded.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ReturnStatus: string
Status that indicates whether or not the request finished successfully.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about each transaction line.
arrayLinksarrayTransaction Linesobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object-
AgingOnsetDate: string
(date)
Date when the inventory aging starts for the consigned item.
-
DistributionAccountId: integer
(int64)
Value that uniquely identifies the distribution account.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
Item: string
Maximum Length:
300Name of the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationType: string
Maximum Length:
30Type of ship-to location. -
Locator: string
Maximum Length:
2000Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control ItemsThe Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share ControlThe Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240Name of the owning organization. -
OwningTpType: string
Maximum Length:
30Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80Name of the transaction reason. -
Revision: string
Maximum Length:
18Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control ItemsThe Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10Name of the subinventory. -
TransactionAction: string
Maximum Length:
80Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30Value that uniquely identifies the transaction action. -
TransactionDate: string
(date-time)
Date when the transaction occurred.
-
TransactionHeaderId: integer
(int64)
Value that uniquely identifies the transaction header.
-
transactionLinesDFF: array
transactionLinesDFF
-
TransactionQuantity: number
Transaction quantity.
-
TransactionSourceId: integer
(int64)
Value that uniquely identifies the transaction source.
-
TransactionSourceName: string
Maximum Length:
120Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30Name of the transaction source type. -
TransactionType: string
Maximum Length:
80Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000Name of the destination locator for a transfer transaction. -
TransferOrganizationId: integer
(int64)
Value that uniquely identifies the destination organization for transfer transactions.
-
TransferOrganizationName: string
Maximum Length:
240Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30Supplier number for the consigned item.
arrayLinksarrayLots That Control ItemsarrayLots That Share ControlarraySerials That Control Itemsobject-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the item is lot controlled.
-
lotItemLotAttributesDFF: array
lotItemLotAttributesDFF
-
lotItemLotsDFF: array
lotItemLotsDFF
-
LotNumber: string
Maximum Length:
80Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80Number that identifies the parent lot . Applies when the item is lot controlled. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is lot controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is lot controlled.
-
ReasonName: string
Maximum Length:
30Name of the reason for the lot. Applies when the item is lot controlled. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is lot controlled.
-
TransactionQuantity: number
Transaction quantity of the lot. Applies when the item is lot controlled.
-
VendorLotNumber: string
Maximum Length:
150Number that identifies the supplier. Applies when the item is under lot control.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the lot and serial control the item.
-
LotNumber: string
Maximum Length:
80Lot number. Applies when the lot and serial control the item. -
lotSerialItemLotAttributesDFF: array
lotSerialItemLotAttributesDFF
-
lotSerialItemLotsDFF: array
lotSerialItemLotsDFF
-
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share ControlThe Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item. -
ParentLotNumber: string
Maximum Length:
80Number that identifies the parent lot. Applies when the lot and serial control the item. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is both lot and serial controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is both lot and serial controlled.
-
ReasonName: string
Maximum Length:
30Name of the reason for the lot. Applies when the lot and serial control the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
TransactionQuantity: number
Transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
VendorLotNumber: string
Maximum Length:
150Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
arrayLinksarraySerials That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
FromSerialNumber: string
Maximum Length:
80Starting serial number in a range. Applies when the lot and serial control the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
lotSerialItemSerialAttributesDFF: array
lotSerialItemSerialAttributesDFF
-
lotSerialItemSerialsDFF: array
lotSerialItemSerialsDFF
-
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when the lot and serial control the item.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
FromSerialNumber: string
Maximum Length:
80Starting serial number in a range. Applies when the item is serial controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
serialItemSerialAttributesDFF: array
serialItemSerialAttributesDFF
-
serialItemSerialsDFF: array
serialItemSerialsDFF
-
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when only the serial controls the item.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
FromSerialNumber: string
Maximum Length:
80 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
arrayLinksobject-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
arrayLinks- transactionLines
-
Parameters:
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Transaction Lines resource manages details about each transaction line. - inventoryTransactionsUniqID:
Examples
This example describes how to process inventory transactions.
Example cURL Command
Use the following cURL command to submit a request on the REST resource. This example processes inventory transactions for item INV-100, that occur on 2016-06-06, in subinventory Stores, in organization 207, for miscellaneous receipts:
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inventoryTransactions"
Example 1 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.
{
"transactionLines":[
{
"OrganizationId" : 207,
"Item" : "INV-100",
"Subinventory" : "Stores",
"TransactionType" : "Miscellaneous Receipt",
"TransactionUnitOfMeasure" : "Each",
"TransactionQuantity" : 500,
"TransactionDate" : "2016-06-06"
}]
}
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{
"ReturnStatus" : "SUCCESS",
"ErrorCode" : null,
"ErrorExplanation" : null,
"ErrorUniqueTransactionId" : "0",
"transactionLines" : [ {
"UniqueTransactionId" : 300100090016070,
"TransactionHeaderId" : 300100090016071,
"OrganizationId" : 207,
"OrganizationName" : null,
"InventoryItemId" : null,
"Item" : "INV-100",
"Revision" : null,
"Subinventory" : "Stores",
"LocatorId" : null,
"Locator" : null,
"LocationType" : null,
"PrimaryQuantity" : null,
"TransactionQuantity" : 500,
"TransactionUOM" : null,
"TransactionUnitOfMeasure" : "Each",
"SecondaryTransactionQuantity" : null,
"SourceLineId" : -999,
"SourceHeaderId" : 22234542,
"TransactionDate" : "2016-06-06",
"TransactionSourceId" : null,
"TransactionSourceName" : null,
"ReasonId" : null,
"ReasonName" : null,
"DistributionAccountId" : null,
"OwningOrganizationId" : null,
"OwningOrganizationName" : null,
"OwningTpType" : null,
"TransferOrganizationId" : null,
"TransferOrganizationName" : null,
"TransferOwningOrganizationId" : null,
"TransferOwningOrganizationName" : null,
"TransferOwningTpType" : null,
"TransferSubinventory" : null,
"TransferLocator" : null,
"TransferLocatorName" : null,
"ProcurementBU" : null,
"VendorName" : null,
"VendorNumber" : null,
"AgingOnsetDate" : null,
"TransactionSourceTypeId" : null,
"TransactionSourceTypeName" : null,
"TransactionActionId" : null,
"TransactionAction" : null,
"TransactionTypeId" : null,
"TransactionType" : "Miscellaneous Receipt",
"ShipmentNumber" : null
} ]
}
Example 2 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.
{
"transactionLines":[
{
"OrganizationName" : "Fusion Denver",
"Item" : "NJ_FG_ITEM",
"Subinventory" : "FG DENV",
"TransactionType" : "Miscellaneous Receipt",
"TransactionUnitOfMeasure" : "Each",
"TransactionQuantity" : 21 ,
"TransactionDate" : "2021-01-25",
"transactionLinesDFF":[{
"gseg1":"Test",
"__FLEX_Context" : "DFFCON",
"csegment1" : "TestPRP"
}]
}]
}
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{
"ReturnStatus": "SUCCESS",
"ErrorCode": null,
"ErrorExplanation": null,
"ErrorUniqueTransactionId": "0",
"transactionLines": [
{
"UniqueTransactionId": 300000122922871,
"TransactionHeaderId": 300000122922872,
"OrganizationId": null,
"OrganizationName": "PennyPack Systems",
"InventoryItemId": null,
"Item": "NJ_FG_ITEM",
"Revision": null,
"Subinventory": "FG DENV",
"LocatorId": null,
"Locator": null,
"LocationType": null,
"PrimaryQuantity": null,
"TransactionQuantity": 21,
"TransactionUOM": null,
"TransactionUnitOfMeasure": "Each",
"SecondaryTransactionQuantity": null,
"SourceLineId": -999,
"SourceHeaderId": 364017,
"TransactionDate": "2021-01-25T00:00:00+00:00",
"TransactionSourceId": null,
"TransactionSourceName": null,
"ReasonId": null,
"ReasonName": null,
"DistributionAccountId": null,
"OwningOrganizationId": null,
"OwningOrganizationName": null,
"OwningTpType": null,
"TransferOrganizationId": null,
"TransferOrganizationName": null,
"TransferOwningOrganizationId": null,
"TransferOwningOrganizationName": null,
"TransferOwningTpType": null,
"TransferSubinventory": null,
"TransferLocator": null,
"TransferLocatorName": null,
"ProcurementBU": null,
"VendorName": null,
"VendorNumber": null,
"AgingOnsetDate": null,
"TransactionSourceTypeId": null,
"TransactionSourceTypeName": null,
"TransactionActionId": null,
"TransactionAction": null,
"TransactionTypeId": null,
"TransactionType": "Miscellaneous Receipt",
"ShipmentNumber": null,
"transactionLinesDFF": [
{
"TransactionInterfaceId": 300000122922871,
"gseg1": "Test",
"__FLEX_Context": "DFFCON",
"__FLEX_Context_DisplayValue": "DFFCONTEXT",
"csegment1": "TestPRP",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871",
"name": "transactionLinesDFF",
"kind": "item",
"properties": {
"changeIndicator":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871",
"name": "transactionLinesDFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871/lov/LVVO___FLEX_Context",
"name": "LVVO___FLEX_Context",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item",
"properties": {
"changeIndicator":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/lotItemLots",
"name": "lotItemLots",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/lotSerialItemLots",
"name": "lotSerialItemLots",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/serialItemSerials",
"name": "serialItemSerials",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF",
"name": "transactionLinesDFF",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines",
"name": "transactionLines",
"kind": "collection"
}
]
}