GET api/Products/GetProducts/{companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Product
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductDescriptionShortLanguage01

string

Required

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage01

string

Required

String length: inclusive between 0 and 255

ProductDescriptionShortLanguage02

string

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage02

string

String length: inclusive between 0 and 255

ProductDescriptionShortLanguage03

string

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage03

string

String length: inclusive between 0 and 255

ProductDescriptionShortLanguage04

string

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage04

string

String length: inclusive between 0 and 255

ProductDescriptionShortLanguage05

string

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage05

string

String length: inclusive between 0 and 255

ProductDescriptionShortLanguage06

string

String length: inclusive between 0 and 80

ProductDescriptionLongLanguage06

string

String length: inclusive between 0 and 255

ProductAlias

string

String length: inclusive between 0 and 50

ProductCode

string

Required

String length: inclusive between 0 and 50

ProductOriginalCode

string

None.

ProductCodeSupplier

string

Required

String length: inclusive between 0 and 50

ProductSupplierDeliveryPeriod

integer

Required

ProductSupplierId

integer

None.

Supplier

Supplier

None.

ProductBarcode

string

Required

String length: inclusive between 0 and 50

ProductSalesPrice

decimal number

Required

ProductPurchasePrice

decimal number

None.

SupplierPurchaseDiscount

string

None.

ProductPurchaseNetPrice

decimal number

None.

ProductProfitMargin

decimal number

Required

ProductWeight

decimal number

Required

ICcode

ICcode

Required

ValutaId

integer

Required

Valuta

Valuta

None.

ProductVATPercNormalId

integer

Required

ProductVATPercNormal

VAT

None.

ProductCommodityCode

string

Required

String length: inclusive between 0 and 30

SalesUnitId

integer

Required

SalesUnit

SalesUnit

None.

ProductMaxStock

decimal number

Required

ProductMinStock

decimal number

Required

ProductBrandId

integer

Required

Brand

Brand

None.

ProductCategoryId1

integer

Required

ProductCategoryId2

integer

Required

ProductCategoryId3

integer

Required

ProductIsDiscountEligable

boolean

Required

ProductIsFinancialDiscountEligable

boolean

Required

ProductIsInUse

boolean

Required

ProductIsStock

boolean

Required

ProductShowInSearchList

boolean

Required

ProductShowOnWebsite

boolean

Required

ProductShowOnWebshop

boolean

Required

ProductShowOnHomePage

boolean

Required

ProductInformation

string

Max length: -1

ProductDateCreated

date

None.

ProductUserIdCreated

string

None.

ProductDateChanged

date

None.

ProductUserIdChanged

string

None.

ProductAlternativeProductId

integer

None.

ProductAlternativeCode

string

None.

ProductShowOnAllWebsites

boolean

None.

CompanyId

integer

None.

ProductCopyEtaProductId

integer

None.

ProductHasCopyInStefca

boolean

None.

ObjectState

ObjectState

None.

Response Formats

application/json, text/json

Sample:
{
  "productId": 1,
  "productDescriptionShortLanguage01": "sample string 2",
  "productDescriptionLongLanguage01": "sample string 3",
  "productDescriptionShortLanguage02": "sample string 4",
  "productDescriptionLongLanguage02": "sample string 5",
  "productDescriptionShortLanguage03": "sample string 6",
  "productDescriptionLongLanguage03": "sample string 7",
  "productDescriptionShortLanguage04": "sample string 8",
  "productDescriptionLongLanguage04": "sample string 9",
  "productDescriptionShortLanguage05": "sample string 10",
  "productDescriptionLongLanguage05": "sample string 11",
  "productDescriptionShortLanguage06": "sample string 12",
  "productDescriptionLongLanguage06": "sample string 13",
  "productAlias": "sample string 14",
  "productCode": "sample string 15",
  "productOriginalCode": "sample string 16",
  "productCodeSupplier": "sample string 17",
  "productSupplierDeliveryPeriod": 18,
  "productSupplierId": 1,
  "supplier": {
    "supplierId": 1,
    "supplierName": "sample string 2",
    "supplierStreet": "sample string 3",
    "supplierDepartment": 0,
    "supplierPCode": "sample string 4",
    "supplierCity": "sample string 5",
    "supplierCountryId": 6,
    "country": {
      "countryId": 1,
      "countryName": "sample string 2",
      "countryIsocode": "sample string 3",
      "defaultLanguageId": 4,
      "telephoneCountryPrefix": "sample string 5",
      "objectState": 0
    },
    "supplierTelephone1": "sample string 7",
    "supplierTelephone2": "sample string 8",
    "supplierMobile1": "sample string 9",
    "supplierTelefax": "sample string 10",
    "supplierEmailGeneral": "sample string 11",
    "supplierEmailSales": "sample string 12",
    "supplierEmailPurchasing": "sample string 13",
    "supplierEmailDelivery": "sample string 14",
    "supplierCompanyNumber": "sample string 15",
    "supplierVATregime": 16,
    "supplierValutaId": 17,
    "valuta": {
      "valutaId": 1,
      "valutaIsocode": "sample string 2",
      "valutaName": "sample string 3",
      "isInUse": true,
      "objectState": 0
    },
    "supplierLanguageId": 18,
    "language": {
      "languageId": 1,
      "languageName": "sample string 2",
      "languageIsocode": "sample string 3",
      "languageNumberWebsite": 4,
      "isInUse": true,
      "languageImageName": "sample string 6",
      "objectState": 0
    },
    "supplierDateLastMeeting": "2025-12-11T10:53:00.9821958+01:00",
    "supplierIsInUse": true,
    "supplierDateCreated": "2025-12-11T10:53:00.9821958+01:00",
    "supplierUserIdCreated": "sample string 20",
    "supplierDateChanged": "2025-12-11T10:53:00.9821958+01:00",
    "supplierUserIdChanged": "sample string 21",
    "supplierBrands": [
      {
        "brandId": 1,
        "brandName": "sample string 2",
        "brandIsInUse": true,
        "companyId": 4,
        "objectState": 0
      },
      {
        "brandId": 1,
        "brandName": "sample string 2",
        "brandIsInUse": true,
        "companyId": 4,
        "objectState": 0
      }
    ],
    "companyId": 22,
    "supplierGeneralNotes": "sample string 23",
    "objectState": 0
  },
  "productBarcode": "sample string 19",
  "productSalesPrice": 20.0,
  "productPurchasePrice": 21.0,
  "supplierPurchaseDiscount": "sample string 22",
  "productPurchaseNetPrice": 23.0,
  "productProfitMargin": 24.0,
  "productWeight": 25.0,
  "iCcode": 0,
  "valutaId": 26,
  "valuta": {
    "valutaId": 1,
    "valutaIsocode": "sample string 2",
    "valutaName": "sample string 3",
    "isInUse": true,
    "objectState": 0
  },
  "productVATPercNormalId": 27,
  "productVATPercNormal": {
    "vatId": 1,
    "vaTcode": "sample string 2",
    "vaTpercentage": 3.0,
    "isInUse": true,
    "vatPrintTextLanguage01": "sample string 5",
    "vatPrintTextLanguage02": "sample string 6",
    "vatPrintTextLanguage03": "sample string 7",
    "vatPrintTextLanguage04": "sample string 8",
    "vatPrintTextLanguage05": "sample string 9",
    "vatPrintTextLanguage06": "sample string 10",
    "objectState": 0
  },
  "productCommodityCode": "sample string 28",
  "salesUnitId": 29,
  "salesUnit": {
    "salesUnitId": 1,
    "salesUnitDescriptionLanguage01": "sample string 2",
    "salesUnitDescriptionLanguage02": "sample string 3",
    "salesUnitDescriptionLanguage03": "sample string 4",
    "salesUnitDescriptionLanguage04": "sample string 5",
    "salesUnitDescriptionLanguage05": "sample string 6",
    "salesUnitDescriptionLanguage06": "sample string 7",
    "isInUse": true,
    "companyId": 9,
    "objectState": 0
  },
  "productMaxStock": 30.0,
  "productMinStock": 31.0,
  "productBrandId": 32,
  "brand": {
    "brandId": 1,
    "brandName": "sample string 2",
    "brandIsInUse": true,
    "companyId": 4,
    "objectState": 0
  },
  "productCategoryId1": 33,
  "productCategoryId2": 34,
  "productCategoryId3": 35,
  "productIsDiscountEligable": true,
  "productIsFinancialDiscountEligable": true,
  "productIsInUse": true,
  "productIsStock": true,
  "productShowInSearchList": true,
  "productShowOnWebsite": true,
  "productShowOnWebshop": true,
  "productShowOnHomePage": true,
  "productInformation": "sample string 44",
  "productDateCreated": "2025-12-11T10:53:00.9821958+01:00",
  "productUserIdCreated": "sample string 46",
  "productDateChanged": "2025-12-11T10:53:00.9821958+01:00",
  "productUserIdChanged": "sample string 48",
  "productAlternativeProductId": 1,
  "productAlternativeCode": "sample string 49",
  "productShowOnAllWebsites": true,
  "companyId": 51,
  "productCopyEtaProductId": 1,
  "productHasCopyInStefca": true,
  "objectState": 0
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models">
  <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
  <Brand>
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
    <BrandId>1</BrandId>
    <BrandIsInUse>true</BrandIsInUse>
    <BrandName>sample string 2</BrandName>
    <CompanyId>4</CompanyId>
  </Brand>
  <CompanyId>51</CompanyId>
  <ICcode>IC_goederen</ICcode>
  <ProductAlias>sample string 14</ProductAlias>
  <ProductAlternativeCode>sample string 49</ProductAlternativeCode>
  <ProductAlternativeProductId>1</ProductAlternativeProductId>
  <ProductBarcode>sample string 19</ProductBarcode>
  <ProductBrandId>32</ProductBrandId>
  <ProductCategoryId1>33</ProductCategoryId1>
  <ProductCategoryId2>34</ProductCategoryId2>
  <ProductCategoryId3>35</ProductCategoryId3>
  <ProductCode>sample string 15</ProductCode>
  <ProductCodeSupplier>sample string 17</ProductCodeSupplier>
  <ProductCommodityCode>sample string 28</ProductCommodityCode>
  <ProductCopyEtaProductId>1</ProductCopyEtaProductId>
  <ProductDateChanged>2025-12-11T10:53:00.9821958+01:00</ProductDateChanged>
  <ProductDateCreated>2025-12-11T10:53:00.9821958+01:00</ProductDateCreated>
  <ProductDescriptionLongLanguage01>sample string 3</ProductDescriptionLongLanguage01>
  <ProductDescriptionLongLanguage02>sample string 5</ProductDescriptionLongLanguage02>
  <ProductDescriptionLongLanguage03>sample string 7</ProductDescriptionLongLanguage03>
  <ProductDescriptionLongLanguage04>sample string 9</ProductDescriptionLongLanguage04>
  <ProductDescriptionLongLanguage05>sample string 11</ProductDescriptionLongLanguage05>
  <ProductDescriptionLongLanguage06>sample string 13</ProductDescriptionLongLanguage06>
  <ProductDescriptionShortLanguage01>sample string 2</ProductDescriptionShortLanguage01>
  <ProductDescriptionShortLanguage02>sample string 4</ProductDescriptionShortLanguage02>
  <ProductDescriptionShortLanguage03>sample string 6</ProductDescriptionShortLanguage03>
  <ProductDescriptionShortLanguage04>sample string 8</ProductDescriptionShortLanguage04>
  <ProductDescriptionShortLanguage05>sample string 10</ProductDescriptionShortLanguage05>
  <ProductDescriptionShortLanguage06>sample string 12</ProductDescriptionShortLanguage06>
  <ProductHasCopyInStefca>true</ProductHasCopyInStefca>
  <ProductId>1</ProductId>
  <ProductInformation>sample string 44</ProductInformation>
  <ProductIsDiscountEligable>true</ProductIsDiscountEligable>
  <ProductIsFinancialDiscountEligable>true</ProductIsFinancialDiscountEligable>
  <ProductIsInUse>true</ProductIsInUse>
  <ProductIsStock>true</ProductIsStock>
  <ProductMaxStock>30</ProductMaxStock>
  <ProductMinStock>31</ProductMinStock>
  <ProductOriginalCode>sample string 16</ProductOriginalCode>
  <ProductProfitMargin>24</ProductProfitMargin>
  <ProductPurchaseNetPrice>23</ProductPurchaseNetPrice>
  <ProductPurchasePrice>21</ProductPurchasePrice>
  <ProductSalesPrice>20</ProductSalesPrice>
  <ProductShowInSearchList>true</ProductShowInSearchList>
  <ProductShowOnAllWebsites>true</ProductShowOnAllWebsites>
  <ProductShowOnHomePage>true</ProductShowOnHomePage>
  <ProductShowOnWebshop>true</ProductShowOnWebshop>
  <ProductShowOnWebsite>true</ProductShowOnWebsite>
  <ProductSupplierDeliveryPeriod>18</ProductSupplierDeliveryPeriod>
  <ProductSupplierId>1</ProductSupplierId>
  <ProductUserIdChanged>sample string 48</ProductUserIdChanged>
  <ProductUserIdCreated>sample string 46</ProductUserIdCreated>
  <ProductVATPercNormal>
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
    <IsInUse>true</IsInUse>
    <VATId>1</VATId>
    <VATcode>sample string 2</VATcode>
    <VATpercentage>3</VATpercentage>
    <VatPrintTextLanguage01>sample string 5</VatPrintTextLanguage01>
    <VatPrintTextLanguage02>sample string 6</VatPrintTextLanguage02>
    <VatPrintTextLanguage03>sample string 7</VatPrintTextLanguage03>
    <VatPrintTextLanguage04>sample string 8</VatPrintTextLanguage04>
    <VatPrintTextLanguage05>sample string 9</VatPrintTextLanguage05>
    <VatPrintTextLanguage06>sample string 10</VatPrintTextLanguage06>
  </ProductVATPercNormal>
  <ProductVATPercNormalId>27</ProductVATPercNormalId>
  <ProductWeight>25</ProductWeight>
  <SalesUnit>
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
    <CompanyId>9</CompanyId>
    <IsInUse>true</IsInUse>
    <SalesUnitDescriptionLanguage01>sample string 2</SalesUnitDescriptionLanguage01>
    <SalesUnitDescriptionLanguage02>sample string 3</SalesUnitDescriptionLanguage02>
    <SalesUnitDescriptionLanguage03>sample string 4</SalesUnitDescriptionLanguage03>
    <SalesUnitDescriptionLanguage04>sample string 5</SalesUnitDescriptionLanguage04>
    <SalesUnitDescriptionLanguage05>sample string 6</SalesUnitDescriptionLanguage05>
    <SalesUnitDescriptionLanguage06>sample string 7</SalesUnitDescriptionLanguage06>
    <SalesUnitId>1</SalesUnitId>
  </SalesUnit>
  <SalesUnitId>29</SalesUnitId>
  <Supplier>
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
    <CompanyId>22</CompanyId>
    <Country>
      <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
      <CountryId>1</CountryId>
      <CountryIsocode>sample string 3</CountryIsocode>
      <CountryName>sample string 2</CountryName>
      <DefaultLanguageId>4</DefaultLanguageId>
      <TelephoneCountryPrefix>sample string 5</TelephoneCountryPrefix>
    </Country>
    <Language>
      <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
      <IsInUse>true</IsInUse>
      <LanguageId>1</LanguageId>
      <LanguageImageName>sample string 6</LanguageImageName>
      <LanguageIsocode>sample string 3</LanguageIsocode>
      <LanguageName>sample string 2</LanguageName>
      <LanguageNumberWebsite>4</LanguageNumberWebsite>
    </Language>
    <SupplierBrands>
      <Brand>
        <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
        <BrandId>1</BrandId>
        <BrandIsInUse>true</BrandIsInUse>
        <BrandName>sample string 2</BrandName>
        <CompanyId>4</CompanyId>
      </Brand>
      <Brand>
        <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
        <BrandId>1</BrandId>
        <BrandIsInUse>true</BrandIsInUse>
        <BrandName>sample string 2</BrandName>
        <CompanyId>4</CompanyId>
      </Brand>
    </SupplierBrands>
    <SupplierCity>sample string 5</SupplierCity>
    <SupplierCompanyNumber>sample string 15</SupplierCompanyNumber>
    <SupplierCountryId>6</SupplierCountryId>
    <SupplierDateChanged>2025-12-11T10:53:00.9821958+01:00</SupplierDateChanged>
    <SupplierDateCreated>2025-12-11T10:53:00.9821958+01:00</SupplierDateCreated>
    <SupplierDateLastMeeting>2025-12-11T10:53:00.9821958+01:00</SupplierDateLastMeeting>
    <SupplierDepartment>Empty</SupplierDepartment>
    <SupplierEmailDelivery>sample string 14</SupplierEmailDelivery>
    <SupplierEmailGeneral>sample string 11</SupplierEmailGeneral>
    <SupplierEmailPurchasing>sample string 13</SupplierEmailPurchasing>
    <SupplierEmailSales>sample string 12</SupplierEmailSales>
    <SupplierGeneralNotes>sample string 23</SupplierGeneralNotes>
    <SupplierId>1</SupplierId>
    <SupplierIsInUse>true</SupplierIsInUse>
    <SupplierLanguageId>18</SupplierLanguageId>
    <SupplierMobile1>sample string 9</SupplierMobile1>
    <SupplierName>sample string 2</SupplierName>
    <SupplierPCode>sample string 4</SupplierPCode>
    <SupplierStreet>sample string 3</SupplierStreet>
    <SupplierTelefax>sample string 10</SupplierTelefax>
    <SupplierTelephone1>sample string 7</SupplierTelephone1>
    <SupplierTelephone2>sample string 8</SupplierTelephone2>
    <SupplierUserIdChanged>sample string 21</SupplierUserIdChanged>
    <SupplierUserIdCreated>sample string 20</SupplierUserIdCreated>
    <SupplierVATregime>16</SupplierVATregime>
    <SupplierValutaId>17</SupplierValutaId>
    <Valuta>
      <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
      <IsInUse>true</IsInUse>
      <ValutaId>1</ValutaId>
      <ValutaIsocode>sample string 2</ValutaIsocode>
      <ValutaName>sample string 3</ValutaName>
    </Valuta>
  </Supplier>
  <SupplierPurchaseDiscount>sample string 22</SupplierPurchaseDiscount>
  <Valuta>
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
    <IsInUse>true</IsInUse>
    <ValutaId>1</ValutaId>
    <ValutaIsocode>sample string 2</ValutaIsocode>
    <ValutaName>sample string 3</ValutaName>
  </Valuta>
  <ValutaId>26</ValutaId>
</Product>