PublicWS


Click here for a complete list of operations.

GetProductDetailsByID

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
id:
type:

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/GetProductDetailsByID"

<?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>
    <GetProductDetailsByID xmlns="http://jetshop.se/webservices/">
      <id>string</id>
      <type>int</type>
    </GetProductDetailsByID>
  </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>
    <GetProductDetailsByIDResponse xmlns="http://jetshop.se/webservices/">
      <GetProductDetailsByIDResult>
        <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>
            <Comment>string</Comment>
            <DefCommentName>string</DefCommentName>
            <Id>int</Id>
            <IsLargeSize>boolean</IsLargeSize>
            <IsRequired>boolean</IsRequired>
            <Name>string</Name>
          </PublicWsCommentItem>
          <PublicWsCommentItem>
            <Comment>string</Comment>
            <DefCommentName>string</DefCommentName>
            <Id>int</Id>
            <IsLargeSize>boolean</IsLargeSize>
            <IsRequired>boolean</IsRequired>
            <Name>string</Name>
          </PublicWsCommentItem>
        </Comments>
        <Categories>
          <PublicWSCategoryItem>
            <CategoryID>int</CategoryID>
            <CategoryName>string</CategoryName>
            <ImageURL>string</ImageURL>
            <HasChildren>boolean</HasChildren>
          </PublicWSCategoryItem>
          <PublicWSCategoryItem>
            <CategoryID>int</CategoryID>
            <CategoryName>string</CategoryName>
            <ImageURL>string</ImageURL>
            <HasChildren>boolean</HasChildren>
          </PublicWSCategoryItem>
        </Categories>
        <Specifications>
          <PublicWsSpecificationItem>
            <DefName>string</DefName>
            <DefValue>string</DefValue>
            <ExchangeRate>decimal</ExchangeRate>
            <Index>int</Index>
            <Name>string</Name>
            <Price>decimal</Price>
            <PriceMaster>decimal</PriceMaster>
            <RecID>string</RecID>
            <SortOrder>int</SortOrder>
            <Value>string</Value>
            <VAT>decimal</VAT>
            <VATMaster>decimal</VATMaster>
          </PublicWsSpecificationItem>
          <PublicWsSpecificationItem>
            <DefName>string</DefName>
            <DefValue>string</DefValue>
            <ExchangeRate>decimal</ExchangeRate>
            <Index>int</Index>
            <Name>string</Name>
            <Price>decimal</Price>
            <PriceMaster>decimal</PriceMaster>
            <RecID>string</RecID>
            <SortOrder>int</SortOrder>
            <Value>string</Value>
            <VAT>decimal</VAT>
            <VATMaster>decimal</VATMaster>
          </PublicWsSpecificationItem>
        </Specifications>
        <Attributes>
          <PublicWsAttributesItem>
            <RecordID>int</RecordID>
            <ParentID>int</ParentID>
            <Name>string</Name>
            <Value>string</Value>
            <Level>int</Level>
            <ProductPrice>decimal</ProductPrice>
            <DiscountPrice>decimal</DiscountPrice>
            <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
            <ArticleNumber>string</ArticleNumber>
            <ImageURL>string</ImageURL>
            <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
            <Items1>int</Items1>
          </PublicWsAttributesItem>
          <PublicWsAttributesItem>
            <RecordID>int</RecordID>
            <ParentID>int</ParentID>
            <Name>string</Name>
            <Value>string</Value>
            <Level>int</Level>
            <ProductPrice>decimal</ProductPrice>
            <DiscountPrice>decimal</DiscountPrice>
            <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
            <ArticleNumber>string</ArticleNumber>
            <ImageURL>string</ImageURL>
            <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
            <Items1>int</Items1>
          </PublicWsAttributesItem>
        </Attributes>
      </GetProductDetailsByIDResult>
    </GetProductDetailsByIDResponse>
  </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>
    <GetProductDetailsByID xmlns="http://jetshop.se/webservices/">
      <id>string</id>
      <type>int</type>
    </GetProductDetailsByID>
  </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>
    <GetProductDetailsByIDResponse xmlns="http://jetshop.se/webservices/">
      <GetProductDetailsByIDResult>
        <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>
            <Comment>string</Comment>
            <DefCommentName>string</DefCommentName>
            <Id>int</Id>
            <IsLargeSize>boolean</IsLargeSize>
            <IsRequired>boolean</IsRequired>
            <Name>string</Name>
          </PublicWsCommentItem>
          <PublicWsCommentItem>
            <Comment>string</Comment>
            <DefCommentName>string</DefCommentName>
            <Id>int</Id>
            <IsLargeSize>boolean</IsLargeSize>
            <IsRequired>boolean</IsRequired>
            <Name>string</Name>
          </PublicWsCommentItem>
        </Comments>
        <Categories>
          <PublicWSCategoryItem>
            <CategoryID>int</CategoryID>
            <CategoryName>string</CategoryName>
            <ImageURL>string</ImageURL>
            <HasChildren>boolean</HasChildren>
          </PublicWSCategoryItem>
          <PublicWSCategoryItem>
            <CategoryID>int</CategoryID>
            <CategoryName>string</CategoryName>
            <ImageURL>string</ImageURL>
            <HasChildren>boolean</HasChildren>
          </PublicWSCategoryItem>
        </Categories>
        <Specifications>
          <PublicWsSpecificationItem>
            <DefName>string</DefName>
            <DefValue>string</DefValue>
            <ExchangeRate>decimal</ExchangeRate>
            <Index>int</Index>
            <Name>string</Name>
            <Price>decimal</Price>
            <PriceMaster>decimal</PriceMaster>
            <RecID>string</RecID>
            <SortOrder>int</SortOrder>
            <Value>string</Value>
            <VAT>decimal</VAT>
            <VATMaster>decimal</VATMaster>
          </PublicWsSpecificationItem>
          <PublicWsSpecificationItem>
            <DefName>string</DefName>
            <DefValue>string</DefValue>
            <ExchangeRate>decimal</ExchangeRate>
            <Index>int</Index>
            <Name>string</Name>
            <Price>decimal</Price>
            <PriceMaster>decimal</PriceMaster>
            <RecID>string</RecID>
            <SortOrder>int</SortOrder>
            <Value>string</Value>
            <VAT>decimal</VAT>
            <VATMaster>decimal</VATMaster>
          </PublicWsSpecificationItem>
        </Specifications>
        <Attributes>
          <PublicWsAttributesItem>
            <RecordID>int</RecordID>
            <ParentID>int</ParentID>
            <Name>string</Name>
            <Value>string</Value>
            <Level>int</Level>
            <ProductPrice>decimal</ProductPrice>
            <DiscountPrice>decimal</DiscountPrice>
            <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
            <ArticleNumber>string</ArticleNumber>
            <ImageURL>string</ImageURL>
            <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
            <Items1>int</Items1>
          </PublicWsAttributesItem>
          <PublicWsAttributesItem>
            <RecordID>int</RecordID>
            <ParentID>int</ParentID>
            <Name>string</Name>
            <Value>string</Value>
            <Level>int</Level>
            <ProductPrice>decimal</ProductPrice>
            <DiscountPrice>decimal</DiscountPrice>
            <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
            <ArticleNumber>string</ArticleNumber>
            <ImageURL>string</ImageURL>
            <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
            <Items1>int</Items1>
          </PublicWsAttributesItem>
        </Attributes>
      </GetProductDetailsByIDResult>
    </GetProductDetailsByIDResponse>
  </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/GetProductDetailsByID?id=string&type=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"?>
<PublicWSProductItem xmlns="http://jetshop.se/webservices/">
  <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>
      <Comment>string</Comment>
      <DefCommentName>string</DefCommentName>
      <Id>int</Id>
      <IsLargeSize>boolean</IsLargeSize>
      <IsRequired>boolean</IsRequired>
      <Name>string</Name>
    </PublicWsCommentItem>
    <PublicWsCommentItem>
      <Comment>string</Comment>
      <DefCommentName>string</DefCommentName>
      <Id>int</Id>
      <IsLargeSize>boolean</IsLargeSize>
      <IsRequired>boolean</IsRequired>
      <Name>string</Name>
    </PublicWsCommentItem>
  </Comments>
  <Categories>
    <PublicWSCategoryItem>
      <CategoryID>int</CategoryID>
      <CategoryName>string</CategoryName>
      <ImageURL>string</ImageURL>
      <HasChildren>boolean</HasChildren>
    </PublicWSCategoryItem>
    <PublicWSCategoryItem>
      <CategoryID>int</CategoryID>
      <CategoryName>string</CategoryName>
      <ImageURL>string</ImageURL>
      <HasChildren>boolean</HasChildren>
    </PublicWSCategoryItem>
  </Categories>
  <Specifications>
    <PublicWsSpecificationItem>
      <DefName>string</DefName>
      <DefValue>string</DefValue>
      <ExchangeRate>decimal</ExchangeRate>
      <Index>int</Index>
      <Name>string</Name>
      <Price>decimal</Price>
      <PriceMaster>decimal</PriceMaster>
      <RecID>string</RecID>
      <SortOrder>int</SortOrder>
      <Value>string</Value>
      <VAT>decimal</VAT>
      <VATMaster>decimal</VATMaster>
    </PublicWsSpecificationItem>
    <PublicWsSpecificationItem>
      <DefName>string</DefName>
      <DefValue>string</DefValue>
      <ExchangeRate>decimal</ExchangeRate>
      <Index>int</Index>
      <Name>string</Name>
      <Price>decimal</Price>
      <PriceMaster>decimal</PriceMaster>
      <RecID>string</RecID>
      <SortOrder>int</SortOrder>
      <Value>string</Value>
      <VAT>decimal</VAT>
      <VATMaster>decimal</VATMaster>
    </PublicWsSpecificationItem>
  </Specifications>
  <Attributes>
    <PublicWsAttributesItem>
      <RecordID>int</RecordID>
      <ParentID>int</ParentID>
      <Name>string</Name>
      <Value>string</Value>
      <Level>int</Level>
      <ProductPrice>decimal</ProductPrice>
      <DiscountPrice>decimal</DiscountPrice>
      <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
      <ArticleNumber>string</ArticleNumber>
      <ImageURL>string</ImageURL>
      <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
      <Items1>int</Items1>
    </PublicWsAttributesItem>
    <PublicWsAttributesItem>
      <RecordID>int</RecordID>
      <ParentID>int</ParentID>
      <Name>string</Name>
      <Value>string</Value>
      <Level>int</Level>
      <ProductPrice>decimal</ProductPrice>
      <DiscountPrice>decimal</DiscountPrice>
      <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
      <ArticleNumber>string</ArticleNumber>
      <ImageURL>string</ImageURL>
      <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
      <Items1>int</Items1>
    </PublicWsAttributesItem>
  </Attributes>
</PublicWSProductItem>

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/GetProductDetailsByID HTTP/1.1
Host: www.minfot.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

id=string&type=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PublicWSProductItem xmlns="http://jetshop.se/webservices/">
  <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>
      <Comment>string</Comment>
      <DefCommentName>string</DefCommentName>
      <Id>int</Id>
      <IsLargeSize>boolean</IsLargeSize>
      <IsRequired>boolean</IsRequired>
      <Name>string</Name>
    </PublicWsCommentItem>
    <PublicWsCommentItem>
      <Comment>string</Comment>
      <DefCommentName>string</DefCommentName>
      <Id>int</Id>
      <IsLargeSize>boolean</IsLargeSize>
      <IsRequired>boolean</IsRequired>
      <Name>string</Name>
    </PublicWsCommentItem>
  </Comments>
  <Categories>
    <PublicWSCategoryItem>
      <CategoryID>int</CategoryID>
      <CategoryName>string</CategoryName>
      <ImageURL>string</ImageURL>
      <HasChildren>boolean</HasChildren>
    </PublicWSCategoryItem>
    <PublicWSCategoryItem>
      <CategoryID>int</CategoryID>
      <CategoryName>string</CategoryName>
      <ImageURL>string</ImageURL>
      <HasChildren>boolean</HasChildren>
    </PublicWSCategoryItem>
  </Categories>
  <Specifications>
    <PublicWsSpecificationItem>
      <DefName>string</DefName>
      <DefValue>string</DefValue>
      <ExchangeRate>decimal</ExchangeRate>
      <Index>int</Index>
      <Name>string</Name>
      <Price>decimal</Price>
      <PriceMaster>decimal</PriceMaster>
      <RecID>string</RecID>
      <SortOrder>int</SortOrder>
      <Value>string</Value>
      <VAT>decimal</VAT>
      <VATMaster>decimal</VATMaster>
    </PublicWsSpecificationItem>
    <PublicWsSpecificationItem>
      <DefName>string</DefName>
      <DefValue>string</DefValue>
      <ExchangeRate>decimal</ExchangeRate>
      <Index>int</Index>
      <Name>string</Name>
      <Price>decimal</Price>
      <PriceMaster>decimal</PriceMaster>
      <RecID>string</RecID>
      <SortOrder>int</SortOrder>
      <Value>string</Value>
      <VAT>decimal</VAT>
      <VATMaster>decimal</VATMaster>
    </PublicWsSpecificationItem>
  </Specifications>
  <Attributes>
    <PublicWsAttributesItem>
      <RecordID>int</RecordID>
      <ParentID>int</ParentID>
      <Name>string</Name>
      <Value>string</Value>
      <Level>int</Level>
      <ProductPrice>decimal</ProductPrice>
      <DiscountPrice>decimal</DiscountPrice>
      <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
      <ArticleNumber>string</ArticleNumber>
      <ImageURL>string</ImageURL>
      <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
      <Items1>int</Items1>
    </PublicWsAttributesItem>
    <PublicWsAttributesItem>
      <RecordID>int</RecordID>
      <ParentID>int</ParentID>
      <Name>string</Name>
      <Value>string</Value>
      <Level>int</Level>
      <ProductPrice>decimal</ProductPrice>
      <DiscountPrice>decimal</DiscountPrice>
      <ProductPriceNoDateSpan>decimal</ProductPriceNoDateSpan>
      <ArticleNumber>string</ArticleNumber>
      <ImageURL>string</ImageURL>
      <ProductImageSize>Large or Medium or Small or Thumbs or Original</ProductImageSize>
      <Items1>int</Items1>
    </PublicWsAttributesItem>
  </Attributes>
</PublicWSProductItem>