POST Management/GetTop10Products

Top 10 artikelen (dag/week/maand/kwartaal/jaar).

Request Information

URI Parameters

None.

Body Parameters

Top10Filter
NameDescriptionTypeAdditional information
TimeFrame

Tijdsperiode

TimeFrame

Required

IncludingCurrentPeriod

Inclusief huidige periode

boolean

None.

ExcludeDebtorIds

Sluit debiteuren uit voor bijv. top 10 debiteuren

Collection of integer

None.

WebSiteDomainsIds

Specifieke Websites

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TimeFrame": "Day",
  "IncludingCurrentPeriod": true,
  "ExcludeDebtorIds": [
    1,
    2
  ],
  "WebSiteDomainsIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<Top10Filter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <ExcludeDebtorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeDebtorIds>
  <IncludingCurrentPeriod>true</IncludingCurrentPeriod>
  <TimeFrame>Day</TimeFrame>
  <WebSiteDomainsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WebSiteDomainsIds>
</Top10Filter>

Response Information

Resource Description

Logic4ResponseListOfTop10Item
NameDescriptionTypeAdditional information
Records

Collection of Top10Item

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Value": 3.0
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Value": 3.0
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfTop10ItemLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:Top10Item>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Value>3</d2p1:Value>
    </d2p1:Top10Item>
    <d2p1:Top10Item>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Value>3</d2p1:Value>
    </d2p1:Top10Item>
  </Records>
</Logic4ResponseListOfTop10ItemLnN1pw8Y>