Create one transaction

post

/fscmRestApi/resources/11.13.18.05/inventoryStagedTransactions

Request

Header Parameters
  • 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".
  • 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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Costs
Type: array
Title: Costs
The Costs resource manages the costs associated with the inventory staged transaction.
Show Source
Nested Schema : Flexfields for Inventory Staged Transactions
Type: array
Title: Flexfields for Inventory Staged Transactions
The Flexfields for Inventory Staged Transactions resource manages the descriptive flexfields defined for the transaction.
Show Source
Nested Schema : Lots
Type: array
Title: Lots
The Lots resource manages the lots of a staged inventory transaction.
Show Source
Nested Schema : Project Cost Details
Type: array
Title: Project Cost Details
The Project Cost Details resource manages the project cost elements associated with the inventory staged transaction.
Show Source
Nested Schema : Serials
Type: array
Title: Serials
The Serials resource manages the serials of a staged inventory transaction for a serial controlled item.
Show Source
Nested Schema : Tracking Attributes
Type: array
Title: Tracking Attributes
The Tracking Attributes resource manages the inventory tracking attribute associated with the inventory staged transaction. This resource is associated with a feature that requires opt in.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Lot Attributes
Type: array
Title: Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the lot attributes descriptive flexfields for a lot controlled item.
Show Source
Nested Schema : Lot Serials
Type: array
Title: Lot Serials
The Lot Serials resource manages the serials for a lot of a staged inventory transaction when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Lots
Type: array
Title: Flexfields for Lots
The Flexfields for Lots resource manages the lot descriptive flexfields for a lot controlled item.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Serial Attributes
Type: array
Title: Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the serial attributes descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : Flexfields for Serials
Type: array
Title: Flexfields for Serials
The Flexfields for Serials resource manages the serial descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotSerials-serialAttributeDFFs-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Serial Attributes
Type: array
Title: Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the serial attributes descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : Flexfields for Serials
Type: array
Title: Flexfields for Serials
The Flexfields for Serials resource manages the serial descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 40
    Descriptive flexfield context name for tracking attributes. This attribute is associated with a feature that requires opt in.
  • Title: Context Segment
    Descriptive flexfield context display value for tracking attributes. This attribute is associated with a feature that requires opt in.
  • Title: Country of Origin
    Maximum Length: 2
    Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt in.
  • Title: Country of Origin
    Name of the country of origin. This attribute is associated with a feature that requires opt in.
  • Title: Project
    Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in.
  • Title: Project
    Number that identifies the project. This attribute is associated with a feature that requires opt in.
  • Title: Task
    Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in.
  • Title: Task
    Number that identifies the task. This attribute is associated with a feature that requires opt in.
  • Value that uniquely identifies the transaction. This attribute is associated with a feature that requires opt in.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : inventoryStagedTransactions-item-response
Type: object
Show Source
Nested Schema : Costs
Type: array
Title: Costs
The Costs resource manages the costs associated with the inventory staged transaction.
Show Source
Nested Schema : Flexfields for Inventory Staged Transactions
Type: array
Title: Flexfields for Inventory Staged Transactions
The Flexfields for Inventory Staged Transactions resource manages the descriptive flexfields defined for the transaction.
Show Source
Nested Schema : Lots
Type: array
Title: Lots
The Lots resource manages the lots of a staged inventory transaction.
Show Source
Nested Schema : Project Cost Details
Type: array
Title: Project Cost Details
The Project Cost Details resource manages the project cost elements associated with the inventory staged transaction.
Show Source
Nested Schema : Serials
Type: array
Title: Serials
The Serials resource manages the serials of a staged inventory transaction for a serial controlled item.
Show Source
Nested Schema : Tracking Attributes
Type: array
Title: Tracking Attributes
The Tracking Attributes resource manages the inventory tracking attribute associated with the inventory staged transaction. This resource is associated with a feature that requires opt in.
Show Source
Nested Schema : inventoryStagedTransactions-costs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-dFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-lots-item-response
Type: object
Show Source
Nested Schema : Flexfields for Lot Attributes
Type: array
Title: Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the lot attributes descriptive flexfields for a lot controlled item.
Show Source
Nested Schema : Lot Serials
Type: array
Title: Lot Serials
The Lot Serials resource manages the serials for a lot of a staged inventory transaction when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Lots
Type: array
Title: Flexfields for Lots
The Flexfields for Lots resource manages the lot descriptive flexfields for a lot controlled item.
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotAttributeDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotSerials-item-response
Type: object
Show Source
Nested Schema : Flexfields for Serial Attributes
Type: array
Title: Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the serial attributes descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : Flexfields for Serials
Type: array
Title: Flexfields for Serials
The Flexfields for Serials resource manages the serial descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotSerials-serialAttributeDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotSerials-serialStandardDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-lots-lotStandardDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-projectCostingDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-serials-item-response
Type: object
Show Source
Nested Schema : Flexfields for Serial Attributes
Type: array
Title: Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the serial attributes descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : Flexfields for Serials
Type: array
Title: Flexfields for Serials
The Flexfields for Serials resource manages the serial descriptive flexfields for a serial controlled item.
Show Source
Nested Schema : inventoryStagedTransactions-serials-serialAttributeDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-serials-serialStandardDFFs-item-response
Type: object
Show Source
Nested Schema : inventoryStagedTransactions-trackingAttributesDFF-item-response
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 40
    Descriptive flexfield context name for tracking attributes. This attribute is associated with a feature that requires opt in.
  • Title: Context Segment
    Descriptive flexfield context display value for tracking attributes. This attribute is associated with a feature that requires opt in.
  • Title: Country of Origin
    Maximum Length: 2
    Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt in.
  • Title: Country of Origin
    Name of the country of origin. This attribute is associated with a feature that requires opt in.
  • Links
  • Title: Project
    Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in.
  • Title: Project
    Number that identifies the project. This attribute is associated with a feature that requires opt in.
  • Title: Task
    Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in.
  • Title: Task
    Number that identifies the task. This attribute is associated with a feature that requires opt in.
  • Value that uniquely identifies the transaction. This attribute is associated with a feature that requires opt in.
