ApexERPHost

<back to all web services

SavePActionProducts

Requires Authentication
The following routes are available for this service:
POST/Warehousing/SavePActionProducts
SavePActionProducts Parameters:
NameParameterData TypeRequiredDescription
IudbodystringNo
Prod_idbodystringNo
BcodebodystringNo
NamebodystringNo
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
SpendbodyboolNo
ProducerIdbodystringNo
CategoryIdbodystringNo
PpcatIdbodystringNo
UnitIdbodyint?No
DetbodyList<TfPActionProductDet>No
MobUsersbodyList<int>No
TfPActionProductDet Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProdIdformstringNo
ProdppIdformstringNo
ScountformdecimalNo
PriceformdecimalNo
IsGiftformboolNo
BcodeformstringNo
ProductsNameformstringNo
CategoryNameformstringNo
ProducerNameformstringNo
CostformdecimalNo
SavePActionProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
SuccesssformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Warehousing/SavePActionProducts HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Iud: String,
	Prod_id: String,
	Bcode: String,
	Name: String,
	StartDate: 0001-01-01,
	EndDate: 0001-01-01,
	Spend: False,
	ProducerId: String,
	CategoryId: String,
	PpcatId: String,
	UnitId: 0,
	Det: 
	[
		{
			Id: 0,
			ProdId: String,
			ProdppId: String,
			Scount: 0,
			Price: 0,
			IsGift: False,
			Bcode: String,
			ProductsName: String,
			CategoryName: String,
			ProducerName: String,
			Cost: 0
		}
	],
	MobUsers: 
	[
		0
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Successs: False
}