Product


Click here for a complete list of operations.

InitNewProduct

Test

The test form is only available for requests from the local machine.

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 /Product.asmx HTTP/1.1
Host: a-c.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InitNewProduct"

<?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>
    <InitNewProduct xmlns="http://tempuri.org/" />
  </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>
    <InitNewProductResponse xmlns="http://tempuri.org/">
      <InitNewProductResult>
        <ProductID>int</ProductID>
        <ProductNo>string</ProductNo>
        <ProductNo_Reversed>string</ProductNo_Reversed>
        <TableIdNotInUseDeleteOnOnlineShopRelease>int</TableIdNotInUseDeleteOnOnlineShopRelease>
        <Sort>int</Sort>
        <ImageRef>string</ImageRef>
        <ImageRef2>string</ImageRef2>
        <ImageRef3>string</ImageRef3>
        <Description1>string</Description1>
        <Description1_Reversed>string</Description1_Reversed>
        <Only_Description3>boolean</Only_Description3>
        <No_Freight>boolean</No_Freight>
        <No_VAT>boolean</No_VAT>
        <PurchasePrice>decimal</PurchasePrice>
        <Percentage>float</Percentage>
        <MinContr>int</MinContr>
        <Interval>int</Interval>
        <RetailPrice>decimal</RetailPrice>
        <SugPrice>decimal</SugPrice>
        <SystemID>int</SystemID>
        <Variaty1>string</Variaty1>
        <Variaty2>string</Variaty2>
        <Description3>string</Description3>
        <Description4>string</Description4>
        <Tradedoubler_Tracking>boolean</Tradedoubler_Tracking>
        <Extra1>string</Extra1>
        <Extra2>string</Extra2>
        <Extra3>string</Extra3>
        <Discount>decimal</Discount>
        <StockQuantity>decimal</StockQuantity>
        <PacketSize>int</PacketSize>
        <Picturealign>string</Picturealign>
        <Freight>decimal</Freight>
        <ProdGr>int</ProdGr>
        <Changed>dateTime</Changed>
        <Weight>decimal</Weight>
        <WeightDec>decimal</WeightDec>
        <Length>decimal</Length>
        <Width>decimal</Width>
        <Height>decimal</Height>
        <Volume>decimal</Volume>
        <SupplierId>int</SupplierId>
        <Hide>boolean</Hide>
        <AlternativeProducts>string</AlternativeProducts>
        <RelatedProducts>string</RelatedProducts>
        <ProdGr2>int</ProdGr2>
        <ShowCustGr>int</ShowCustGr>
        <DeliveryTime>string</DeliveryTime>
        <IsDuplicate>boolean</IsDuplicate>
        <Extra4>string</Extra4>
        <Extra5>string</Extra5>
        <Extra6>string</Extra6>
        <Extra7>string</Extra7>
        <Extra8>string</Extra8>
        <Extra9>string</Extra9>
        <Extra10>string</Extra10>
        <BigExtra1>string</BigExtra1>
        <BigExtra2>string</BigExtra2>
        <BigExtra3>string</BigExtra3>
        <BigExtra4>string</BigExtra4>
        <BigExtra5>string</BigExtra5>
        <TempCopyID>int</TempCopyID>
        <KeyWords>string</KeyWords>
        <HidePriceDisableBuy>boolean</HidePriceDisableBuy>
        <SEO_URL_Name>string</SEO_URL_Name>
        <VAT>string</VAT>
        <DisableQuantityPack>boolean</DisableQuantityPack>
        <DisableQuantity>boolean</DisableQuantity>
        <CreatedWhen>dateTime</CreatedWhen>
        <ProductDate>dateTime</ProductDate>
        <ProdGr3>int</ProdGr3>
        <ProdGr4>int</ProdGr4>
        <DigitalProduct>boolean</DigitalProduct>
        <FileID>int</FileID>
        <AllowDecimalQuantity>boolean</AllowDecimalQuantity>
        <ProductLicense1>int</ProductLicense1>
        <SearchPriority>int</SearchPriority>
        <FeeGr>int</FeeGr>
        <CreatedByWeb>boolean</CreatedByWeb>
        <CreatePdfOnOrderLine>boolean</CreatePdfOnOrderLine>
        <PacketSizeDec>double</PacketSizeDec>
        <FixedPrice>boolean</FixedPrice>
        <GiftCardTypeID>short</GiftCardTypeID>
        <OnlyCustomerType>short</OnlyCustomerType>
        <UpdatedByCnetWhen>dateTime</UpdatedByCnetWhen>
        <Deleted>boolean</Deleted>
        <DeletedWhen>dateTime</DeletedWhen>
        <UpdateVisma>boolean</UpdateVisma>
        <LastUpdatedVismaWhen>dateTime</LastUpdatedVismaWhen>
        <CostPrice>decimal</CostPrice>
        <SalesUnitID>int</SalesUnitID>
        <PurchaseUnitID>int</PurchaseUnitID>
        <PurchaseQuantityPerUnit>double</PurchaseQuantityPerUnit>
        <PurchaseEconomicQuantityPerUnit>double</PurchaseEconomicQuantityPerUnit>
        <VB_PriceUnit>short</VB_PriceUnit>
        <ERP_TemplateNo>string</ERP_TemplateNo>
        <Searchable>boolean</Searchable>
        <ProductGroup1>int</ProductGroup1>
        <ProductGroup2>int</ProductGroup2>
        <ProductGroup3>int</ProductGroup3>
        <ProductGroup4>int</ProductGroup4>
        <CustomerProductList_Items>
          <CustomerProductList_Item>
            <ID>long</ID>
            <CustomerProductListID>guid</CustomerProductListID>
            <ProductID>int</ProductID>
            <CreatedWhen>dateTime</CreatedWhen>
            <Sort>int</Sort>
            <Quantity>decimal</Quantity>
            <Price>decimal</Price>
            <CustomerProductList xsi:nil="true" />
            <Product xsi:nil="true" />
          </CustomerProductList_Item>
          <CustomerProductList_Item>
            <ID>long</ID>
            <CustomerProductListID>guid</CustomerProductListID>
            <ProductID>int</ProductID>
            <CreatedWhen>dateTime</CreatedWhen>
            <Sort>int</Sort>
            <Quantity>decimal</Quantity>
            <Price>decimal</Price>
            <CustomerProductList xsi:nil="true" />
            <Product xsi:nil="true" />
          </CustomerProductList_Item>
        </CustomerProductList_Items>
      </InitNewProductResult>
    </InitNewProductResponse>
  </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 /Product.asmx HTTP/1.1
