GetInventoryChanges

This function returns any stock-taking transactions which have been performed in the warehouse. The transactions are grouped by article.

Note that the function (despite its name) does not return all transactions for an article. It only returns the stock-taking transactions.

Tags: GetInventoryChanges, InventoryChangesQuery, GetInventoryChangesResponse, InventoryChangesResult, InventoryChangeLine, ArticleClass, InventoryTransaction, DangerousGoods, TaricNumbersInfo, GoodsCategoryInfo, ArticleClassInfo, InventoryTransactionZoneInfo, InventoryTransactionArticleItemPalletItemInfo, ProperShippingName, TaricNumberInfoClass

Request XML

POST /xxx/Service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetInventoryChanges"

<?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>
    <GetInventoryChanges xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <query>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <InventoryId>int</InventoryId>
        <UnReported>boolean</UnReported>
        <WarehouseId>int</WarehouseId>
        <ToTime>dateTime</ToTime>
        <ExportTimeFrom>dateTime</ExportTimeFrom>
        <MaxArticlesToGet>int</MaxArticlesToGet>
        <ArticleDefIdFrom>int</ArticleDefIdFrom>
      </query>
    </GetInventoryChanges>
  </soap:Body>
</soap:Envelope>

Request specification

GetInventoryChanges
GoodsOwnerCode string(400) Req. The name/code of your client
UserName string(50) Req. Your username
Password string(50) Req. Your password
query InventoryChangesQuery Req. The query object
InventoryChangesQuery
FromDate dateTime Inventory time must be bigger than this.
ToDate dateTime Obsolete, do not use.
InventoryId int The ID of the inventory transaction.
UnReported boolean If True, only return those inventory transactions which have not yet been marked as "reported".
WarehouseId int Only return transactions taking place in this warehouse.
ToTime dateTime Inventory time must be less than this.
ExportTimeFrom dateTime The inventory change was marked as exported in Ongoing WMS after this time.
MaxArticlesToGet int Max number of articles to return in response
ArticleDefIdFrom int If specified, the API will only respond with articles whose system Ids are greater than or equal to (>=) the specified id. In conjunction with MaxArticlesToGet this allows you to request articles in batches of e.g. 100, rather than having to request all articles at once.

Response XML

