GET api/{database}/ProductGroupRelationInfo/{productGroupId}/{fiscalYear}

Gets the specified ProductGroupRelationInfo.



Request Information

Parameters

NameDescriptionAdditional information
productGroupId The productGroupId.

Define this parameter in the request URI.

fiscalYear The fiscalYear.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "costOfGoodsAccountId": "sample string 1",
  "coverageAccountId": "sample string 2",
  "discountAccountId": "sample string 3",
  "fiscalYear": 4,
  "inventoryAccountId": "sample string 5",
  "productGroupId": "sample string 6",
  "revenueAccountId": "sample string 7"
}

application/xml, text/xml

Sample:
<ProductGroupRelationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Info">
  <CostOfGoodsAccountId>sample string 1</CostOfGoodsAccountId>
  <CoverageAccountId>sample string 2</CoverageAccountId>
  <DiscountAccountId>sample string 3</DiscountAccountId>
  <FiscalYear>4</FiscalYear>
  <InventoryAccountId>sample string 5</InventoryAccountId>
  <ProductGroupId>sample string 6</ProductGroupId>
  <RevenueAccountId>sample string 7</RevenueAccountId>
</ProductGroupRelationInfo>