POST Management/GetSalesTotalIncludingOrdersAndRepeating

Omzet van huidige jaar o.b.v. facturen (Let op! er wordt geen rekening gehouden met de geschiedenispunten).

Request Information

URI Parameters

None.

Body Parameters

ReportFilter
NameDescriptionTypeAdditional information
TimeFrame

Tijdsperiode

TimeFrame

None.

IncludingCurrentPeriod

Inclusief huidige periode

boolean

None.

HistoryPoints

Geschiedenispunten

integer

None.

IncludeOffers

Offertes meenemen

boolean

None.

IncludeOpenOrders

Openstaande orders meenemen

boolean

None.

IncludeOrders

Orders meenemen

boolean

None.

IncludeSubscriptions

Abonnementen meenemen

boolean

None.

IncludeInvoices

Facturen meenemen

boolean

None.

Year

Omzet voor een jaar

integer

None.

WebSiteDomainsIds

Specifieke Websites

Collection of integer

None.

TypeContactGroupsIds

Lijst van contact groepen, hierop wordt gegroepeerd in GetReportingGetSalesHistoryForTypeContactGroups

Collection of integer

None.

ExcludingDebtors

Lijst van debiteur nummers die worden uitgesloten.

Collection of integer

None.

OnlyForExcludingDebtors

Haal de gegevens op voor alleen de debiteuren die in de uitsluit collectie staan.

boolean

None.

NotLinkedToWebsiteDomain

Neem orders/facturen/offertes mee die niet gekoppeld zijn aan een websitedomein.

boolean

None.

EmployeeIds

Specifieke werknemers

Collection of integer

None.

BranchIds

Neem orders/facturen/offertes mee van specifieke filialen.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TimeFrame": "Day",
  "IncludingCurrentPeriod": true,
  "HistoryPoints": 2,
  "IncludeOffers": true,
  "IncludeOpenOrders": true,
  "IncludeOrders": true,
  "IncludeSubscriptions": true,
  "IncludeInvoices": true,
  "Year": 1,
  "WebSiteDomainsIds": [
    1,
    2
  ],
  "TypeContactGroupsIds": [
    1,
    2
  ],
  "ExcludingDebtors": [
    1,
    2
  ],
  "OnlyForExcludingDebtors": true,
  "NotLinkedToWebsiteDomain": true,
  "EmployeeIds": [
    1,
    2
  ],
  "BranchIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ReportFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <BranchIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BranchIds>
  <EmployeeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EmployeeIds>
  <ExcludingDebtors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludingDebtors>
  <HistoryPoints>2</HistoryPoints>
  <IncludeInvoices>true</IncludeInvoices>
  <IncludeOffers>true</IncludeOffers>
  <IncludeOpenOrders>true</IncludeOpenOrders>
  <IncludeOrders>true</IncludeOrders>
  <IncludeSubscriptions>true</IncludeSubscriptions>
  <IncludingCurrentPeriod>true</IncludingCurrentPeriod>
  <NotLinkedToWebsiteDomain>true</NotLinkedToWebsiteDomain>
  <OnlyForExcludingDebtors>true</OnlyForExcludingDebtors>
  <TimeFrame>Day</TimeFrame>
  <TypeContactGroupsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TypeContactGroupsIds>
  <WebSiteDomainsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WebSiteDomainsIds>
  <Year>1</Year>
</ReportFilter>

Response Information

Resource Description

Logic4ResponseOfDecimal
NameDescriptionTypeAdditional information
Value

decimal number

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": 1.0,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfdecimal 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>
  <Value>1</Value>
</Logic4ResponseOfdecimal>