<?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>
    <GetInventoryChangesResponse xmlns="http://ongoingsystems.se/WSI">
      <GetInventoryChangesResult>
        <GoodsOwnerId>int</GoodsOwnerId>
        <InventoryChangeLines>
          <InventoryChangeLine>
            <Article>
              <SystemId>int</SystemId>
              <Name>string</Name>
              <ArticleNumber>string</ArticleNumber>
              <ProductCode>string</ProductCode>
              <BarCode>string</BarCode>
              <Description>string</Description>
              <SupplierArticleNumber>string</SupplierArticleNumber>
              <StatisticsNumber>string</StatisticsNumber>
              <ArticleGroupName>string</ArticleGroupName>
              <ArticleGroupCode>string</ArticleGroupCode>
              <MainSupplierName>string</MainSupplierName>
              <MainSupplierNumber>string</MainSupplierNumber>
              <ArticleCategoryName>string</ArticleCategoryName>
              <ArticleCategoryCode>string</ArticleCategoryCode>
              <CountryOfOriginCode>string</CountryOfOriginCode>
              <IsStockArticle>boolean</IsStockArticle>
              <ArticleUnitCode>string</ArticleUnitCode>
              <VatCode>string</VatCode>
              <VatPercent>decimal</VatPercent>
              <Length>decimal</Length>
              <Width>decimal</Width>
              <Height>decimal</Height>
              <Price>decimal</Price>
              <CustomerPrice>decimal</CustomerPrice>
              <PurchasePrice>decimal</PurchasePrice>
              <Weight>decimal</Weight>
              <NetWeight>decimal</NetWeight>
              <Volume>decimal</Volume>
              <QuantityPerPallet>int</QuantityPerPallet>
              <QuantityPerPackage>int</QuantityPerPackage>
              <DangerousGoods>
                <UNNumber>string</UNNumber>
                <UNIsMarineHazard>boolean</UNIsMarineHazard>
                <UNIsDangerousGoods>boolean</UNIsDangerousGoods>
                <UNPackageType>I or II or III or Unknown</UNPackageType>
                <UNTunnelCodes>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                </UNTunnelCodes>
                <UNClassNumber>string</UNClassNumber>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNLabelNumbers>string</UNLabelNumbers>
                <DangerousGoodsCoefficient>decimal</DangerousGoodsCoefficient>
                <EmSCode>string</EmSCode>
                <FlashPoint>decimal</FlashPoint>
              </DangerousGoods>
              <DangerousGoods>
                <UNNumber>string</UNNumber>
                <UNIsMarineHazard>boolean</UNIsMarineHazard>
                <UNIsDangerousGoods>boolean</UNIsDangerousGoods>
                <UNPackageType>I or II or III or Unknown</UNPackageType>
                <UNTunnelCodes>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                </UNTunnelCodes>
                <UNClassNumber>string</UNClassNumber>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNLabelNumbers>string</UNLabelNumbers>
                <DangerousGoodsCoefficient>decimal</DangerousGoodsCoefficient>
                <EmSCode>string</EmSCode>
                <FlashPoint>decimal</FlashPoint>
              </DangerousGoods>
              <PurchaseCurrencyCode>string</PurchaseCurrencyCode>
              <PurchaseCurrencyName>string</PurchaseCurrencyName>
              <ExternalNumberOfItems>decimal</ExternalNumberOfItems>
              <TaricNumbers>
                <TaricNumber>
                  <CountryCode>string</CountryCode>
                  <TaricNumber>string</TaricNumber>
                </TaricNumber>
                <TaricNumber>
                  <CountryCode>string</CountryCode>
                  <TaricNumber>string</TaricNumber>
                </TaricNumber>
              </TaricNumbers>
              <BarCodePackage>string</BarCodePackage>
              <BarCodePallet>string</BarCodePallet>
              <SizeCode>string</SizeCode>
              <SizeName>string</SizeName>
              <ProcessArticleTime>dateTime</ProcessArticleTime>
              <FreeDecimal1>decimal</FreeDecimal1>
              <FreeDecimal2>decimal</FreeDecimal2>
              <DefaultPickingLocation>string</DefaultPickingLocation>
              <CustomsExportConditions>string</CustomsExportConditions>
              <ArticleKind>Stock or Production or Structure or NonStock</ArticleKind>
              <StockLimit>int</StockLimit>
              <ColorCode>string</ColorCode>
              <ColorName>string</ColorName>
              <DefaultPickingLocationMaxNumberOfItems>decimal</DefaultPickingLocationMaxNumberOfItems>
              <MaxStackNumberOfLevels>decimal</MaxStackNumberOfLevels>
              <ArticleZoneName>string</ArticleZoneName>
              <GoodsCategory>
                <Name>string</Name>
                <Code>string</Code>
              </GoodsCategory>
              <LinkToPicture>string</LinkToPicture>
              <ArticleReturnHandlingComment>string</ArticleReturnHandlingComment>
              <ArticleCustomsDescription>string</ArticleCustomsDescription>
              <FreeDecimal3>decimal</FreeDecimal3>
              <IsSerialNumberArticle>boolean</IsSerialNumberArticle>
              <MinReOrderQuantity>decimal</MinReOrderQuantity>
              <ArticleStorageClassName>string</ArticleStorageClassName>
              <DefaultLocationStockLimit>decimal</DefaultLocationStockLimit>
              <FreeBoolean1>boolean</FreeBoolean1>
              <FreeBoolean2>boolean</FreeBoolean2>
              <FreeBoolean3>boolean</FreeBoolean3>
              <SubQuantityPerItem>decimal</SubQuantityPerItem>
              <AdditionalStatisticsNumber>string</AdditionalStatisticsNumber>
              <FreeText1>string</FreeText1>
              <FreeText2>string</FreeText2>
              <FreeText3>string</FreeText3>
              <FreeText4>string</FreeText4>
              <FreeText5>string</FreeText5>
              <ArticlePickingHandlingComment>string</ArticlePickingHandlingComment>
              <ArticleInboundHandlingComment>string</ArticleInboundHandlingComment>
              <FreeText6>string</FreeText6>
              <FreeText7>string</FreeText7>
              <FreeText8>string</FreeText8>
              <ArticleClasses>
                <ArticleClassInfo>
                  <Name>string</Name>
                  <Code>string</Code>
                  <Id>int</Id>
                </ArticleClassInfo>
                <ArticleClassInfo>
                  <Name>string</Name>
                  <Code>string</Code>
                  <Id>int</Id>
                </ArticleClassInfo>
              </ArticleClasses>
            </Article>
            <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
            <InventoryTransactions>
              <InventoryTransaction>
                <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
                <InventoryTime>dateTime</InventoryTime>
                <InventoryId>int</InventoryId>
                <Comment>string</Comment>
                <InventoryItemComment>string</InventoryItemComment>
                <Location>string</Location>
                <LocationIsLocked>boolean</LocationIsLocked>
                <InventoryAdjustmentCauseCode>string</InventoryAdjustmentCauseCode>
                <InventoryAdjustmentCauseName>string</InventoryAdjustmentCauseName>
                <Batch>string</Batch>
                <ArticleItemStatusCode>string</ArticleItemStatusCode>
                <ArticleItemStatusName>string</ArticleItemStatusName>
                <Serial>string</Serial>
                <ExpiryDate>dateTime</ExpiryDate>
                <ByInventoryCountTask>boolean</ByInventoryCountTask>
                <WarehouseCode>string</WarehouseCode>
                <WarehouseId>int</WarehouseId>
                <Container>string</Container>
                <WarehouseName>string</WarehouseName>
                <LocationIsLockedForSale>boolean</LocationIsLockedForSale>
                <Zone>
                  <ZoneName>string</ZoneName>
                </Zone>
                <ArticleItemWeight>decimal</ArticleItemWeight>
                <ArticleItemPalletItemInfo>
                  <Id>int</Id>
                  <LabelId>string</LabelId>
                </ArticleItemPalletItemInfo>
              </InventoryTransaction>
              <InventoryTransaction>
                <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
                <InventoryTime>dateTime</InventoryTime>
                <InventoryId>int</InventoryId>
                <Comment>string</Comment>
                <InventoryItemComment>string</InventoryItemComment>
                <Location>string</Location>
                <LocationIsLocked>boolean</LocationIsLocked>
                <InventoryAdjustmentCauseCode>string</InventoryAdjustmentCauseCode>
                <InventoryAdjustmentCauseName>string</InventoryAdjustmentCauseName>
                <Batch>string</Batch>
                <ArticleItemStatusCode>string</ArticleItemStatusCode>
                <ArticleItemStatusName>string</ArticleItemStatusName>
                <Serial>string</Serial>
                <ExpiryDate>dateTime</ExpiryDate>
                <ByInventoryCountTask>boolean</ByInventoryCountTask>
                <WarehouseCode>string</WarehouseCode>
                <WarehouseId>int</WarehouseId>
                <Container>string</Container>
                <WarehouseName>string</WarehouseName>
                <LocationIsLockedForSale>boolean</LocationIsLockedForSale>
                <Zone>
                  <ZoneName>string</ZoneName>
                </Zone>
                <ArticleItemWeight>decimal</ArticleItemWeight>
                <ArticleItemPalletItemInfo>
                  <Id>int</Id>
                  <LabelId>string</LabelId>
                </ArticleItemPalletItemInfo>
              </InventoryTransaction>
            </InventoryTransactions>
          </InventoryChangeLine>
          <InventoryChangeLine>
            <Article>
              <SystemId>int</SystemId>
              <Name>string</Name>
              <ArticleNumber>string</ArticleNumber>
              <ProductCode>string</ProductCode>
              <BarCode>string</BarCode>
              <Description>string</Description>
              <SupplierArticleNumber>string</SupplierArticleNumber>
              <StatisticsNumber>string</StatisticsNumber>
              <ArticleGroupName>string</ArticleGroupName>
              <ArticleGroupCode>string</ArticleGroupCode>
              <MainSupplierName>string</MainSupplierName>
              <MainSupplierNumber>string</MainSupplierNumber>
              <ArticleCategoryName>string</ArticleCategoryName>
              <ArticleCategoryCode>string</ArticleCategoryCode>
              <CountryOfOriginCode>string</CountryOfOriginCode>
              <IsStockArticle>boolean</IsStockArticle>
              <ArticleUnitCode>string</ArticleUnitCode>
              <VatCode>string</VatCode>
              <VatPercent>decimal</VatPercent>
              <Length>decimal</Length>
              <Width>decimal</Width>
              <Height>decimal</Height>
              <Price>decimal</Price>
              <CustomerPrice>decimal</CustomerPrice>
              <PurchasePrice>decimal</PurchasePrice>
              <Weight>decimal</Weight>
              <NetWeight>decimal</NetWeight>
              <Volume>decimal</Volume>
              <QuantityPerPallet>int</QuantityPerPallet>
              <QuantityPerPackage>int</QuantityPerPackage>
              <DangerousGoods>
                <UNNumber>string</UNNumber>
                <UNIsMarineHazard>boolean</UNIsMarineHazard>
                <UNIsDangerousGoods>boolean</UNIsDangerousGoods>
                <UNPackageType>I or II or III or Unknown</UNPackageType>
                <UNTunnelCodes>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                </UNTunnelCodes>
                <UNClassNumber>string</UNClassNumber>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNLabelNumbers>string</UNLabelNumbers>
                <DangerousGoodsCoefficient>decimal</DangerousGoodsCoefficient>
                <EmSCode>string</EmSCode>
                <FlashPoint>decimal</FlashPoint>
              </DangerousGoods>
              <DangerousGoods>
                <UNNumber>string</UNNumber>
                <UNIsMarineHazard>boolean</UNIsMarineHazard>
                <UNIsDangerousGoods>boolean</UNIsDangerousGoods>
                <UNPackageType>I or II or III or Unknown</UNPackageType>
                <UNTunnelCodes>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                  <UNTunnelCode>A or B or C or D or E or B1000C or C5000D</UNTunnelCode>
                </UNTunnelCodes>
                <UNClassNumber>string</UNClassNumber>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNProperShippingName>
                  <Name>string</Name>
                  <LanguageCode>string</LanguageCode>
                </UNProperShippingName>
                <UNLabelNumbers>string</UNLabelNumbers>
                <DangerousGoodsCoefficient>decimal</DangerousGoodsCoefficient>
                <EmSCode>string</EmSCode>
                <FlashPoint>decimal</FlashPoint>
              </DangerousGoods>
              <PurchaseCurrencyCode>string</PurchaseCurrencyCode>
              <PurchaseCurrencyName>string</PurchaseCurrencyName>
              <ExternalNumberOfItems>decimal</ExternalNumberOfItems>
              <TaricNumbers>
                <TaricNumber>
                  <CountryCode>string</CountryCode>
                  <TaricNumber>string</TaricNumber>
                </TaricNumber>
                <TaricNumber>
                  <CountryCode>string</CountryCode>
                  <TaricNumber>string</TaricNumber>
                </TaricNumber>
              </TaricNumbers>
              <BarCodePackage>string</BarCodePackage>
              <BarCodePallet>string</BarCodePallet>
              <SizeCode>string</SizeCode>
              <SizeName>string</SizeName>
              <ProcessArticleTime>dateTime</ProcessArticleTime>
              <FreeDecimal1>decimal</FreeDecimal1>
              <FreeDecimal2>decimal</FreeDecimal2>
              <DefaultPickingLocation>string</DefaultPickingLocation>
              <CustomsExportConditions>string</CustomsExportConditions>
              <ArticleKind>Stock or Production or Structure or NonStock</ArticleKind>
              <StockLimit>int</StockLimit>
              <ColorCode>string</ColorCode>
              <ColorName>string</ColorName>
              <DefaultPickingLocationMaxNumberOfItems>decimal</DefaultPickingLocationMaxNumberOfItems>
              <MaxStackNumberOfLevels>decimal</MaxStackNumberOfLevels>
              <ArticleZoneName>string</ArticleZoneName>
              <GoodsCategory>
                <Name>string</Name>
                <Code>string</Code>
              </GoodsCategory>
              <LinkToPicture>string</LinkToPicture>
              <ArticleReturnHandlingComment>string</ArticleReturnHandlingComment>
              <ArticleCustomsDescription>string</ArticleCustomsDescription>
              <FreeDecimal3>decimal</FreeDecimal3>
              <IsSerialNumberArticle>boolean</IsSerialNumberArticle>
              <MinReOrderQuantity>decimal</MinReOrderQuantity>
              <ArticleStorageClassName>string</ArticleStorageClassName>
              <DefaultLocationStockLimit>decimal</DefaultLocationStockLimit>
              <FreeBoolean1>boolean</FreeBoolean1>
              <FreeBoolean2>boolean</FreeBoolean2>
              <FreeBoolean3>boolean</FreeBoolean3>
              <SubQuantityPerItem>decimal</SubQuantityPerItem>
              <AdditionalStatisticsNumber>string</AdditionalStatisticsNumber>
              <FreeText1>string</FreeText1>
              <FreeText2>string</FreeText2>
              <FreeText3>string</FreeText3>
              <FreeText4>string</FreeText4>
              <FreeText5>string</FreeText5>
              <ArticlePickingHandlingComment>string</ArticlePickingHandlingComment>
              <ArticleInboundHandlingComment>string</ArticleInboundHandlingComment>
              <FreeText6>string</FreeText6>
              <FreeText7>string</FreeText7>
              <FreeText8>string</FreeText8>
              <ArticleClasses>
                <ArticleClassInfo>
                  <Name>string</Name>
                  <Code>string</Code>
                  <Id>int</Id>
                </ArticleClassInfo>
                <ArticleClassInfo>
                  <Name>string</Name>
                  <Code>string</Code>
                  <Id>int</Id>
                </ArticleClassInfo>
              </ArticleClasses>
            </Article>
            <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
            <InventoryTransactions>
              <InventoryTransaction>
                <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
                <InventoryTime>dateTime</InventoryTime>
                <InventoryId>int</InventoryId>
                <Comment>string</Comment>
                <InventoryItemComment>string</InventoryItemComment>
                <Location>string</Location>
                <LocationIsLocked>boolean</LocationIsLocked>
                <InventoryAdjustmentCauseCode>string</InventoryAdjustmentCauseCode>
                <InventoryAdjustmentCauseName>string</InventoryAdjustmentCauseName>
                <Batch>string</Batch>
                <ArticleItemStatusCode>string</ArticleItemStatusCode>
                <ArticleItemStatusName>string</ArticleItemStatusName>
                <Serial>string</Serial>
                <ExpiryDate>dateTime</ExpiryDate>
                <ByInventoryCountTask>boolean</ByInventoryCountTask>
                <WarehouseCode>string</WarehouseCode>
                <WarehouseId>int</WarehouseId>
                <Container>string</Container>
                <WarehouseName>string</WarehouseName>
                <LocationIsLockedForSale>boolean</LocationIsLockedForSale>
                <Zone>
                  <ZoneName>string</ZoneName>
                </Zone>
                <ArticleItemWeight>decimal</ArticleItemWeight>
                <ArticleItemPalletItemInfo>
                  <Id>int</Id>
                  <LabelId>string</LabelId>
                </ArticleItemPalletItemInfo>
              </InventoryTransaction>
              <InventoryTransaction>
                <InventoryChangesNumberOfItems>decimal</InventoryChangesNumberOfItems>
                <InventoryTime>dateTime</InventoryTime>
                <InventoryId>int</InventoryId>
                <Comment>string</Comment>
                <InventoryItemComment>string</InventoryItemComment>
                <Location>string</Location>
                <LocationIsLocked>boolean</LocationIsLocked>
                <InventoryAdjustmentCauseCode>string</InventoryAdjustmentCauseCode>
                <InventoryAdjustmentCauseName>string</InventoryAdjustmentCauseName>
                <Batch>string</Batch>
                <ArticleItemStatusCode>string</ArticleItemStatusCode>
                <ArticleItemStatusName>string</ArticleItemStatusName>
                <Serial>string</Serial>
                <ExpiryDate>dateTime</ExpiryDate>
                <ByInventoryCountTask>boolean</ByInventoryCountTask>
                <WarehouseCode>string</WarehouseCode>
                <WarehouseId>int</WarehouseId>
                <Container>string</Container>
                <WarehouseName>string</WarehouseName>
                <LocationIsLockedForSale>boolean</LocationIsLockedForSale>
                <Zone>
                  <ZoneName>string</ZoneName>
                </Zone>
                <ArticleItemWeight>decimal</ArticleItemWeight>
                <ArticleItemPalletItemInfo>
                  <Id>int</Id>
                  <LabelId>string</LabelId>
                </ArticleItemPalletItemInfo>
              </InventoryTransaction>
            </InventoryTransactions>
          </InventoryChangeLine>
        </InventoryChangeLines>
      </GetInventoryChangesResult>
    </GetInventoryChangesResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetInventoryChangesResponse
GetInventoryChangesResult InventoryChangesResult
InventoryChangesResult
GoodsOwnerId int System id of the goods owner
InventoryChangeLines InventoryChangeLine[] Containing elements of InventoryChangeLine
InventoryChangeLine
Article ArticleClass Basic article data. See here for a specification.
InventoryChangesNumberOfItems decimal Sum of all InventoryChangesNumberOfItems in the InventoryTransactions tags
InventoryTransactions InventoryTransaction[] Containing elements of InventoryTransaction
ArticleClass
SystemId int System id of the article
Name string(200) Article name
ArticleNumber string Article number
ProductCode string(200) Product code
BarCode string Barcode/EAN
Description string(3000) Description
SupplierArticleNumber string(200) Article number from the supplier
StatisticsNumber string Statistical number/harmonization code
ArticleGroupName string Article group name
ArticleGroupCode string Article group code
MainSupplierName string(200) Supplier name
MainSupplierNumber string(200) Supplier number
ArticleCategoryName string(200) Article category name
ArticleCategoryCode string(50) Article category code
CountryOfOriginCode string(2) The two-letter ISO 3166-1 alpha-2 code of the country.
IsStockArticle boolean False if the article is fictional (freight cost etc)
ArticleUnitCode string(50) Unit code
VatCode string(50) VAT code
VatPercent decimal VAT percent
Length decimal Length in m
Width decimal Width in m
Height decimal Height in m
Price decimal Stock valuation price
CustomerPrice decimal Customer price
PurchasePrice decimal Purchase price
Weight decimal Weight in kg
NetWeight decimal Net weight in kg
Volume decimal Volume in m3
QuantityPerPallet int Number of units that fit on a pallet
QuantityPerPackage int Number of units that fit in a package/box
DangerousGoods DangerousGoods Elements of DangerousGoods, defines ADR properties
PurchaseCurrencyCode string Currency code for purchase price
PurchaseCurrencyName string Currency name for purchase price
ExternalNumberOfItems decimal Only used when an integration is made by Ongoing WMS itself. The number of items which the external system believes is available for this article
TaricNumbers TaricNumbersInfo Taric numbers by country
BarCodePackage string Barcode for package
BarCodePallet string Barcode for pallet
SizeCode string(50) The code of the article's size (e.g "42" when dealing with shoes, or "XS" when dealing with clothes)
SizeName string The name of the article's size (e.g "Extra Small" when dealing with clothes)
ProcessArticleTime dateTime The last time ProcessArticle was called for this article. Note that it is possible to have articles which were created by other means than ProcessArticle, e.g. an article may have been created manually in the system.
FreeDecimal1 decimal Custom decimal field. By default not used for anything.
FreeDecimal2 decimal Custom decimal field. By default not used for anything.
DefaultPickingLocation string(50) The default picking location of the article. Note that it is entirely possible to store the article in other locations than the default picking location (e.g. a warehouse may have unbroken pallets of an article in their deep storage, and keep a single pallet in the default picking location).
CustomsExportConditions string A string describing which conditions apply when the article is exported.
ArticleKind enum An enum describing what kind of article this is:
  • Stock - normal article, which can be kept in stock
  • Production - an article which is produced by the warehouse
  • Structure - an article which is defined in terms of other articles
  • NonStock - an article which is not kept in stock, e.g. an article which represents "freight"
