POST api/reports/SalaryReport

Request Information

URI Parameters

None.

Body Parameters

SalaryRequest
NameDescriptionTypeAdditional information
DBs

Collection of integer

None.

Start

date

None.

End

date

None.

InvoiceCompanyId

integer

None.

InvoicePeriod

string

None.

ResourceIds

Collection of integer

None.

ShowOnlyActive

boolean

None.

Advanced

boolean

None.

Language

ReportLanguageEnum

None.

Format

ReportFormatEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "DBs": [
    1,
    2
  ],
  "Start": "2026-06-18T07:09:48.0010605+02:00",
  "End": "2026-06-18T07:09:48.0010605+02:00",
  "InvoiceCompanyId": 3,
  "InvoicePeriod": "sample string 4",
  "ResourceIds": [
    1,
    2
  ],
  "ShowOnlyActive": true,
  "Advanced": true,
  "Language": 1,
  "Format": 1
}

application/xml, text/xml

Sample:
<SalaryRequest 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>
  <Advanced>true</Advanced>
  <DBs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DBs>
  <End>2026-06-18T07:09:48.0010605+02:00</End>
  <InvoiceCompanyId>3</InvoiceCompanyId>
  <InvoicePeriod>sample string 4</InvoicePeriod>
  <ResourceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ResourceIds>
  <ShowOnlyActive>true</ShowOnlyActive>
  <Start>2026-06-18T07:09:48.0010605+02:00</Start>
</SalaryRequest>

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.