ApexERPHost

<back to all web services

CheckProdSuppImport

Requires Authentication
The following routes are available for this service:
POST/Warehousing/Prices/SupplierPrices/CheckProdSupPriceImportData
CheckProdSuppImport Parameters:
NameParameterData TypeRequiredDescription
DatabodyList<CheckProdSuppImportData>No
CheckProdSuppImportData Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
PriceformdecimalNo
MargineformdecimalNo
VatformboolNo
SplitMarkformint?No
CheckProdSuppImportResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
PassedformList<CheckProdSuppPassedData>No
ErrorsformList<CheckProdSuppImportDataErrors>No
CheckProdSuppPassedData Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
PriceformdecimalNo
MargineformdecimalNo
VatformboolNo
NameformstringNo
ProducerNameformstringNo
ProdPPIdformstringNo
PriceGrformdecimalNo
PriceGtformdecimalNo
ProductHasVatformboolNo
SplitMarkformint?No
CheckProdSuppImportDataErrors Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
PriceformdecimalNo
Margineformdecimal?No
VatformboolNo
ErrorformstringNo

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/Prices/SupplierPrices/CheckProdSupPriceImportData HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			BCode: String,
			Price: 0,
			Margine: 0,
			Vat: False,
			SplitMark: 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
		}
	},
	Passed: 
	[
		{
			BCode: String,
			Price: 0,
			Margine: 0,
			Vat: False,
			Name: String,
			ProducerName: String,
			ProdPPId: String,
			PriceGr: 0,
			PriceGt: 0,
			ProductHasVat: False,
			SplitMark: 0
		}
	],
	Errors: 
	[
		{
			BCode: String,
			Price: 0,
			Margine: 0,
			Vat: False,
			Error: String
		}
	]
}