StockLimit int Minimum number of units allowed in stock
ColorCode string(50) The code of the article's color
ColorName string The name of the article's color
DefaultPickingLocationMaxNumberOfItems decimal The maximum number of items that can be stored in the default picking location.
MaxStackNumberOfLevels decimal If the article is stackable, this represents the maximum number of levels in such a stack.
ArticleZoneName string(300) The warehouse zone which this article is intended to be stored in.
GoodsCategory GoodsCategoryInfo An element of type GoodsCategoryInfo.
LinkToPicture string(300) A link to a picture of the article.
ArticleReturnHandlingComment string(500) A comment on how an article should be handled when returned.
ArticleCustomsDescription string(200) Customs description. Also known as "Contents".
FreeDecimal3 decimal Custom decimal field. By default not used for anything.
IsSerialNumberArticle boolean Whether or not the article is a serial number article.
MinReOrderQuantity decimal Minimum number of units that should be reordered
ArticleStorageClassName string The storage class of the article, e.g A,B or C.
DefaultLocationStockLimit decimal Minimum number of units allowed in the default picking location.
FreeBoolean1 boolean Custom boolean field. By default not used for anything.
FreeBoolean2 boolean Custom boolean field. By default not used for anything.
FreeBoolean3 boolean Custom boolean field. By default not used for anything.
SubQuantityPerItem decimal Subquantity per item
AdditionalStatisticsNumber string Additional statistics number
FreeText1 string Custom text field 1. By default not used for anything.
FreeText2 string Custom text field 2. By default not used for anything.
FreeText3 string Custom text field 3. By default not used for anything.
FreeText4 string Custom text field 4. By default not used for anything.
FreeText5 string Custom text field 5. By default not used for anything.
ArticlePickingHandlingComment string(500) A comment on how an article should be handled when picked.
ArticleInboundHandlingComment string(500) A comment on how an article should be handled during goods reception.
FreeText6 string Custom text field 6. By default not used for anything.
FreeText7 string Custom text field 7. By default not used for anything.
FreeText8 string Custom text field 8. By default not used for anything.
ArticleClasses ArticleClassInfo[] List of Article Classes applied to the article
InventoryTransaction
InventoryChangesNumberOfItems decimal The number of items changed in stock balance due to this inventory transaction.
InventoryTime dateTime The time when the inventory transaction was performed.
InventoryId int The ID of this inventory transaction.

