Porta Plus 2 Web Services

<back to all web services

DefaultProductFilterRequest

The following routes are available for this service:
GET/GetDefaultProductFilterSearchTerms/{License}/{forEnv0}
GET/GetDefaultProductFilterCategories/{License}/{getallCategories}/{partID}
GET/GetMultiProductFilterSettings/{License}/{getMultiSelectedProducts}/{partID}
GET/GetMultiProductFilterSettingsForDefault/{License}/{getMultiSelectedProducts}/{forDefault}/{partID}
GET/GetCustomProductFilter/{License}/{getCustomProductsForWidgets}/{partID}
GET/GetCustomProducts/{License}/{getCustomProducts}
GET/GetAdvanceProductFilterSettings/{License}/{getAdvanceProductFilterSettings}/{partID}
POST/SaveDefaultProductFilterSearchTerms/{License}
POST/saveUpdateProductFilters/{License}/{saveWidgetProductFilters}/{partID}
POST/saveUpdateCustomProductSearchString/{License}/{saveWidgetCustomProductFilters}/{partID}
POST/saveUpdateMultiProductFilter/{License}/{saveUpdateMultiProductFilter}/{partID}
POST/saveUpdateAdvanceProductFilterSettings/{License}/{saveUpdateAdvanceProductFilterSettings}/{partID}
GET/GetDefaultProductFilterCategoriesForWidget/{License}/{getallCategories}/{forWidget}/{partID}
POST/saveUpdateMultiProductFilterForDefault/{License}/{saveUpdateMultiProductFilter}/{forDefault}/{partID}
POST/saveUpdateProductFiltersForWidget/{License}/{saveWidgetProductFilters}/{forWidget}/{partID}
POST/saveUpdateCustomProductSearchStringForWidget/{License}/{saveWidgetCustomProductFilters}/{forWidget}/{partID}
GET/GetCustomProductFilterForWidget/{License}/{getCustomProductsForWidgets}/{forWidget}/{partID}
GET/GetCustomProductsForWidget/{License}/{getCustomProducts}/{forWidget}

To override the Content-type in your clients 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 /jsv/oneway/DefaultProductFilterRequest HTTP/1.1 
Host: 7el.co 
Content-Type: text/jsv
Content-Length: length

{
	CategoryName: String,
	Custom: False,
	SearchTerms: String,
	forEnv0: False,
	getallCategories: False,
	defaultProductFilterSettings: 
	[
		{
			CategoryName: String,
			Custom: False,
			SearchTerms: String,
			isToDelete: False,
			EnableCategory: False,
			productFilterSearchTerm: String
		}
	],
	getCustomProducts: False,
	saveWidgetProductFilters: False,
	saveWidgetCustomProductFilters: False,
	saveUpdateMultiProductFilter: False,
	CustomproductSearchTerm: String,
	SelectedFaxProducts: String,
	SelectedIVRProducts: String,
	SelectedForwardProducts: String,
	getCustomProductsForWidgets: False,
	getMultiSelectedProducts: False,
	forWidget: False,
	forDefault: False,
	showAdvanceFilters: False,
	getAdvanceProductFilterSettings: False,
	saveUpdateAdvanceProductFilterSettings: False,
	partID: 0,
	License: String,
	ContentId: 0,
	FeatureName: String
}