ApexERPHost

<back to all web services

GetB2BOrderAvailableProductsList

Requires Authentication
The following routes are available for this service:
GET/logistics/b2b/available/products
GetB2BOrderAvailableProductsList Parameters:
NameParameterData TypeRequiredDescription
SupplierCompanyCodequerystringNo
RecipientCompanyCodequerystringNo
SupplierBranchIdqueryintNo
RecipientBranchIdqueryintNo
ContractIdqueryint?No
OrderUnIdqueryGuid?No
SaleDateRangequeryDateTime[]No
GetB2BOrderAvailableProductsListResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<B2BOrderProduct>No
B2BOrderProduct Parameters:
NameParameterData TypeRequiredDescription
B2BProductformCrmProductListNo
ProductformGoodNo
RCountformdecimal?No
AvgSaleformdecimal?No
SuppDeclaredPriceformdecimal?No
CrmProductList Parameters:
NameParameterData TypeRequiredDescription
prodpp_idformstringNo
prodppp_idformstringNo
bcodeformstringNo
bbcodeformstringNo
incodeformstringNo
category_idformstringNo
category_codeformstringNo
category_nuformstringNo
producer_idformstringNo
producer_nuformstringNo
prcountry_nuformstringNo
products_nuformstringNo
products_neformstringNo
vattypeformintNo
packcountformshortNo
packbcountformdecimal?No
unitformstringNo
mdtradeformdecimalNo
mdretailformdecimalNo
importedformbool?No
nettoformdecimalNo
vatformdecimalNo
spec_priceformdecimal?No
priceformdecimalNo
rcountformdecimalNo
sys_rcountformdecimalNo
rezervedformdecimalNo
costgformdecimal?No
buy_costgformdecimal?No
xformdouble?No
yformdouble?No
zformdouble?No
destnumberformstringNo
min_priceformdecimal?No
packccountformint?No
need_prepareformint?No
base_priceformdecimal?No
byweightformbyte?No
Good Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
BCodeformstringNo
BBCodeformstringNo
InCodeformstringNo
NameformstringNo
NameEnformstringNo
PackBCountformdecimalNo
PackCountformshortNo
NettoformdecimalNo
ByWeightformbyteNo
CategoryIDformstringNo
CategoryformGoodCategoryNo
PPCatIDformstringNo
PCatIDformint?No
ProducerIDformstringNo
ProducerformProducerNo
VatformdecimalNo
LifeDaysformint?No
UnitformstringNo
ParentIDformstringNo
MaxDiscountformdecimal?No
IsImportedformboolNo
DimensionsformProdDimensionsNo
PackCCountformint?No
PDoseformstringNo
IntCodeIDformstringNo
IntCodeformIntCodeNo
ExciseIDformint?No
Exciseformdecimal?No
DestNumberformstringNo
PackTypeIDformint?No
PriceGRformdecimalNo
PriceGTformdecimalNo
Spendformbool?No
VatTypeformintNo
ExtendedInfoformGoodExtendedInfoNo
BarCodesformList<PPBCode>No
TypeformGoodTypeNo
HCategoryformHCategoryNo
BruttoformdecimalNo
SpendRformboolNo
PriceURformdecimal?No
PriceUTformdecimal?No
MDRetailformdecimal?No
MDTradeformdecimal?No
SupDaysformint?No
PrStatusformbool?No
LNotInPriceformbool?No
MinCountTradeformint?No
MinCountRetailformint?No
RegNformstringNo
RegDateformDateTime?No
RegEndDateformDateTime?No
HasSpecformboolNo
ReCalcformboolNo
ExciseCformdecimal?No
IsLinkedformboolNo
UnitIdformint?No
PPCatNameformstringNo
ImagesformList<ProdImage>No
CBCodeformstringNo
ScaleGroupformint?No
GoodCategory Parameters:
NameParameterData TypeRequiredDescription
CategoryIDformstringNo
CategoryCodeformstringNo
CategoryNameformstringNo
SpendformboolNo
Producer Parameters:
NameParameterData TypeRequiredDescription
ProducerIDformstringNo
ProducerNameformstringNo
CountryIdformstringNo
LOwnformboolNo
SpeendformboolNo
ProducerNameEnglishformstringNo
AddressformstringNo
PostalCodeformstringNo
PhoneformstringNo
FaxformstringNo
PersonformstringNo
EmailformstringNo
LdefaultformboolNo
MrgIdformint?No
CountryformCountryNo
ProducerCountryformstringNo
Country Parameters:
NameParameterData TypeRequiredDescription
CountryIdformstringNoCountry id
CountryNeformstringNoName (Eng)
LDefaultformboolNoDefault Country for Use
Spendformbool?NoRecord for Use - 0 ; Record Blocked for Use - 1
CountryNuformstringNoName (Geo Unicode)
ProdDimensions Parameters:
NameParameterData TypeRequiredDescription
XformdoubleNo
YformdoubleNo
ZformdoubleNo
IntCode Parameters:
NameParameterData TypeRequiredDescription
IntCodeIDformstringNo
NameformstringNo
NameEnformstringNo
VatformdecimalNo
TaxMethodformintNo
Tax1formdecimalNo
TaxKformdecimalNo
GoodExtendedInfo Parameters:
NameParameterData TypeRequiredDescription
ProdPPIDformstringNo
DescriptionformstringNo
AnotationformstringNo
GarantDaysformint?No
IsFastFoodformboolNo
DetailedWarehousingformboolNo
TrackAndTraceformboolNo
BrandIDformint?No
BrandformBrandNo
RTypeformint?No
SizeIdformint?No
ColorIdformint?No
GenderIdformint?No
SizeformProdSizeNo
ColorformDTAnyDataNo
GenderformDTAnyDataNo
MetaformDictionary<string, string>No
Brand Parameters:
NameParameterData TypeRequiredDescription
BrandIdformint?No
AbbreviationformstringNo
NameformstringNo
BrandNameEformstringNo
DescriptionformstringNo
Logoformbyte[]No
ProdSize Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
SizeTypeformintNo
DTAnyData Parameters:
NameParameterData TypeRequiredDescription
codeidformintNo
mgridformGuid?No
hnameformstringNo
hnameeformstringNo
hcodeformstringNo
defvalformboolNo
vmformdecimal?No
vpformdecimal?No
viformint?No
vdformDateTime?No
canceledformboolNo
crtimeformDateTime?No
unidformGuidNo
IUDformintNo
PPBCode Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProdPPIdformstringNo
BCodeformstringNo
GoodType Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
NameformstringNo
NameEnformstringNo
LDefaultformboolNo
Spendformbool?No
HCategory Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
ParentIDformint?No
HCodeformstringNo
HccrtformstringNo
NameEnformstringNo
CrTimeformDateTime?No
UnidformGuid?No
IsDefaultformbool?No
Canceledformbool?No
ProdImage Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FileNameformstringNo
LinkformstringNo
ChecksumformstringNo
CreateTimeformDateTimeNo
UpdateTimeformDateTime?No
IsMainformboolNo

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

