HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
API Reference
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Executes a GenericExecuteRequest

Executes an operation of ProductTransaction

With the ProductTransaction service, you can perform the following operations on the execute endpoint:

  • GetProductTransactionByGroupNumber
  • GetProductTransactionByGroup
  • AddProductTransactionByGroup
  • GetLastCost

GetProductTransactionByGroupNumber

BODY PARAMS:
{
	"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
	"OperationName": "GetProductTransactionByGroupNumber",
	"EntityTypeName": "ProductTransaction",
	"Parameters": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
		"$values": [
			{
				"$type": "System.String",
				"$value": "groupNumber Value"
			}
		]
	},
	"ParameterTypeName": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
		"$values": [
			"System.String"
		]
	},
	"UseJson": false
}

GetProductTransactionByGroup

BODY PARAMS:
{
	"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
	"OperationName": "GetProductTransactionByGroup",
	"EntityTypeName": "ProductTransaction",
	"Parameters": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
		"$values": [
			{
				"$type": "Asi.Soa.Commerce.DataContracts.ProductTransactionData",
				"GroupNumber": 2
			}
		]
	},
	"ParameterTypeName": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
		"$values": [
			"Asi.Soa.Commerce.DataContracts.ProductTransactionData"
		]
	},
	"UseJson": false
}

AddProductTransactionByGroup

BODY PARAMS:
{
	"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
	"OperationName": "AddProductTransactionByGroup",
	"EntityTypeName": "ProductTransaction",
	"Parameters": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
		"$values": [
			{
				"$type": "Asi.Soa.Commerce.DataContracts.ProductTransactionDataCollection",
				"$value": "productTransactionDataCollection Value"
			}
		]
	},
	"ParameterTypeName": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
		"$values": [
			"Asi.Soa.Commerce.DataContracts.ProductTransactionDataCollection"
		]
	},
	"UseJson": false
}

GetLastCost

BODY PARAMS:
{
	"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
	"OperationName": "GetLastCost",
	"EntityTypeName": "ProductTransaction",
	"Parameters": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
		"$values": [
			{
				"$type": "System.String",
				"$value": "itemId Value"
			}
		]
	},
	"ParameterTypeName": {
		"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
		"$values": [
			"System.String"
		]
	},
	"UseJson": false
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!

Contact us
Copyright © Advanced Solutions International, All rights reserved.