POST api/reports/SalesPeriod

Request Information

URI Parameters

None.

Body Parameters

SalesPeriodRequest
NameDescriptionTypeAdditional information
DBId

integer

None.

From

date

None.

To

date

None.

ResourceId

integer

None.

ServiceId

integer

None.

InvoiceCompanyId

integer

None.

GroupService

boolean

None.

GroupProduct

string

None.

OrderBy

string

None.

Language

ReportLanguageEnum

None.

Format

ReportFormatEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "DBId": 1,
  "From": "2026-06-18T07:06:26.2209114+02:00",
  "To": "2026-06-18T07:06:26.2209114+02:00",
  "ResourceId": 1,
  "ServiceId": 1,
  "InvoiceCompanyId": 4,
  "GroupService": true,
  "GroupProduct": "sample string 6",
  "OrderBy": "sample string 7",
  "Language": 1,
  "Format": 1
}

application/xml, text/xml

Sample:
<SalesPeriodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hano.Report.Model">
  <Format>PDF</Format>
  <Language>nbNO</Language>
  <DBId>1</DBId>
  <From>2026-06-18T07:06:26.2209114+02:00</From>
  <GroupProduct>sample string 6</GroupProduct>
  <GroupService>true</GroupService>
  <InvoiceCompanyId>4</InvoiceCompanyId>
  <OrderBy>sample string 7</OrderBy>
  <ResourceId>1</ResourceId>
  <ServiceId>1</ServiceId>
  <To>2026-06-18T07:06:26.2209114+02:00</To>
</SalesPeriodRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.