Back to Top

Examples

This example describes how to create one transaction.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -u username:password -X POST -H Key:Content-Type, Value:application/vnd.oracle.adf.batch+json -d 'request payload' 
"https://servername/fscmRestApi/resources/version/inventoryStagedTransactions"

Example 1 Request Body

The following example includes the contents of the request body in JSON format to create a miscellaneous receipt for a quantity of 10 of a plain item. 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.

{"parts":[
{
  "id":"part1",
  "path":"/inventoryStagedTransactions",
  "operation":"create",
  "payload":{      
      "OrganizationName": "Seven Corporation",
            "ItemNumber": "INV-100",
            "TransactionTypeName":"Miscellaneous Receipt",
  "TransactionQuantity": "10",
  "TransactionUnitOfMeasure": "Each",
  "TransactionDate": "2017-01-01",
  "SubinventoryCode": "Staging1" ,
  ...
}
},
{
  "id":"part2",
  "path":"/inventoryStagedTransactions",
  "operation":"create",
  "payload":{            "OrganizationName": "Seven Corporation",
            "ItemNumber": "INV-100",
            "TransactionTypeName":"Miscellaneous Receipt",
  "TransactionQuantity": "10",
  "TransactionUnitOfMeasure": "Each",
  "TransactionDate": "2017-01-01",
  "SubinventoryCode": "Staging1" ,
  ...
}
}
]
}

Example 1 Response Body

The following example includes the contents of the response body in JSON format:

{
    "parts": [
        {
            "id": "part1",
            "path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
            "operation": "create",
            "payload": {
                "OrganizationId": null,
                "OrganizationName": "Seven Corporation",
                "InventoryItemId": null,
                "ItemNumber": "INV-100",
                "ItemDescription": null,
                "Revision": null,
                "SubinventoryCode": "Staging1",
                "LocatorId": null,
                "LocatorName": null,
                "TransactionQuantity": 10,
                "TransactionUOM": null,
                "TransactionUnitOfMeasure": "Each",
    ...
            }
        },
        {
            "id": "part2",
            "path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
            "operation": "create",
            "payload": {
                "OrganizationId": null,
                "OrganizationName": "Seven Corporation",
                "InventoryItemId": null,
                "ItemNumber": "INV-100",
                "ItemDescription": null,
                "Revision": null,
                "SubinventoryCode": "Staging1",
                "LocatorId": null,
                "LocatorName": null,
                "TransactionQuantity": 10,
                "TransactionUOM": null,
                "TransactionUnitOfMeasure": "Each",
    ...
            }
        }
    ]
}

Example 2 Request Body

The following example includes the contents of the request body in JSON format to post an inventory lot split transaction that splits lot RC101-L02 into two lots, lot number RC101-L03 and lot number RC101-L04. 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.

