GET api/{database}/SalesStatisticsSummary/ForInvoices/{fiscalyear}/{type}/{yearToDate}

Gets the specified SalesStatisticsSummary.



Request Information

Parameters

NameDescriptionAdditional information
fiscalyear The fiscalyear.

Define this parameter in the request URI.

type The type. Accepted values are: Value Description 1 PerWeek 2 PerMonth 3 PerQuarter 4 FiscalYearPeriods 5 PerFiscalYear

Define this parameter in the request URI.

yearToDate The yearToDate.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "details": null,
  "fiscalYear": 1,
  "lastTransactionDate": "sample string 2",
  "total": 3.0,
  "yearToDateTotal": 4.0
}

application/xml, text/xml

Sample:
<SalesStatisticsSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Statistics">
  <Details xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Statistics" i:nil="true" />
  <FiscalYear>1</FiscalYear>
  <LastTransactionDate>sample string 2</LastTransactionDate>
  <Total>3</Total>
  <YearToDateTotal>4</YearToDateTotal>
</SalesStatisticsSummary>