Host: a-c.no
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>
    <InitNewProduct xmlns="http://tempuri.org/" />
  </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>
    <InitNewProductResponse xmlns="http://tempuri.org/">
      <InitNewProductResult>
        <ProductID>int</ProductID>
        <ProductNo>string</ProductNo>
        <ProductNo_Reversed>string</ProductNo_Reversed>
        <TableIdNotInUseDeleteOnOnlineShopRelease>int</TableIdNotInUseDeleteOnOnlineShopRelease>
        <Sort>int</Sort>
        <ImageRef>string</ImageRef>
        <ImageRef2>string</ImageRef2>
        <ImageRef3>string</ImageRef3>
        <Description1>string</Description1>
        <Description1_Reversed>string</Description1_Reversed>
        <Only_Description3>boolean</Only_Description3>
        <No_Freight>boolean</No_Freight>
        <No_VAT>boolean</No_VAT>
        <PurchasePrice>decimal</PurchasePrice>
        <Percentage>float</Percentage>
        <MinContr>int</MinContr>
        <Interval>int</Interval>
        <RetailPrice>decimal</RetailPrice>
        <SugPrice>decimal</SugPrice>
        <SystemID>int</SystemID>
        <Variaty1>string</Variaty1>
        <Variaty2>string</Variaty2>
        <Description3>string</Description3>
        <Description4>string</Description4>
        <Tradedoubler_Tracking>boolean</Tradedoubler_Tracking>
        <Extra1>string</Extra1>
        <Extra2>string</Extra2>
        <Extra3>string</Extra3>
        <Discount>decimal</Discount>
        <StockQuantity>decimal</StockQuantity>
        <PacketSize>int</PacketSize>
        <Picturealign>string</Picturealign>
        <Freight>decimal</Freight>
        <ProdGr>int</ProdGr>
        <Changed>dateTime</Changed>
        <Weight>decimal</Weight>
        <WeightDec>decimal</WeightDec>
        <Length>decimal</Length>
        <Width>decimal</Width>
        <Height>decimal</Height>
        <Volume>decimal</Volume>
        <SupplierId>int</SupplierId>
        <Hide>boolean</Hide>
        <AlternativeProducts>string</AlternativeProducts>
        <RelatedProducts>string</RelatedProducts>
        <ProdGr2>int</ProdGr2>
        <ShowCustGr>int</ShowCustGr>
        <DeliveryTime>string</DeliveryTime>
        <IsDuplicate>boolean</IsDuplicate>
        <Extra4>string</Extra4>
        <Extra5>string</Extra5>
        <Extra6>string</Extra6>
        <Extra7>string</Extra7>
        <Extra8>string</Extra8>
        <Extra9>string</Extra9>
        <Extra10>string</Extra10>
        <BigExtra1>string</BigExtra1>
        <BigExtra2>string</BigExtra2>
        <BigExtra3>string</BigExtra3>
        <BigExtra4>string</BigExtra4>
        <BigExtra5>string</BigExtra5>
        <TempCopyID>int</TempCopyID>
        <KeyWords>string</KeyWords>
        <HidePriceDisableBuy>boolean</HidePriceDisableBuy>
        <SEO_URL_Name>string</SEO_URL_Name>
        <VAT>string</VAT>
        <DisableQuantityPack>boolean</DisableQuantityPack>
        <DisableQuantity>boolean</DisableQuantity>
        <CreatedWhen>dateTime</CreatedWhen>
        <ProductDate>dateTime</ProductDate>
        <ProdGr3>int</ProdGr3>
        <ProdGr4>int</ProdGr4>
        <DigitalProduct>boolean</DigitalProduct>
        <FileID>int</FileID>
        <AllowDecimalQuantity>boolean</AllowDecimalQuantity>
        <ProductLicense1>int</ProductLicense1>
        <SearchPriority>int</SearchPriority>
        <FeeGr>int</FeeGr>
        <CreatedByWeb>boolean</CreatedByWeb>
        <CreatePdfOnOrderLine>boolean</CreatePdfOnOrderLine>
        <PacketSizeDec>double</PacketSizeDec>
        <FixedPrice>boolean</FixedPrice>
        <GiftCardTypeID>short</GiftCardTypeID>
        <OnlyCustomerType>short</OnlyCustomerType>
        <UpdatedByCnetWhen>dateTime</UpdatedByCnetWhen>
        <Deleted>boolean</Deleted>
        <DeletedWhen>dateTime</DeletedWhen>
        <UpdateVisma>boolean</UpdateVisma>
        <LastUpdatedVismaWhen>dateTime</LastUpdatedVismaWhen>
        <CostPrice>decimal</CostPrice>
        <SalesUnitID>int</SalesUnitID>
        <PurchaseUnitID>int</PurchaseUnitID>
        <PurchaseQuantityPerUnit>double</PurchaseQuantityPerUnit>
        <PurchaseEconomicQuantityPerUnit>double</PurchaseEconomicQuantityPerUnit>
        <VB_PriceUnit>short</VB_PriceUnit>
        <ERP_TemplateNo>string</ERP_TemplateNo>
        <Searchable>boolean</Searchable>
        <ProductGroup1>int</ProductGroup1>
        <ProductGroup2>int</ProductGroup2>
        <ProductGroup3>int</ProductGroup3>
        <ProductGroup4>int</ProductGroup4>
        <CustomerProductList_Items>
          <CustomerProductList_Item>
            <ID>long</ID>
            <CustomerProductListID>guid</CustomerProductListID>
            <ProductID>int</ProductID>
            <CreatedWhen>dateTime</CreatedWhen>
            <Sort>int</Sort>
            <Quantity>decimal</Quantity>
            <Price>decimal</Price>
            <CustomerProductList xsi:nil="true" />
            <Product xsi:nil="true" />
          </CustomerProductList_Item>
          <CustomerProductList_Item>
            <ID>long</ID>
            <CustomerProductListID>guid</CustomerProductListID>
            <ProductID>int</ProductID>
            <CreatedWhen>dateTime</CreatedWhen>
            <Sort>int</Sort>
            <Quantity>decimal</Quantity>
            <Price>decimal</Price>
            <CustomerProductList xsi:nil="true" />
            <Product xsi:nil="true" />
          </CustomerProductList_Item>
        </CustomerProductList_Items>
      </InitNewProductResult>
    </InitNewProductResponse>
  </soap12:Body>
</soap12:Envelope>