{
	"parts": [
	{
		"id": "part1",
		"path": "/inventoryStagedTransactions",
		"operation": "create",
		"payload": {
			"SourceCode": "SERVICE",
			"ProcessStatus":1,
			"SourceHeaderId":1,
			"SourceLineId": "1",
			"UseCurrentCostFlag": "true",
			"TransactionMode": "3",
			"TransactionBatchId": "2304789",
			"TransactionTypeName": "Inventory Lot Split",       
			"OrganizationName": "Seattle Manufacturing",
			"ItemNumber": "RC101",
			"TransactionQuantity": "-50",
			"TransactionUnitOfMeasure": "Each",
			"TransactionDate": "2020-07-27T01:19:00",
			"SubinventoryCode": "RCSUB1",
			"SourceLotFlag": "true",
			"LotTransactionGroupName": "RC-07-27-02",
			"lots": [
			{
				"LotNumber": "RC101-L02",
				"TransactionQuantity": "-50"
			}
			]
		}
	},
	{
		"id": "part2",
		"path": "/inventoryStagedTransactions",
		"operation": "create",
		"payload": {
			"SourceCode": "SERVICE",
			"ProcessStatus":1,
			"SourceHeaderId":1,
			"SourceLineId": "2",
			"UseCurrentCostFlag": "true",
			"TransactionMode": "3",
			"TransactionBatchId": "2304789",
			"TransactionTypeName": "Inventory Lot Split",
			"OrganizationName": "Seattle Manufacturing",
			"ItemNumber": "RC101",
			"TransactionQuantity": "20",
			"TransactionUnitOfMeasure": "Each",
			"TransactionDate": "2020-07-27T01:19:00",
			"SubinventoryCode": "RCSUB1",
			"SourceLotFlag": "false",
			"LotTransactionGroupName": "RC-07-27-02",
			"lots": [
			{
				"LotNumber": "RC101-L03",
				"TransactionQuantity": 20
			}
			]
		}
	},
	{
		"id": "part3",
		"path": "/inventoryStagedTransactions",
		"operation": "create",
		"payload": {
			"SourceCode": "SERVICE",
			"ProcessStatus":1,
			"SourceHeaderId":1,
			"SourceLineId": "2",
			"UseCurrentCostFlag": "true",
			"TransactionMode": "3",
			"TransactionBatchId": "2304789",
			"TransactionTypeName": "Inventory Lot Split",
			"OrganizationName": "Seattle Manufacturing",
			"ItemNumber": "RC101",
			"TransactionQuantity": "30",
			"TransactionUnitOfMeasure": "Each",
			"TransactionDate": "2020-07-27T01:19:00",
			"SubinventoryCode": "RCSUB1",
			"SourceLotFlag": "false",
			"LotTransactionGroupName": "RC-07-27-02",
			"lots": [
			{
				"LotNumber": "RC101-L04",
				"TransactionQuantity": 30
			}
			]
		}
	}
	]
}

Example 2 Response Body

The following example includes the contents of the response body in JSON format:

{
	"parts": [
	{
		"id": "part1",
		"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
		"operation": "create",
		"payload": {
			"OrganizationId": 207,
			"OrganizationName": "Seattle Manufacturing",
			"InventoryItemId": null,
			"ItemNumber": "RC101",
			"ItemDescription": null,
			"Revision": null,
			"SubinventoryCode": "RCSUB1",
			"LocatorId": null,
			"LocatorName": null,
			"TransactionQuantity": -50,
			"TransactionUOM": null,
			"TransactionUnitOfMeasure": "Each",
			"TransferOrganization": null,
			"TransferOrganizationName": null,
			"TransferSubinventory": null,
			"TransferLocator": null,
			"TransferLocatorName": null,
			"TransactionHeaderId": null,
			"TransactionInterfaceId": 300100185497456,
			"TrxSourceLineId": null,
			"TrxSourceDeliveryId": null,
			"TransactionDate": "2020-07-27T01:19:00+00:00",
			"SourceCode": "SERVICE",
			"SourceHeaderId": 1,
			"SourceLineId": 1,
			"TransactionSourceName": null,
			"DemandSourceHeaderId": null,
			"DemandSourceLine": null,
			"DemandSourceDelivery": null,
			"TransactionTypeName": "Inventory Lot Split",
			"TransactionTypeId": null,
			"TransactionSourceTypeName": null,
			"TransactionSourceTypeId": null,
			"TransactionActionName": null,
			"TransactionActionId": null,
			"TransactionMode": "3",
			"LockStatus": null,
			"ProcessStatus": "1",
			"TransactionReference": null,
			"ReasonId": null,
			"ReasonName": null,
			"ErrorCode": null,
			"ErrorExplanation": null,
			"ShipmentNumber": null,
			"FreightCarrierId": null,
			"Carrier": null,
			"ExternalSystemPackingUnit": null,
			"WaybillAirbill": null,
			"Containers": null,
			"TransferCost": null,
			"TransportationCost": null,
			"ExpectedArrivalDate": null,
			"OwningOrganizationId": null,
			"OwningOrganizationName": null,
			"OwningTpType": null,
			"TransferOwningOrganizationId": null,
			"TransferOwningOrganizationName": null,
			"TransferOwningTpType": null,
			"ProcurementBusinessUnitName": null,
			"VendorName": null,
			"VendorNumber": null,
			"ConsignmentAgreementNumber": null,
			"DistributionAccountId": null,
			"UseCurrentCostFlag": true,
			"PrimaryQuantity": null,
			"TransactionBatchId": 2304789,
			"TransactionBatchSequence": null,
			"TransactionCost": null,
			"TransactionGroupId": null,
			"TransactionGroupSequence": null,
			"DefaultTaxationCountry": null,
			"DocumentSubType": null,
			"TrxBusinessCategory": null,
			"UserDefinedFiscClass": null,
			"TaxInvoiceNumber": null,
			"TaxInvoiceDate": null,
			"ProductCategory": null,
			"ProductType": null,
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"ExemptCertificateNumber": null,
			"ExemptReasonCode": null,
			"IntendedUse": null,
			"FirstPtyNumber": null,
			"ThirdPtyNumber": null,
			"FinalDischargeLocCode": null,
			"CategoryName": null,
			"TransactionCostIdentifier": null,
			"TransactionSourceId": null,
			"ChartOfAccountsId": 101,
			"StructureInstanceNumber": null,
			"SecondaryInventoryName": null,
			"SubinventoryId": null,
			"TransferSubInventoryId": null,
			"TransferLocatorsSIN": null,
			"AccountCombination": null,
			"AccountAliasCombination": null,
			"TransferProjectId": null,
			"TransferTaskId": null,
			"TransferInvProject": null,
			"TransferInvTask": null,
			"LotTransactionGroupName": "RC-07-27-02",
			"SourceLotFlag": true,
			"RequesterId": null,
			"RequesterName": null,
			"RequesterNumber": null,
			"ExternalSystemTransactionReference": null,
			"RepresentativeLotFlag": null,
			"SecondaryUOMCode": null,
			"SecondaryUnitOfMeasure": null,
			"SecondaryTransactionQuantity": null,
			"lots": [
			{
				"TransactionInterfaceId": 300100185497456,
				"LotNumber": "RC101-L02",
				"TransactionQuantity": -50,
				"PrimaryQuantity": null,
				"LotExpirationDate": null,
				"ExpirationActionCode": null,
				"ExpirationActionDate": null,
				"ExpirationActionName": null,
				"OriginationDate": null,
				"OriginationType": null,
				"HoldDate": null,
				"MaturityDate": null,
				"ReasonName": null,
				"ReasonCode": null,
				"ReasonId": null,
				"SourceCode": null,
				"SourceLineId": null,
				"StatusId": null,
				"StatusCode": null,
				"GradeCode": null,
				"SupplierLotNumber": null,
				"TerritoryShortName": null,
				"LotVolume": null,
				"VolumeUOMName": null,
				"LotLength": null,
				"LengthUOMName": null,
				"LotThickness": null,
				"LotWidth": null,
				"WidthUOMName": null,
				"VendorName": null,
				"SerialTransactionTempId": 300100185497457,
				"ErrorCode": null,
				"ProductCode": null,
				"ProductTransactionId": null,
				"SecondaryTransactionQuantity": null,
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots/00020000000EACED00057708000110F084F41F700000000952433130312D4C3032",
					"name": "lots",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots/00020000000EACED00057708000110F084F41F700000000952433130312D4C3032",
					"name": "lots",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456",
					"name": "inventoryStagedTransactions",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots/00020000000EACED00057708000110F084F41F700000000952433130312D4C3032/child/lotAttributeDFFs",
					"name": "lotAttributeDFFs",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots/00020000000EACED00057708000110F084F41F700000000952433130312D4C3032/child/lotSerials",
					"name": "lotSerials",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots/00020000000EACED00057708000110F084F41F700000000952433130312D4C3032/child/lotStandardDFFs",
					"name": "lotStandardDFFs",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456",
				"name": "inventoryStagedTransactions",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456",
				"name": "inventoryStagedTransactions",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/costs",
				"name": "costs",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/dFFs",
				"name": "dFFs",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/lots",
				"name": "lots",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/projectCostingDFFs",
				"name": "projectCostingDFFs",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/serials",
				"name": "serials",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497456/child/trackingAttributesDFF",
				"name": "trackingAttributesDFF",
				"kind": "collection"
			}
			]
		}
	},
	{
		"id": "part2",
		"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
		"operation": "create",
		"payload": {
			....
		},
		{
			"id": "part3",
			"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
			"operation": "create",
			"payload": {
				....
			}
		}
		]
	}
	

Example 3 Request Body

The following example includes the contents of the request body in JSON format to post an inventory lot merge transaction that merges lot number RC101-L03 and RC101-L04 into lot number RC101-L05.

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

	{
		"parts": [
		{
			"id": "part1",
			"path": "/inventoryStagedTransactions",
			"operation": "create",
			"payload": {
				"SourceCode": "SERVICE",
				"ProcessStatus":1,
				"SourceHeaderId":1,
				"SourceLineId": "1",
				"UseCurrentCostFlag": "true",
				"TransactionMode": "3",
				"TransactionBatchId": "2304789",
				"TransactionTypeName": "Inventory Lot Merge",       
				"OrganizationName": "Seattle Manufacturing",
				"ItemNumber": "RC101",
				"TransactionQuantity": "-30",
				"TransactionUnitOfMeasure": "Each",
				"TransactionDate": "2020-07-27T01:19:00",
				"SubinventoryCode": "RCSUB1",
				"SourceLotFlag": "true",
				"LotTransactionGroupName": "RC-07-27-03",
				"lots": [
				{
					"LotNumber": "RC101-L04",
					"TransactionQuantity": "-30"
				}
				]
			}
		},     
		{
			"id": "part2",
			"path": "/inventoryStagedTransactions",
			"operation": "create",
			"payload": {
				"SourceCode": "SERVICE",
				"ProcessStatus":1,
				"SourceHeaderId":1,
				"SourceLineId": "1",
				"UseCurrentCostFlag": "true",
				"TransactionMode": "3",
				"TransactionBatchId": "2304789",
				"TransactionTypeName": "Inventory Lot Merge",       
				"OrganizationName": "Seattle Manufacturing",
				"ItemNumber": "RC101",
				"TransactionQuantity": "-20",
				"TransactionUnitOfMeasure": "Each",
				"TransactionDate": "2020-07-27T01:19:00",
				"SubinventoryCode": "RCSUB1",
				"SourceLotFlag": "true",
				"LotTransactionGroupName": "RC-07-27-03",
				"lots": [
				{
					"LotNumber": "RC101-L03",
					"TransactionQuantity": "-20"
				}
				]
			}
		},
		{
			"id": "part3",
			"path": "/inventoryStagedTransactions",
			"operation": "create",
			"payload": {
				"SourceCode": "SERVICE",
				"ProcessStatus":1,
				"SourceHeaderId":1,
				"SourceLineId": "2",
				"UseCurrentCostFlag": "true",
				"TransactionMode": "3",
				"TransactionBatchId": "2304789",
				"TransactionTypeName": "Inventory Lot Merge",
				"OrganizationName": "Seattle Manufacturing",
				"ItemNumber": "RC101",
				"TransactionQuantity": "50",
				"TransactionUnitOfMeasure": "Each",
				"TransactionDate": "2020-07-27T01:19:00",
				"SubinventoryCode": "RCSUB1",
				"SourceLotFlag": "false",
				"LotTransactionGroupName": "RC-07-27-03",
				"lots": [
				{
					"LotNumber": "RC101-L05",
					"TransactionQuantity": 50
				}
				]
			}
		}
		]
	}
	

Example 3 Response Body

The following example includes the contents of the response body in JSON format:

	{
		"parts": [
		{
			"id": "part1",
			"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
			"operation": "create",
			"payload": {
				"OrganizationId": 207,
				"OrganizationName": "Seattle Manufacturing",
				"InventoryItemId": null,
				"ItemNumber": "RC101",
				"ItemDescription": null,
				"Revision": null,
				"SubinventoryCode": "RCSUB1",
				"LocatorId": null,
				"LocatorName": null,
				"TransactionQuantity": -30,
				"TransactionUOM": null,
				"TransactionUnitOfMeasure": "Each",
				"TransferOrganization": null,
				"TransferOrganizationName": null,
				"TransferSubinventory": null,
				"TransferLocator": null,
				"TransferLocatorName": null,
				"TransactionHeaderId": null,
				"TransactionInterfaceId": 300100185497463,
				"TrxSourceLineId": null,
				"TrxSourceDeliveryId": null,
				"TransactionDate": "2020-07-27T01:19:00+00:00",
				"SourceCode": "SERVICE",
				"SourceHeaderId": 1,
				"SourceLineId": 1,
				"TransactionSourceName": null,
				"DemandSourceHeaderId": null,
				"DemandSourceLine": null,
				"DemandSourceDelivery": null,
				"TransactionTypeName": "Inventory Lot Merge",
				"TransactionTypeId": null,
				"TransactionSourceTypeName": null,
				"TransactionSourceTypeId": null,
				"TransactionActionName": null,
				"TransactionActionId": null,
				"TransactionMode": "3",
				"LockStatus": null,
				"ProcessStatus": "1",
				"TransactionReference": null,
				"ReasonId": null,
				"ReasonName": null,
				"ErrorCode": null,
				"ErrorExplanation": null,
				"ShipmentNumber": null,
				"FreightCarrierId": null,
				"Carrier": null,
				"ExternalSystemPackingUnit": null,
				"WaybillAirbill": null,
				"Containers": null,
				"TransferCost": null,
				"TransportationCost": null,
				"ExpectedArrivalDate": null,
				"OwningOrganizationId": null,
				"OwningOrganizationName": null,
				"OwningTpType": null,
				"TransferOwningOrganizationId": null,
				"TransferOwningOrganizationName": null,
				"TransferOwningTpType": null,
				"ProcurementBusinessUnitName": null,
				"VendorName": null,
				"VendorNumber": null,
				"ConsignmentAgreementNumber": null,
				"DistributionAccountId": null,
				"UseCurrentCostFlag": true,
				"PrimaryQuantity": null,
				"TransactionBatchId": 2304789,
				"TransactionBatchSequence": null,
				"TransactionCost": null,
				"TransactionGroupId": null,
				"TransactionGroupSequence": null,
				"DefaultTaxationCountry": null,
				"DocumentSubType": null,
				"TrxBusinessCategory": null,
				"UserDefinedFiscClass": null,
				"TaxInvoiceNumber": null,
				"TaxInvoiceDate": null,
				"ProductCategory": null,
				"ProductType": null,
				"AssessableValue": null,
				"TaxClassificationCode": null,
				"ExemptCertificateNumber": null,
				"ExemptReasonCode": null,
				"IntendedUse": null,
				"FirstPtyNumber": null,
				"ThirdPtyNumber": null,
				"FinalDischargeLocCode": null,
				"CategoryName": null,
				"TransactionCostIdentifier": null,
				"TransactionSourceId": null,
				"ChartOfAccountsId": 101,
				"StructureInstanceNumber": null,
				"SecondaryInventoryName": null,
				"SubinventoryId": null,
				"TransferSubInventoryId": null,
				"TransferLocatorsSIN": null,
				"AccountCombination": null,
				"AccountAliasCombination": null,
				"TransferProjectId": null,
				"TransferTaskId": null,
				"TransferInvProject": null,
				"TransferInvTask": null,
				"LotTransactionGroupName": "RC-07-27-03",
				"SourceLotFlag": true,
				"RequesterId": null,
				"RequesterName": null,
				"RequesterNumber": null,
				"ExternalSystemTransactionReference": null,
				"RepresentativeLotFlag": null,
				"SecondaryUOMCode": null,
				"SecondaryUnitOfMeasure": null,
				"SecondaryTransactionQuantity": null,
				"lots": [
				{
					"TransactionInterfaceId": 300100185497463,
					"LotNumber": "RC101-L04",
					"TransactionQuantity": -30,
					"PrimaryQuantity": null,
					"LotExpirationDate": null,
					"ExpirationActionCode": null,
					"ExpirationActionDate": null,
					"ExpirationActionName": null,
					"OriginationDate": null,
					"OriginationType": null,
					"HoldDate": null,
					"MaturityDate": null,
					"ReasonName": null,
					"ReasonCode": null,
					"ReasonId": null,
					"SourceCode": null,
					"SourceLineId": null,
					"StatusId": null,
					"StatusCode": null,
					"GradeCode": null,
					"SupplierLotNumber": null,
					"TerritoryShortName": null,
					"LotVolume": null,
					"VolumeUOMName": null,
					"LotLength": null,
					"LengthUOMName": null,
					"LotThickness": null,
					"LotWidth": null,
					"WidthUOMName": null,
					"VendorName": null,
					"SerialTransactionTempId": 300100185497464,
					"ErrorCode": null,
					"ProductCode": null,
					"ProductTransactionId": null,
					"SecondaryTransactionQuantity": null,
					"links": [
					{ ....
					}]
					
				},
				{
					"id": "part2",
					"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"OrganizationId": 207,
						"OrganizationName": "Seattle Manufacturing",
						"InventoryItemId": null,
						......
					}
				},
				{
					"id": "part3",
					"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"OrganizationId": 207,
						"OrganizationName": "Seattle Manufacturing",
						"InventoryItemId": null,
						...
					}
				}
				]
			}
			

Example 4 Request Body

The following example includes the contents of the request body in JSON format to post an inventory lot translate transaction that translates lot number 2000-19Y into Lot number 2000-20Y. 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.

			{
				"parts": [
				{
					"id": "part1",
					"path": "/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"SourceCode": "SERVICE",
						"ProcessStatus":1,
						"SourceHeaderId":1,
						"SourceLineId": "1",
						"UseCurrentCostFlag": "true",
						"TransactionMode": "3",
						"TransactionBatchId": "2304789",
						"TransactionTypeName": "Inventory Lot Translate",       
						"OrganizationName": "Seattle Manufacturing",
						"ItemNumber": "Merlot-Base",
						"TransactionQuantity": "-500",
						"TransactionUnitOfMeasure": "Each",
						"TransactionDate": "2020-06-03T01:19:00",
						"SubinventoryCode": "100Stores",
						"SourceLotFlag": "true",
						"LotTransactionGroupName": "RC-06-03-01",
						"lots": [
						{
							"LotNumber": "2000-19Y",
							"TransactionQuantity": "-500"
						}
						]
					}
				},
				{
					"id": "part2",
					"path": "/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"SourceCode": "SERVICE",
						"ProcessStatus":1,
						"SourceHeaderId":1,
						"SourceLineId": "2",
						"UseCurrentCostFlag": "true",
						"TransactionMode": "3",
						"TransactionBatchId": "2304789",
						"TransactionTypeName": "Inventory Lot Translate",
						"OrganizationName": "Seattle Manufacturing",
						"ItemNumber": "Merlot-Base",
						"TransactionQuantity": "500",
						"TransactionUnitOfMeasure": "Each",
						"TransactionDate": "2020-06-03T01:19:00",
						"SubinventoryCode": "100Stores",
						"SourceLotFlag": "false",
						"LotTransactionGroupName": "RC-06-03-01",
						"lots": [
						{
							"LotNumber": "2000-20Y",
							"TransactionQuantity": 500
						}
						]
					}
				}
				]
			}
			

Example 4 Response Body

The following example includes the contents of the response body in JSON format:

			{
				"parts": [
				{
					"id": "part1",
					"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"OrganizationId": 207,
						"OrganizationName": "Seattle Manufacturing",
						"InventoryItemId": null,
						"ItemNumber": "Merlot-Base",
						"ItemDescription": null,
						"Revision": null,
						"SubinventoryCode": "100Stores",
						"LocatorId": null,
						"LocatorName": null,
						"TransactionQuantity": -500,
						"TransactionUOM": null,
						"TransactionUnitOfMeasure": "Each",
						"TransferOrganization": null,
						"TransferOrganizationName": null,
						"TransferSubinventory": null,
						"TransferLocator": null,
						"TransferLocatorName": null,
						"TransactionHeaderId": null,
						"TransactionInterfaceId": 300100185497469,
						"TrxSourceLineId": null,
						"TrxSourceDeliveryId": null,
						"TransactionDate": "2020-06-03T01:19:00+00:00",
						"SourceCode": "SERVICE",
						"SourceHeaderId": 1,
						"SourceLineId": 1,
						"TransactionSourceName": null,
						"DemandSourceHeaderId": null,
						"DemandSourceLine": null,
						"DemandSourceDelivery": null,
						"TransactionTypeName": "Inventory Lot Translate",
						"TransactionTypeId": null,
						"TransactionSourceTypeName": null,
						"TransactionSourceTypeId": null,
						"TransactionActionName": null,
						"TransactionActionId": null,
						"TransactionMode": "3",
						"LockStatus": null,
						"ProcessStatus": "1",
						"TransactionReference": null,
						"ReasonId": null,
						"ReasonName": null,
						"ErrorCode": null,
						"ErrorExplanation": null,
						"ShipmentNumber": null,
						"FreightCarrierId": null,
						"Carrier": null,
						"ExternalSystemPackingUnit": null,
						"WaybillAirbill": null,
						"Containers": null,
						"TransferCost": null,
						"TransportationCost": null,
						"ExpectedArrivalDate": null,
						"OwningOrganizationId": null,
						"OwningOrganizationName": null,
						"OwningTpType": null,
						"TransferOwningOrganizationId": null,
						"TransferOwningOrganizationName": null,
						"TransferOwningTpType": null,
						"ProcurementBusinessUnitName": null,
						"VendorName": null,
						"VendorNumber": null,
						"ConsignmentAgreementNumber": null,
						"DistributionAccountId": null,
						"UseCurrentCostFlag": true,
						"PrimaryQuantity": null,
						"TransactionBatchId": 2304789,
						"TransactionBatchSequence": null,
						"TransactionCost": null,
						"TransactionGroupId": null,
						"TransactionGroupSequence": null,
						"DefaultTaxationCountry": null,
						"DocumentSubType": null,
						"TrxBusinessCategory": null,
						"UserDefinedFiscClass": null,
						"TaxInvoiceNumber": null,
						"TaxInvoiceDate": null,
						"ProductCategory": null,
						"ProductType": null,
						"AssessableValue": null,
						"TaxClassificationCode": null,
						"ExemptCertificateNumber": null,
						"ExemptReasonCode": null,
						"IntendedUse": null,
						"FirstPtyNumber": null,
						"ThirdPtyNumber": null,
						"FinalDischargeLocCode": null,
						"CategoryName": null,
						"TransactionCostIdentifier": null,
						"TransactionSourceId": null,
						"ChartOfAccountsId": 101,
						"StructureInstanceNumber": null,
						"SecondaryInventoryName": null,
						"SubinventoryId": null,
						"TransferSubInventoryId": null,
						"TransferLocatorsSIN": null,
						"AccountCombination": null,
						"AccountAliasCombination": null,
						"TransferProjectId": null,
						"TransferTaskId": null,
						"TransferInvProject": null,
						"TransferInvTask": null,
						"LotTransactionGroupName": "RC-06-03-01",
						"SourceLotFlag": true,
						"RequesterId": null,
						"RequesterName": null,
						"RequesterNumber": null,
						"ExternalSystemTransactionReference": null,
						"RepresentativeLotFlag": null,
						"SecondaryUOMCode": null,
						"SecondaryUnitOfMeasure": null,
						"SecondaryTransactionQuantity": null,
						"lots": [
						{
							"TransactionInterfaceId": 300100185497469,
							"LotNumber": "2000-19Y",
							"TransactionQuantity": -500,
							"PrimaryQuantity": null,
							"LotExpirationDate": null,
							"ExpirationActionCode": null,
							"ExpirationActionDate": null,
							"ExpirationActionName": null,
							"OriginationDate": null,
							"OriginationType": null,
							"HoldDate": null,
							"MaturityDate": null,
							"ReasonName": null,
							"ReasonCode": null,
							"ReasonId": null,
							"SourceCode": null,
							"SourceLineId": null,
							"StatusId": null,
							"StatusCode": null,
							"GradeCode": null,
							"SupplierLotNumber": null,
							"TerritoryShortName": null,
							"LotVolume": null,
							"VolumeUOMName": null,
							"LotLength": null,
							"LengthUOMName": null,
							"LotThickness": null,
							"LotWidth": null,
							"WidthUOMName": null,
							"VendorName": null,
							"SerialTransactionTempId": 300100185497470,
							"ErrorCode": null,
							"ProductCode": null,
							"ProductTransactionId": null,
							"SecondaryTransactionQuantity": null,
							"links": [
							{
								"rel": "self",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots/00020000000EACED00057708000110F084F41F7D00000008323030302D313959",
								"name": "lots",
								"kind": "item",
								"properties": {
									"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
								}
							},
							{
								"rel": "canonical",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots/00020000000EACED00057708000110F084F41F7D00000008323030302D313959",
								"name": "lots",
								"kind": "item"
							},
							{
								"rel": "parent",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469",
								"name": "inventoryStagedTransactions",
								"kind": "item"
							},
							{
								"rel": "child",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots/00020000000EACED00057708000110F084F41F7D00000008323030302D313959/child/lotAttributeDFFs",
								"name": "lotAttributeDFFs",
								"kind": "collection"
							},
							{
								"rel": "child",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots/00020000000EACED00057708000110F084F41F7D00000008323030302D313959/child/lotSerials",
								"name": "lotSerials",
								"kind": "collection"
							},
							{
								"rel": "child",
								"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots/00020000000EACED00057708000110F084F41F7D00000008323030302D313959/child/lotStandardDFFs",
								"name": "lotStandardDFFs",
								"kind": "collection"
							}
							]
						}
						],
						"links": [
						{
							"rel": "self",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469",
							"name": "inventoryStagedTransactions",
							"kind": "item",
							"properties": {
								"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
							}
						},
						{
							"rel": "canonical",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469",
							"name": "inventoryStagedTransactions",
							"kind": "item"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/costs",
							"name": "costs",
							"kind": "collection"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/dFFs",
							"name": "dFFs",
							"kind": "collection"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/lots",
							"name": "lots",
							"kind": "collection"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/projectCostingDFFs",
							"name": "projectCostingDFFs",
							"kind": "collection"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/serials",
							"name": "serials",
							"kind": "collection"
						},
						{
							"rel": "child",
							"href": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions/300100185497469/child/trackingAttributesDFF",
							"name": "trackingAttributesDFF",
							"kind": "collection"
						}
						]
					}
				},
				{
					"id": "part2",
					"path": "https://servername/fscmRestApi/resources/version/inventoryStagedTransactions",
					"operation": "create",
					"payload": {
						"OrganizationId": 207,
						"OrganizationName": "Seattle Manufacturing",
						"InventoryItemId": null,
						...
					}
				}
				]
			}
			
Back to Top