POST api/reports/XReport
Request Information
URI Parameters
None.
Body Parameters
XReportRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DbId | integer |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| InvoiceCompanyId | integer |
None. |
|
| Language | ReportLanguageEnum |
None. |
|
| Format | ReportFormatEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"DbId": 1,
"FromDate": "2026-06-18T07:03:23.9874087+02:00",
"ToDate": "2026-06-18T07:03:23.9874087+02:00",
"InvoiceCompanyId": 4,
"Language": 1,
"Format": 1
}
application/xml, text/xml
Sample:
<XReportRequest 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> <FromDate>2026-06-18T07:03:23.9874087+02:00</FromDate> <InvoiceCompanyId>4</InvoiceCompanyId> <ToDate>2026-06-18T07:03:23.9874087+02:00</ToDate> </XReportRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |