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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/oneway/DefaultProductFilterRequest HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<DefaultProductFilterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <CategoryName>String</CategoryName>
  <Custom>false</Custom>
  <CustomproductSearchTerm>String</CustomproductSearchTerm>
  <SearchTerms>String</SearchTerms>
  <SelectedFaxProducts>String</SelectedFaxProducts>
  <SelectedForwardProducts>String</SelectedForwardProducts>
  <SelectedIVRProducts>String</SelectedIVRProducts>
  <defaultProductFilterSettings>
    <DefaultProductFilter>
      <CategoryName>String</CategoryName>
      <Custom>false</Custom>
      <EnableCategory>false</EnableCategory>
      <SearchTerms>String</SearchTerms>
      <isToDelete>false</isToDelete>
      <productFilterSearchTerm>String</productFilterSearchTerm>
    </DefaultProductFilter>
  </defaultProductFilterSettings>
  <forDefault>false</forDefault>
  <forEnv0>false</forEnv0>
  <forWidget>false</forWidget>
  <getAdvanceProductFilterSettings>false</getAdvanceProductFilterSettings>
  <getCustomProducts>false</getCustomProducts>
  <getCustomProductsForWidgets>false</getCustomProductsForWidgets>
  <getMultiSelectedProducts>false</getMultiSelectedProducts>
  <getallCategories>false</getallCategories>
  <partID>0</partID>
  <saveUpdateAdvanceProductFilterSettings>false</saveUpdateAdvanceProductFilterSettings>
  <saveUpdateMultiProductFilter>false</saveUpdateMultiProductFilter>
  <saveWidgetCustomProductFilters>false</saveWidgetCustomProductFilters>
  <saveWidgetProductFilters>false</saveWidgetProductFilters>
  <showAdvanceFilters>false</showAdvanceFilters>
</DefaultProductFilterRequest>