invantive documentation
Invantive Support ForumsLog In / Sign Up

DiscountCodesV2: Visma.net Financials Discount Codes (V2)

read only REST

  • Catalog: VismaNet
  • Schema: DiscountCodeV2
  • Label: Discount Codes (V2)

Get a range of discount codes - ScreenId=AR209000

Can only retrieve data.

API Source

  • Endpoint: /v2/discountCode
  • Operation: get /v2/discountCode

Performance Characteristics

Characteristic Value
Average access latency (ms) 155
Full scan rows per minute 29,100
Point query rows per minute 387

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
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): * '>' for greater than * '<' for less than * '>=' for greater than or equal * '<=' for less than or equal Note: CreatedDateTime and CreatedDateTimeCondition are mutually inclusive.
discountCode ``
lastModifiedDateTime ``
lastModifiedDateTimeCondition `` System retrieved information for state/condition.

Table Columns

The columns of the table DiscountCodesV2 are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
COMPANY_CODE varchar2(30) Company Code writable Partition code, segmenting the data.
COMPANY_NAME varchar2(240) Company Name writable Name of the partition.
applicableTo varchar2 itgen_vnet_applicableto filters on the platform, writable, applicableTo Mandatory field: Discount codes table > Applicable to > The entity to which the discount may be applied. Applicable To values: CU - Customer, CI - Customer and Item, CP - Customer and Item Price Class, CE - Customer Price Class, PI - Customer Price Class and Item, PP - Customer Price Class and Item Price Class, CB - Customer and Branch, PB - Customer Price Class and Branch, WH - Warehouse, WI - Warehouse and Item, WC - Warehouse and Customer, WP - Warehouse and Item Price Class, WE - Warehouse and Customer Price Class, BR - Branch, IN - Item, IE - Item Price Class, UN - Unconditional
applyToDeferredRevenue char itgen_vnet_applytodeferredrevenue filters on the platform, writable, applyToDeferredRevenue Discount codes table > Apply to deferred revenue > A check box that (if selected) indicates that a discount should be applied to a component price while computing a deferred revenue for the component.
autoNumbering char itgen_vnet_autonumbering filters on the platform, writable, autoNumbering Discount codes table > Auto numbering > A check box that you select to use auto-numbering for generating IDs for series based on this discount code.
createdDateTime datetime Created filters on the platform, writable, createdDateTime System generated value.
description varchar2 Description filters on the platform, writable, description
discountCode varchar2 Discount Code filters on the platform, writable, discountCode
discountType varchar2 itgen_vnet_discounttype filters on the platform, writable, discountType DiscountType: L - Line, G - Group, D - Document
errorInfo varchar2 Error Message filters on the platform, writable, errorInfo
excludeFromDiscountableAmount char itgen_vnet_excludefromdiscountableamount filters on the platform, writable, excludeFromDiscountableAmount Discount codes table > Exclude from discountable amount > A check box that (if selected) indicates that the line amount is excluded from the amount that is the base for any applicable Group or Document discount.
lastModifiedDateTime datetime Last Modified filters on the platform, writable, lastModifiedDateTime System generated value.
lastNumber varchar2 itgen_vnet_lastnumber filters on the platform, writable, lastNumber Discount codes table > Last number > The last ID used for the series if series IDs are auto-numbered.
manual char itgen_vnet_manual filters on the platform, writable, manual Discount codes table > Manual > A check box that (if selected) indicates that this discount is excluded from automatic searches for the best available discount.
metadata_maxPageSize int64 Metadata Max Pagesize filters on the platform, writable, metadata.maxPageSize
metadata_totalCount int64 Total Count filters on the platform, writable, metadata.totalCount
skipDocumentDiscounts char itgen_vnet_skipdocumentdiscounts filters on the platform, writable, skipDocumentDiscounts Discount codes table > Skip document discounts > A check box that indicates (if selected) that after this discount has been applied, no other applicable discounts should be applied.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: