ApexERPHost

<back to all web services

GetBuyerIncomeProducts

Requires Authentication
The following routes are available for this service:
GET/RS/Waybills/BuyerIncomeProducts
GetBuyerIncomeProducts Parameters:
NameParameterData TypeRequiredDescription
WbnumberquerystringNo
TypesquerystringNo
StatusesquerystringNo
BuyersnquerystringNo
CarnumberquerystringNo
DriversnquerystringNo
UseridsquerystringNo
Begin_squeryDateTime?No
begin_equeryDateTime?No
create_squeryDateTime?No
create_equeryDateTime?No
deliver_squeryDateTime?No
deliver_equeryDateTime?No
close_squeryDateTime?No
close_equeryDateTime?No
GetBuyerIncomeProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<IncomeProduct>No
IncomeProduct Parameters:
NameParameterData TypeRequiredDescription
WbDetailIdformlongNo
WbProductCodeformstringNo
WbProductNameformstringNo
WbProductUnitformstringNo
WbVatTypeformbyteNo
ProdPPIdformstringNo
BCodeformstringNo
ProductsNuformstringNo
ProducerNuformstringNo
InCodeformstringNo
UnitformstringNo
VatformdecimalNo
ItCountformdecimalNo
PriceformdecimalNo
AmountformdecimalNo
LastCostformdecimalNo
SalePriceformdecimalNo
VatAmountformdecimalNo
AmountWithoutVatformdecimalNo
LifeDateformDateTime?No
UnicCodeformstringNo
QuantityKformdecimal?No
WbQuantityformdecimalNo
ExpenseAccformstringNo
WarehouseAccformstringNo

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.

GET /RS/Waybills/BuyerIncomeProducts HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
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: 
	[
		{
			WbDetailId: 0,
			WbProductCode: String,
			WbProductName: String,
			WbProductUnit: String,
			WbVatType: 0,
			ProdPPId: String,
			BCode: String,
			ProductsNu: String,
			ProducerNu: String,
			InCode: String,
			Unit: String,
			Vat: 0,
			ItCount: 0,
			Price: 0,
			Amount: 0,
			LastCost: 0,
			SalePrice: 0,
			VatAmount: 0,
			AmountWithoutVat: 0,
			LifeDate: 0001-01-01,
			UnicCode: String,
			QuantityK: 0,
			WbQuantity: 0,
			ExpenseAcc: String,
			WarehouseAcc: String
		}
	]
}