GET api/{database}/SupplierInvoiceStatistics/{supplierId}?referenceDate={referenceDate}

Gets the specified SupplierInvoiceStatistics.



Request Information

Parameters

NameDescriptionAdditional information
supplierId The supplierId.

Define this parameter in the request URI.

referenceDate The referenceDate.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "currentInvoices": null,
  "currentMonth": 1.0,
  "currentPeriod": 2.0,
  "currentQuarter": 3.0,
  "currentWeek": 4.0,
  "previousInvoices": null,
  "previousMonth": 5.0,
  "previousPeriod": 6.0,
  "previousQuarter": 7.0,
  "previousWeek": 8.0,
  "sumCurrentYear": 9.0,
  "sumPreviousYear": 10.0
}

application/xml, text/xml

Sample:
<SupplierInvoiceStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Statistics">
  <CurrentInvoices xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <CurrentMonth>1</CurrentMonth>
  <CurrentPeriod>2</CurrentPeriod>
  <CurrentQuarter>3</CurrentQuarter>
  <CurrentWeek>4</CurrentWeek>
  <PreviousInvoices xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <PreviousMonth>5</PreviousMonth>
  <PreviousPeriod>6</PreviousPeriod>
  <PreviousQuarter>7</PreviousQuarter>
  <PreviousWeek>8</PreviousWeek>
  <SumCurrentYear>9</SumCurrentYear>
  <SumPreviousYear>10</SumPreviousYear>
</SupplierInvoiceStatistics>