POST api/reports/ExpiredGiftCertificate
Request Information
URI Parameters
None.
Body Parameters
RevenueRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DBs | Collection of integer |
None. |
|
| Date1 | date |
None. |
|
| Date2 | date |
None. |
|
| ShowPreviousYear | boolean |
None. |
|
| InvoiceCompanyId | integer |
None. |
|
| InvoicePeriod | string |
None. |
|
| ServiceId | string |
None. |
|
| ResourceId | string |
None. |
|
| UseServiceGroup | string |
None. |
|
| PeriodGroup | string |
None. |
|
| UseProductGroup | string |
None. |
|
| IsHideInactiveResources | boolean |
None. |
|
| SummedUpReport | integer |
None. |
|
| ResourceNames | Collection of string |
None. |
|
| PaymentMethodId | integer |
None. |
|
| IsHideCustomers | boolean |
None. |
|
| IncludeInvoiceFee | boolean |
None. |
|
| GroupResource | boolean |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| ShowPunchCard | boolean |
None. |
|
| Language | ReportLanguageEnum |
None. |
|
| Format | ReportFormatEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBs": [
1,
2
],
"Date1": "2026-06-18T07:11:35.497841+02:00",
"Date2": "2026-06-18T07:11:35.497841+02:00",
"ShowPreviousYear": true,
"InvoiceCompanyId": 4,
"InvoicePeriod": "sample string 5",
"ServiceId": "sample string 6",
"ResourceId": "sample string 7",
"UseServiceGroup": "sample string 8",
"PeriodGroup": "sample string 9",
"UseProductGroup": "sample string 10",
"IsHideInactiveResources": true,
"SummedUpReport": 1,
"ResourceNames": [
"sample string 1",
"sample string 2"
],
"PaymentMethodId": 1,
"IsHideCustomers": true,
"IncludeInvoiceFee": true,
"GroupResource": true,
"Start": "2026-06-18T07:11:35.497841+02:00",
"End": "2026-06-18T07:11:35.497841+02:00",
"ShowPunchCard": true,
"Language": 1,
"Format": 1
}
application/xml, text/xml
Sample:
<RevenueRequest 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>
<DBs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DBs>
<Date1>2026-06-18T07:11:35.497841+02:00</Date1>
<Date2>2026-06-18T07:11:35.497841+02:00</Date2>
<End>2026-06-18T07:11:35.497841+02:00</End>
<GroupResource>true</GroupResource>
<IncludeInvoiceFee>true</IncludeInvoiceFee>
<InvoiceCompanyId>4</InvoiceCompanyId>
<InvoicePeriod>sample string 5</InvoicePeriod>
<IsHideCustomers>true</IsHideCustomers>
<IsHideInactiveResources>true</IsHideInactiveResources>
<PaymentMethodId>1</PaymentMethodId>
<PeriodGroup>sample string 9</PeriodGroup>
<ResourceId>sample string 7</ResourceId>
<ResourceNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ResourceNames>
<ServiceId>sample string 6</ServiceId>
<ShowPreviousYear>true</ShowPreviousYear>
<ShowPunchCard>true</ShowPunchCard>
<Start>2026-06-18T07:11:35.497841+02:00</Start>
<SummedUpReport>1</SummedUpReport>
<UseProductGroup>sample string 10</UseProductGroup>
<UseServiceGroup>sample string 8</UseServiceGroup>
</RevenueRequest>
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. |