GET api/{database}/ProductGroupRelationInfo/{productGroupId}/{fiscalYear}
Gets the specified ProductGroupRelationInfo.
Request Information
Parameters
| Name | Description | Additional 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:
{
"discountAccountId": "sample string 1",
"fiscalYear": 2,
"productGroupId": "sample string 3",
"revenueAccountId": "sample string 4"
}
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"> <DiscountAccountId>sample string 1</DiscountAccountId> <FiscalYear>2</FiscalYear> <ProductGroupId>sample string 3</ProductGroupId> <RevenueAccountId>sample string 4</RevenueAccountId> </ProductGroupRelationInfo>