PublicWS


Click here for a complete list of operations.

SearchProducts

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
searchText:
pageSize:
pageNum:
culture:
currencyCode:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /services/publicws.asmx HTTP/1.1
Host: www.minfot.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://jetshop.se/webservices/SearchProducts"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchProducts xmlns="http://jetshop.se/webservices/">
      <searchText>string</searchText>
      <pageSize>int</pageSize>
      <pageNum>int</pageNum>
      <culture>string</culture>
      <currencyCode>string</currencyCode>
    </SearchProducts>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchProductsResponse xmlns="http://jetshop.se/webservices/">
      <SearchProductsResult>
        <ProductItems>
          <PublicWSProductItem>
            <ProductID>int</ProductID>
            <ArticleNr>string</ArticleNr>
            <ProductName>string</ProductName>
            <ProductPrice>decimal</ProductPrice>
            <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
            <DiscountedPrice>decimal</DiscountedPrice>
            <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
            <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
            <DiscountStartDate>dateTime</DiscountStartDate>
            <DiscountEndDate>dateTime</DiscountEndDate>
            <CurrencyCode>string</CurrencyCode>
            <PriceListID>guid</PriceListID>
            <SubName>string</SubName>
            <ShortDescr>string</ShortDescr>
            <LongDescr>string</LongDescr>
            <ImageUrl>string</ImageUrl>
            <InStock>int</InStock>
            <StockStatusName>string</StockStatusName>
            <StockStatusData>string</StockStatusData>
            <HasAttributes>boolean</HasAttributes>
            <AttributesData>string</AttributesData>
            <Comments xsi:nil="true" />
            <Categories xsi:nil="true" />
            <Specifications xsi:nil="true" />
            <Attributes xsi:nil="true" />
          </PublicWSProductItem>
          <PublicWSProductItem>
            <ProductID>int</ProductID>
            <ArticleNr>string</ArticleNr>
            <ProductName>string</ProductName>
            <ProductPrice>decimal</ProductPrice>
            <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
            <DiscountedPrice>decimal</DiscountedPrice>
            <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
            <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
            <DiscountStartDate>dateTime</DiscountStartDate>
            <DiscountEndDate>dateTime</DiscountEndDate>
            <CurrencyCode>string</CurrencyCode>
            <PriceListID>guid</PriceListID>
            <SubName>string</SubName>
            <ShortDescr>string</ShortDescr>
            <LongDescr>string</LongDescr>
            <ImageUrl>string</ImageUrl>
            <InStock>int</InStock>
            <StockStatusName>string</StockStatusName>
            <StockStatusData>string</StockStatusData>
            <HasAttributes>boolean</HasAttributes>
            <AttributesData>string</AttributesData>
            <Comments xsi:nil="true" />
            <Categories xsi:nil="true" />
            <Specifications xsi:nil="true" />
            <Attributes xsi:nil="true" />
          </PublicWSProductItem>
        </ProductItems>
        <TotalRecords>int</TotalRecords>
        <TotalPages>int</TotalPages>
      </SearchProductsResult>
    </SearchProductsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /services/publicws.asmx HTTP/1.1
Host: www.minfot.se
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchProducts xmlns="http://jetshop.se/webservices/">
      <searchText>string</searchText>
      <pageSize>int</pageSize>
      <pageNum>int</pageNum>
      <culture>string</culture>
      <currencyCode>string</currencyCode>
    </SearchProducts>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchProductsResponse xmlns="http://jetshop.se/webservices/">
      <SearchProductsResult>
        <ProductItems>
          <PublicWSProductItem>
            <ProductID>int</ProductID>
            <ArticleNr>string</ArticleNr>
            <ProductName>string</ProductName>
            <ProductPrice>decimal</ProductPrice>
            <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
            <DiscountedPrice>decimal</DiscountedPrice>
            <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
            <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
            <DiscountStartDate>dateTime</DiscountStartDate>
            <DiscountEndDate>dateTime</DiscountEndDate>
            <CurrencyCode>string</CurrencyCode>
            <PriceListID>guid</PriceListID>
            <SubName>string</SubName>
            <ShortDescr>string</ShortDescr>
            <LongDescr>string</LongDescr>
            <ImageUrl>string</ImageUrl>
            <InStock>int</InStock>
            <StockStatusName>string</StockStatusName>
            <StockStatusData>string</StockStatusData>
            <HasAttributes>boolean</HasAttributes>
            <AttributesData>string</AttributesData>
            <Comments xsi:nil="true" />
            <Categories xsi:nil="true" />
            <Specifications xsi:nil="true" />
            <Attributes xsi:nil="true" />
          </PublicWSProductItem>
          <PublicWSProductItem>
            <ProductID>int</ProductID>
            <ArticleNr>string</ArticleNr>
            <ProductName>string</ProductName>
            <ProductPrice>decimal</ProductPrice>
            <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
            <DiscountedPrice>decimal</DiscountedPrice>
            <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
            <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
            <DiscountStartDate>dateTime</DiscountStartDate>
            <DiscountEndDate>dateTime</DiscountEndDate>
            <CurrencyCode>string</CurrencyCode>
            <PriceListID>guid</PriceListID>
            <SubName>string</SubName>
            <ShortDescr>string</ShortDescr>
            <LongDescr>string</LongDescr>
            <ImageUrl>string</ImageUrl>
            <InStock>int</InStock>
            <StockStatusName>string</StockStatusName>
            <StockStatusData>string</StockStatusData>
            <HasAttributes>boolean</HasAttributes>
            <AttributesData>string</AttributesData>
            <Comments xsi:nil="true" />
            <Categories xsi:nil="true" />
            <Specifications xsi:nil="true" />
            <Attributes xsi:nil="true" />
          </PublicWSProductItem>
        </ProductItems>
        <TotalRecords>int</TotalRecords>
        <TotalPages>int</TotalPages>
      </SearchProductsResult>
    </SearchProductsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /services/publicws.asmx/SearchProducts?searchText=string&pageSize=string&pageNum=string&culture=string&currencyCode=string HTTP/1.1
