Unifeed – Parameters

Text only available in english

Supplying parameters via the address bar

Unifeed offers the ability to supply parameters up front via the address bar (url). This allows searches to be stored among your ‘favorites’ or shared via e-mail. It is also possible to use parameters to directly jump to the details page of a desired product.

Parameters are required to be URL-encoded. Example: https://unifeed.2ba.nl/Home/Demo/?q=pomp

Endpoints

https   https://unifeed.2ba.nl/Home/Demo/

Listing of all possible parameters

Parameter  Description  Example
q or query Search word, free text  q=ledlamp or query=ledlamp
filter Extended filtering options in JSON notation. The full description can be found on the “Parameters filter” page.

Example for searching within specified ETIM classes:

 filter={“filters”:[{“id”:”class”,”name”:”Klasse”,”type”:”class”,”values”:[{“id”:”EC000188″,”name”:”Bistabiel relais”},{“id”:”EC000196″,”name”:”Hulprelais”}]}]}

Example for searching within specified suppliers:

filter={“filters”:[{“id”:”sgln”,”name”:”Specifiek”,”type”:”sgln”,”values”:[{“id”:”8711389000001″,”name”:”Technische Unie”},{“id”:”8711891990012″,”name”:”Solar Nederland”},{“id”:”8714253035000″,”name”:”Oosterberg”},{“id”:”8714253038261″,”name”:”Finder”}]}]}

     
p

productId, 2BA product identifier (long).

Opens Unifeed with the product details screen (deeplink).

p=99999
a

tradeItemId, 2BA trade item identifier (long).

Opens Unifeed with the trade details screen (deeplink) (see also showTradeItemView)
The article will be shown shaded on the product details page.

a=9999999
     
gln

Supplier or manufacturer’s GLN, only valid if combined with productcode or tradeItemId.

Opens Unifeed with the product details screen.

gln=2220000042857
productcode

Manufacturer’s product code, only valid if combined with gln.

Opens Unifeed with the product details screen.

gln=2220000042857&productcode=K1
tradeItemId

Supplier’s Article number, only valid if combined with (supplier-)gln.

Opens Unifeed with the trade details screen (see also showTradeItemView)
The article will be shown shaded on the product details page.

gln=2220000042857&tradeItemId=K2
     
projectNumber

Project number. Can be used to instruct the condition server to calculate net. prices based on project conditions.

(starting with Unifeed version 1.2)

 projectNumber=123456
     
tradeItemsMinimal

Set TradeItemsMinimal to false in order to view article prices and to enable importing to the selection list.

(The data will also be shown if an interfaceType has been supplied.)

tradeItemsMinimal=false
     
interface

Unifeed offers various interface options; TradeItems (1) to import a single article, SelectionList (2) to import a list of articles, ProductId (4) to import product identification, and Calculatie Tijdnormen (8) to import time standards. A combination of the various types is also available.

If an interfaceType is supplied, but without an interface value, the default is 3.

interface=1 (tradeItem)
interface=2 (selectionList)
interface=3 (tradeItem, selectionList)
interface=4 (productId)
interface=5 (tradeItem, productId)
interface=6 (selectionList, productId)
interface=7 (tradeItem, selectionList, productId)
interface=8 (calculatie tijdnormen)
interface=16 (calculatie tijdnormen / only one timestandard via JSONPOST)

 interfaceType Unifeed supports multiple interfaceTypes. The OCI interface used by SAP, or a JSON-based interface.  (See also interfaces)

interfaceType=OCI (deprecated)
interfaceType=OCI2
interfaceType=JSON
interfaceType=JSONGET
interfaceType=JSONPOST

for backward compatibility: interfaceType=InterfaceUrl

 hookUrl If an interfaceType has been supplied, it becomes possible to supply a url to which the interface data will be posted. Only valid for JSONPOST, JSONGET and OCI & OCI2 interfaceTypes.  hookUrl=https://unifeed.2ba.nl/interface
     
selectionListName The name of the Selection List. If not supplied, the default Selection List of the currently logged-in user is used. Found articles can be placed on the user’s selection list. The selection list can be imported as a whole into your ERP package using a Unifeed interface, or via webservices. (MAX. 100 chars long) selectionListName=MyChosenArticles
ClearSelectionList When ClearSelectionList=true is given, the (current) selectionlist will be cleaned at startup of Unifeed. ClearSelectionList=true
     
