---
title: "DiscountCustomerPriceClassesV2 (Visma.net Financials)"
description: "Alennetut asiakashintaluokat (V2)"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/vismanet/VismaNet.DiscountV2.DiscountCustomerPriceClassesV2
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.DiscountV2.DiscountCustomerPriceClassesV2
updated: 2026-12-05T20:46:25Z
license: https://documentation.invantive.eu/fi/
---

# DiscountCustomerPriceClassesV2: Visma.net Financials Discount Customer Price Classes (V2)

`read only` `REST`

- Luettelo: `VismaNet`
- Kaavio: `DiscountV2`
- Label: Discount Customer Price Classes (V2)

Get a range of discounts - ScreenId=AR209500

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/v2/discount`
- Toiminto: `get /v2/discount`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Keskimääräinen yhteysviive (ms) | 256 |
| Täysskannausrivit minuutissa | 19,100 |
| Query-rivien määrä minuutissa | 387 |

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `createdDateTime` | `` | [ ] |  | This value, generated by the system, indicates the creation date and time.Use it to retrieve all records that have been created since that time, up to the present.Accepted format: * ```yyyy-MM-dd``` * ```yyyy-MM-dd HH:mm:ss``` * ```yyyy-MM-dd HH:mm:ss.FFF``` * ```yyyy-MM-ddTHH:mm:ss``` * ```yyyy-MM-ddTHH:mm:ss.FFF```  _Note:_ __CreatedDateTime__ and __CreatedDateTimeCondition__ are __mutually inclusive__. |
| `createdDateTimeCondition` | `` | [ ] |  | This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' for less than or equal  _Note:_ __CreatedDateTime__ and __CreatedDateTimeCondition__ are __mutually inclusive__. |
| `discountCode` | `` | [ ] |  |  |
| `lastModifiedDateTime` | `` | [ ] |  |  |
| `lastModifiedDateTimeCondition` | `` | [ ] |  | System retrieved information for state/condition. |
| `series` | `` | [ ] |  |  |

## Taulukon sarakkeet

Taulukon `DiscountCustomerPriceClassesV2` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | Yrityskoodi | [x] | writable | Osiokoodi, joka jäsentää tiedot. |
| `COMPANY_NAME` | `varchar2(240)` | Yrityksen nimi | [x] | writable | Osion nimi. |
| `active` | `char` | Aktiivinen | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.active` | The top part &gt; Active &gt; A check box that indicates (if selected) that the series is active. |
| `breakBy` | `varchar2` | itgen_vnet_breakby | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.breakBy` | The top part &gt; Break by &gt; The way the breakpoints for this discount series are specified.Quantity, Amount. |
| `createdDateTime` | `datetime` | Luotu | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.createdDateTime` |  |
| `description` | `varchar2` | Kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.description` | The top part &gt; Description &gt; A brief description of the series. |
| `discountBy` | `varchar2` | itgen_vnet_discountby | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.discountBy` | The top part &gt; Discount by &gt; The way the discount for the series is specified.Percent, Amount, Free item. |
| `discountCode` | `varchar2` | Alennuskoodi | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.discountCode` | Mandatory field: The top part &gt; Discount code &gt; The code of the discount for which you want to create a new series or view an existing one. |
| `effectiveDate` | `datetime` | Voimaantulopäivä | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.effectiveDate` | The top part &gt; Effective date &gt; The date when the series becomes effective; this field appears for promotional discount series only. |
| `errorInfo` | `varchar2` | Virheilmoitus | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.errorInfo` |  |
| `expirationDate` | `datetime` | Voimassaoloaika | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.expirationDate` | The top part &gt; Expiration date &gt; The date when the promotional discount expires.This field appears for the series if the Promotional check box is selected. |
| `freeItem` | `int32` | Ilmainen tuote | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.freeItem` | Free item tab &gt; Free item &gt; The free item (by its item ID) that is added to orders as the discount for this series. |
| `lastFreeItem` | `int32` | itgen_vnet_lastfreeitem | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.lastFreeItem` | Free item tab &gt; Last free item &gt; The free item (by its item ID) that had been added to orders as the discount for this series before the date shown in the Last date column on the Discount breakpoints tab. |
| `lastModifiedDateTime` | `datetime` | Viimeksi muokattu | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.lastModifiedDateTime` | Free item tab &gt; Last update date &gt; A read-only field that shows the date when this discount series has been updated last. |
| `lastUpdateDate` | `datetime` | itgen_vnet_lastupdatedate | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.lastUpdateDate` | The top part &gt; Last update date &gt; A read-only field that shows the date when the discount series was last updated. |
| `lineCntr` | `int32` | itgen_vnet_linecntr | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.lineCntr` | Free item tab &gt; A line counter for the table. |
| `metadata_maxPageSize` | `int64` | Metatietojen enimmäissivukoko | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.metadata.maxPageSize` |  |
| `metadata_totalCount` | `int64` | Yhteismäärä | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.metadata.totalCount` |  |
| `pendingFreeItem` | `int32` | itgen_vnet_pendingfreeitem | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.pendingFreeItem` | Free item tab &gt; Pending free item &gt; The free item (by its item ID) that will be added to orders as the discount for this series, starting on the date specified in the Pending date column on the Discount breakpoints tab. |
| `priceClassId` | `varchar2` | itgen_vnet_priceclassid | [ ] | kirjoitettavissa, `priceClassId` |  |
| `promotional` | `char` | itgen_vnet_promotional | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.promotional` | The top part &gt; Promotional &gt; A check box that indicates (if selected) that the series is a promotional discount. |
| `prorateDiscount` | `char` | itgen_vnet_proratediscount | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.prorateDiscount` | The top part &gt; Prorate discount &gt; A check box that indicates (if selected) that the discount can be prorated. |
| `series` | `varchar2` | itgen_vnet_series | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.series` | Mandatory field: The top part &gt; Series &gt; The ID of the series defined for the discount. |
| `timeStamp` | `blob` | Aikaleima | [ ] | alustan suodattimet, kirjoitettavissa, `::ancestor.timeStamp` | Identifier that represents a specific version of the resource.It helps to prevent simultaneous updates of the resource from overwriting each other (by using ETags and If-Match headers) |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

- [Visma.net Financials](/fi/release-notes/drivers/visma-net-financials)