Host: www.minfot.se
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PublicWSProductItemSearchList xmlns="http://jetshop.se/webservices/">
  <ProductItems>
    <PublicWSProductItem>
      <ProductID>int</ProductID>
      <ArticleNr>string</ArticleNr>
      <ProductName>string</ProductName>
      <ProductPrice>decimal</ProductPrice>
      <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
      <DiscountedPrice>decimal</DiscountedPrice>
      <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
      <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
      <DiscountStartDate>dateTime</DiscountStartDate>
      <DiscountEndDate>dateTime</DiscountEndDate>
      <CurrencyCode>string</CurrencyCode>
      <PriceListID>guid</PriceListID>
      <SubName>string</SubName>
      <ShortDescr>string</ShortDescr>
      <LongDescr>string</LongDescr>
      <ImageUrl>string</ImageUrl>
      <InStock>int</InStock>
      <StockStatusName>string</StockStatusName>
      <StockStatusData>string</StockStatusData>
      <HasAttributes>boolean</HasAttributes>
      <AttributesData>string</AttributesData>
      <Comments>
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Comments>
      <Categories>
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Categories>
      <Specifications>
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Specifications>
      <Attributes>
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Attributes>
    </PublicWSProductItem>
    <PublicWSProductItem>
      <ProductID>int</ProductID>
      <ArticleNr>string</ArticleNr>
      <ProductName>string</ProductName>
      <ProductPrice>decimal</ProductPrice>
      <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
      <DiscountedPrice>decimal</DiscountedPrice>
      <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
      <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
      <DiscountStartDate>dateTime</DiscountStartDate>
      <DiscountEndDate>dateTime</DiscountEndDate>
      <CurrencyCode>string</CurrencyCode>
      <PriceListID>guid</PriceListID>
      <SubName>string</SubName>
      <ShortDescr>string</ShortDescr>
      <LongDescr>string</LongDescr>
      <ImageUrl>string</ImageUrl>
      <InStock>int</InStock>
      <StockStatusName>string</StockStatusName>
      <StockStatusData>string</StockStatusData>
      <HasAttributes>boolean</HasAttributes>
      <AttributesData>string</AttributesData>
      <Comments>
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Comments>
      <Categories>
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Categories>
      <Specifications>
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Specifications>
      <Attributes>
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Attributes>
    </PublicWSProductItem>
  </ProductItems>
  <TotalRecords>int</TotalRecords>
  <TotalPages>int</TotalPages>
</PublicWSProductItemSearchList>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /services/publicws.asmx/SearchProducts HTTP/1.1
Host: www.minfot.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

searchText=string&pageSize=string&pageNum=string&culture=string&currencyCode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PublicWSProductItemSearchList xmlns="http://jetshop.se/webservices/">
  <ProductItems>
    <PublicWSProductItem>
      <ProductID>int</ProductID>
      <ArticleNr>string</ArticleNr>
      <ProductName>string</ProductName>
      <ProductPrice>decimal</ProductPrice>
      <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
      <DiscountedPrice>decimal</DiscountedPrice>
      <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
      <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
      <DiscountStartDate>dateTime</DiscountStartDate>
      <DiscountEndDate>dateTime</DiscountEndDate>
      <CurrencyCode>string</CurrencyCode>
      <PriceListID>guid</PriceListID>
      <SubName>string</SubName>
      <ShortDescr>string</ShortDescr>
      <LongDescr>string</LongDescr>
      <ImageUrl>string</ImageUrl>
      <InStock>int</InStock>
      <StockStatusName>string</StockStatusName>
      <StockStatusData>string</StockStatusData>
      <HasAttributes>boolean</HasAttributes>
      <AttributesData>string</AttributesData>
      <Comments>
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Comments>
      <Categories>
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Categories>
      <Specifications>
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Specifications>
      <Attributes>
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Attributes>
    </PublicWSProductItem>
    <PublicWSProductItem>
      <ProductID>int</ProductID>
      <ArticleNr>string</ArticleNr>
      <ProductName>string</ProductName>
      <ProductPrice>decimal</ProductPrice>
      <ProductPriceWithVAT>decimal</ProductPriceWithVAT>
      <DiscountedPrice>decimal</DiscountedPrice>
      <DiscountedPriceWithVAT>decimal</DiscountedPriceWithVAT>
      <UseDiscountDateSpan>boolean</UseDiscountDateSpan>
      <DiscountStartDate>dateTime</DiscountStartDate>
      <DiscountEndDate>dateTime</DiscountEndDate>
      <CurrencyCode>string</CurrencyCode>
      <PriceListID>guid</PriceListID>
      <SubName>string</SubName>
      <ShortDescr>string</ShortDescr>
      <LongDescr>string</LongDescr>
      <ImageUrl>string</ImageUrl>
      <InStock>int</InStock>
      <StockStatusName>string</StockStatusName>
      <StockStatusData>string</StockStatusData>
      <HasAttributes>boolean</HasAttributes>
      <AttributesData>string</AttributesData>
      <Comments>
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsCommentItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Comments>
      <Categories>
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWSCategoryItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Categories>
      <Specifications>
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsSpecificationItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Specifications>
      <Attributes>
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PublicWsAttributesItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Attributes>
    </PublicWSProductItem>
  </ProductItems>
  <TotalRecords>int</TotalRecords>
  <TotalPages>int</TotalPages>
</PublicWSProductItemSearchList>