Note that even though the ID is public for an Inventory Transaction in Ongoing WMS. One transaction may affect several articles/article items, which will result in several InventoryTransaction-Responses with the same InventoryId
Comment string(400) Comment on article item.
InventoryItemComment string(100) The comment for this inventory transation.
Location string(50) The location where the inventory transaction was perofmed.
LocationIsLocked boolean Whether or not the location is currently locked.
InventoryAdjustmentCauseCode string(50) The inventory adjustment cause code.
InventoryAdjustmentCauseName string(50) The inventory adjustment cause name.
Batch string(50) Batch number of the inventoried item.
ArticleItemStatusCode string(50) The status code of the article item.
ArticleItemStatusName string(100) The status name of the article item.
Serial string(128) Serial number of the inventoried item.
ExpiryDate dateTime The expiry date of the inventoried item.
ByInventoryCountTask boolean True if the inventory transaction was made as part of an inventory task, false otherwise.
WarehouseCode string(50) The code of the warehouse where the inventory transaction took place.
WarehouseId int Ongoing WMS id of the warehouse where the inventory transaction took place.
Container string(50) The container of the inventoried item.
WarehouseName string The name of the warehouse the location is in
LocationIsLockedForSale boolean Whether or not the locatio has been marked as locked for sale
Zone InventoryTransactionZoneInfo Information about the location's zone.
ArticleItemWeight decimal The weight of the inventoried item
ArticleItemPalletItemInfo InventoryTransactionArticleItemPalletItemInfo Information about the pallet item (if any) which the article item is currently on.
DangerousGoods
UNNumber string(10) UNNumber of ADR specification
UNIsMarineHazard boolean True if ADR is classed as a marine hazard
UNIsDangerousGoods boolean True if ADR is classed as dangerous goods
UNPackageType enum Package type
 - I
 - II
 - III
 - Unknown
UNTunnelCodes UNTunnelCode[] Tunnel codes of ADR
UNClassNumber string(50) Class number of ADR
UNProperShippingName ProperShippingName Elements of UNProperShippingName
UNLabelNumbers string(50) Label numbers of ADR
DangerousGoodsCoefficient decimal ADR Coefficient
EmSCode string EmS
FlashPoint decimal Flash Point
TaricNumbersInfo
TaricNumber TaricNumberInfoClass List of TARIC number objects
GoodsCategoryInfo
Name string Goods category name
Code string Goods category code
ArticleClassInfo
Name string
Code string
Id int
InventoryTransactionZoneInfo
ZoneName string >Zone name
InventoryTransactionArticleItemPalletItemInfo
Id int System id of the pallet item
LabelId string(30) The pallet item label id
ProperShippingName
Name string Proper shipping name
LanguageCode string Language code
TaricNumberInfoClass
CountryCode string Country code
TaricNumber string TARIC number