ApexERPHost

<back to all web services

CollectMultiCollectProducts

Requires Authentication
The following routes are available for this service:
POST/Crm/Orders/MultiCollect/Products
CollectMultiCollectProducts Parameters:
NameParameterData TypeRequiredDescription
ProductsbodyList<MultiCollectProducts>No
ProductsWithOrdersbodyList<MultiCollectProductsWithOrders>No
MultiCollectProducts Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CollectIdformintNo
ProdPPIdformstringNo
BCodeformstringNo
ProductsNuformstringNo
UnitformstringNo
ProducerNuformstringNo
OCountformdecimalNo
SCountformdecimalNo
PackCountformshortNo
MultiCollectProductsWithOrders Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
WhIdformintNo
OrderIdformintNo
OrderDateformDateTimeNo
WholeSCountformdecimal?No
CCountformdecimal?No
SCountformdecimal?No
RecipientBranchNameformstringNo
RecipientSNformstringNo
CrTimeformDateTime?No
SubOrderIdformintNo
OrderProdIdformintNo
ProdPPIdformstringNo
OrderStatusformintNo
OrderTypeformintNo
CollectMultiCollectProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

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 /Crm/Orders/MultiCollect/Products HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Products: 
	[
		{
			Id: 0,
			CollectId: 0,
			ProdPPId: String,
			BCode: String,
			ProductsNu: String,
			Unit: String,
			ProducerNu: String,
			OCount: 0,
			SCount: 0,
			PackCount: 0
		}
	],
	ProductsWithOrders: 
	[
		{
			Id: 0,
			WhId: 0,
			OrderId: 0,
			OrderDate: 0001-01-01,
			WholeSCount: 0,
			CCount: 0,
			SCount: 0,
			RecipientBranchName: String,
			RecipientSN: String,
			CrTime: 0001-01-01,
			SubOrderId: 0,
			OrderProdId: 0,
			ProdPPId: String,
			OrderStatus: 0,
			OrderType: 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
		}
	},
	Result: False
}