HTTP + CSV

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

GET /logistics/b2b/available/products HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"B2BProduct":{"prodpp_id":"String","prodppp_id":"String","bcode":"String","bbcode":"String","incode":"String","category_id":"String","category_code":"String","category_nu":"String","producer_id":"String","producer_nu":"String","prcountry_nu":"String","products_nu":"String","products_ne":"String","vattype":0,"packcount":0,"packbcount":0,"unit":"String","mdtrade":0,"mdretail":0,"imported":false,"netto":0,"vat":0,"spec_price":0,"price":0,"rcount":0,"sys_rcount":0,"rezerved":0,"costg":0,"buy_costg":0,"x":0,"y":0,"z":0,"destnumber":"String","min_price":0,"packccount":0,"need_prepare":0,"base_price":0,"byweight":0},"Product":{"ID":"String","BCode":"String","BBCode":"String","InCode":"String","Name":"String","NameEn":"String","PackBCount":0,"PackCount":0,"Netto":0,"ByWeight":0,"CategoryID":"String","Category":{"CategoryID":"String","CategoryCode":"String","CategoryName":"String","Spend":false},"PPCatID":"String","PCatID":0,"ProducerID":"String","Producer":{"ProducerID":"String","ProducerName":"String","CountryId":"String","LOwn":false,"Speend":false,"ProducerNameEnglish":"String","Address":"String","PostalCode":"String","Phone":"String","Fax":"String","Person":"String","Email":"String","Ldefault":false,"MrgId":0,"Country":{"CountryId":"String","CountryNe":"String","LDefault":false,"Spend":false,"CountryNu":"String"},"ProducerCountry":"String"},"Vat":0,"LifeDays":0,"Unit":"String","ParentID":"String","MaxDiscount":0,"IsImported":false,"Dimensions":{"X":0,"Y":0,"Z":0},"PackCCount":0,"PDose":"String","IntCodeID":"String","IntCode":{"IntCodeID":"String","Name":"String","NameEn":"String","Vat":0,"TaxMethod":0,"Tax1":0,"TaxK":0},"ExciseID":0,"Excise":0,"DestNumber":"String","PackTypeID":0,"PriceGR":0,"PriceGT":0,"Spend":false,"VatType":0,"ExtendedInfo":{"ProdPPID":"String","Description":"String","Anotation":"String","GarantDays":0,"IsFastFood":false,"DetailedWarehousing":false,"TrackAndTrace":false,"BrandID":0,"Brand":{"BrandId":0,"Abbreviation":"String","Name":"String","BrandNameE":"String","Description":"String","Logo":"AA=="},"RType":0,"SizeId":0,"ColorId":0,"GenderId":0,"Size":{"Id":0,"Name":"String","SizeType":0},"Color":{"codeid":0,"mgrid":"00000000000000000000000000000000","hname":"String","hnamee":"String","hcode":"String","defval":false,"vm":0,"vp":0,"vi":0,"vd":"\/Date(-62135596800000-0000)\/","canceled":false,"crtime":"\/Date(-62135596800000-0000)\/","unid":"00000000000000000000000000000000","IUD":0},"Gender":{"codeid":0,"mgrid":"00000000000000000000000000000000","hname":"String","hnamee":"String","hcode":"String","defval":false,"vm":0,"vp":0,"vi":0,"vd":"\/Date(-62135596800000-0000)\/","canceled":false,"crtime":"\/Date(-62135596800000-0000)\/","unid":"00000000000000000000000000000000","IUD":0},"Meta":{"String":"String"}},"BarCodes":[{"Id":0,"ProdPPId":"String","BCode":"String"}],"Type":{"ID":"String","Name":"String","NameEn":"String","LDefault":false,"Spend":false},"HCategory":{"ID":0,"Name":"String","ParentID":0,"HCode":"String","Hccrt":"String","NameEn":"String","CrTime":"\/Date(-62135596800000-0000)\/","Unid":"00000000000000000000000000000000","IsDefault":false,"Canceled":false},"Brutto":0,"SpendR":false,"PriceUR":0,"PriceUT":0,"MDRetail":0,"MDTrade":0,"SupDays":0,"PrStatus":false,"LNotInPrice":false,"MinCountRetail":0,"RegN":"String","RegDate":"\/Date(-62135596800000-0000)\/","RegEndDate":"\/Date(-62135596800000-0000)\/","HasSpec":false,"ReCalc":false,"ExciseC":0,"IsLinked":false,"UnitId":0,"MinCountTrade":0,"PPCatName":"String","Images":[{"Id":0,"FileName":"String","Link":"String","Checksum":"String","CreateTime":"\/Date(-62135596800000-0000)\/","UpdateTime":"\/Date(-62135596800000-0000)\/","IsMain":false}],"CBCode":"String","ScaleGroup":0},"RCount":0,"AvgSale":0,"SuppDeclaredPrice":0}]}