accessToken It is possible to directly log into Unifeed by using an accessToken. This is an OAuth Access Token, which can be obtained via our authorize server. See webservices/OAuth2 for more information. accessToken=gAAAAIPq3JGWf_28yteZrMHQ……………..
     
appSwitcher It is possible to disable the appSwitcher menu. This is specially handy when Unifeed is integrated within CRM/ERP/CAD or another application AppSwitcher=false

 A list of all possible filter types

Filter type DescriptionExample
class

Filter by one or more classes (ETIM classes, EC*)
Filter values are of type A(lphanumeric)

filter.type=”class”
filter.name=”class”
value.id=EC-code
value.name=EC-name

 filter={“filters”:[{“id”:”class”,”name”:”Klasse”,”type”:”class”,”values”:[{“id”:”EC000188″,”name”:”Bistabiel relais”},{“id”:”EC000196″,”name”:”Hulprelais”}]}]}
featureA

Filter by Alphanumeric features (ETIM features, EF*, type A)
Filter values are of type A(lphanumeric)

filter.type=”featureA
filter.id=EF-code
filter.name=EF-name
value.id=EV-code
value.name=EV-name

 filter={“filters”:[{“id”:”EF000007″,”name”:”Kleur”,”type”:”featureA”,”values”:[{“id”:”EV000233″,”name”:”Rood”},{“id”:”EV000119″,”name”:”Goud”}]}]}
featureN

Filter by Numeric features (ETIM features, EF*, type N). 
Filter values are of type N(umeric)

filter.type=”featureN”
filter.id=EF-code
filter.name=EF-name
value.name=min-max
value.min=number
value.max=number 

filter={“filters”:[{“id”:”EF000035″,”name”:”Lampvermogen”,”type”:”featureN”,”values”:[{“id”:”x”,”name”:”0 – 100″, “min”:”0″, “max”:”100″}]}]}
featureR

Filter by Range features (ETIM features, EF*, type R). 
Filter values are of type R(ange)

filter.type=”featureR”
filter.id=EF-code
filter.name=EF-name
value.name=rangevalue
value.rangevalue=number

filter={“filters”:[{“id”:”EF000280″,”name”:”Geschikt voor lampvermogen”,”type”:”featureR”,”values”:[{“id”:”x”,”name”:”25.00″, “rangevalue”:”25.00″}]}]}
   
manufacture

Filter by manufacture

filter.type=”manufacture”
filter.name=”Manufacture”
value.id=manufacture
value.name=manufacture

 filter={“filters”:[{“id”:”manufacture”,”name”:”Manufacture”,”type”:”manufacture”,”values”:[{“id”:”PHILIPS”,”name”:”PHILIPS”}]}]}

 

model

Filter by model / serie

filter.type=”model”
filter.name=”Serie”
value.id=model
value.name=model

 filter={“filters”:[{“id”:”model”,”name”:”Serie”,”type”:”model”,”values”:[{“id”:”CleanRoom”,”name”:”CleanRoom”}]}]}

 

type 

Filter by type

filter.type=”type”
filter.name=”Type”
value.id=type
value.name=type

 filter={“filters”:[{“id”:”type”,”name”:”Type”,”type”:”type”,”values”:[{“id”:”CR200B414GTL65″,”name”:”CR200B414GTL65″}]}]}

 

   
sgln 

Filter by supplier (GLN)

filter.type=”sgln”
filter.name=”Supplier”
value.id=leveranciersGLN
value.name=leveranciersNaam

 filter={“filters”:[{“id”:”sgln”,”name”:”Supplier”,”type”:”sgln”,”values”:[{“id”:”8711389000001″,”name”:”Technische Unie”},{“id”:”8711891990012″,”name”:”Solar Nederland”},{“id”:”8714253035000″,”name”:”Oosterberg”},{“id”:”8714253038261″,”name”:”Finder”}]}]}
   
expired

Searching expired products

filter.type=”expired”
filter.name=”Expired products”
value.id=true/false
value.name=YES/NO

 filter={“filters”:[{“id”:”expired”,”name”:”Expired products”,”type”:”expired”,”values”:[{“id”:”true”,”name”:”YES”}]}]}
   
Wat biedt 2BA voor u als Installateur Wat biedt 2BA voor u als Groothandel Wat biedt 2BA voor u als Fabrikant Wat biedt 2BA voor u als Software Partner
This site is registered on wpml.org as a development site.