GET api/Report/ArticleGroupInvoiceDebtorRevenue?StartDate={StartDate}&EndDate={EndDate}

Get revenue report grouped by articlegroup and year, where debtor is the invoice debtor.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StartDate

date

Required

EndDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ArticleGroupRevenueReport
NameDescriptionTypeAdditional information
Debnr

string

None.

Assortment

integer

None.

AssortmentCode

string

None.

ItemClassCode

string

None.

ItemClassDescription

string

None.

FinancialYear

integer

None.

Revenue

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Debnr": "sample string 1",
    "Assortment": 2,
    "AssortmentCode": "sample string 3",
    "ItemClassCode": "sample string 4",
    "ItemClassDescription": "sample string 5",
    "FinancialYear": 6,
    "Revenue": 7.1
  },
  {
    "Debnr": "sample string 1",
    "Assortment": 2,
    "AssortmentCode": "sample string 3",
    "ItemClassCode": "sample string 4",
    "ItemClassDescription": "sample string 5",
    "FinancialYear": 6,
    "Revenue": 7.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfArticleGroupRevenueReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ArticleGroupRevenueReport>
    <Debnr>sample string 1</Debnr>
    <Assortment>2</Assortment>
    <AssortmentCode>sample string 3</AssortmentCode>
    <ItemClassCode>sample string 4</ItemClassCode>
    <ItemClassDescription>sample string 5</ItemClassDescription>
    <FinancialYear>6</FinancialYear>
    <Revenue>7.1</Revenue>
  </ArticleGroupRevenueReport>
  <ArticleGroupRevenueReport>
    <Debnr>sample string 1</Debnr>
    <Assortment>2</Assortment>
    <AssortmentCode>sample string 3</AssortmentCode>
    <ItemClassCode>sample string 4</ItemClassCode>
    <ItemClassDescription>sample string 5</ItemClassDescription>
    <FinancialYear>6</FinancialYear>
    <Revenue>7.1</Revenue>
  </ArticleGroupRevenueReport>
</ArrayOfArticleGroupRevenueReport>