' Options:
'Date: 2026-01-12 03:28:42
'Version: 8.22
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://p4v8.smartdatasolutions.nl/api
'
'''GlobalNamespace:
'''MakePartial: True
'''MakeVirtual: True
'''MakeDataContractsExtensible: False
'''AddReturnMarker: True
'''AddDescriptionAsComments: True
'''AddDataContractAttributes: False
'''AddIndexesToDataMembers: False
'''AddGeneratedCodeAttributes: False
'''AddResponseStatus: False
'''AddImplicitVersion:
'''InitializeCollections: True
'''ExportValueTypes: False
'IncludeTypes: Usage.*
'''ExcludeTypes:
'''AddNamespaces:
'''AddDefaultXmlNamespace: http://schemas.servicestack.net/types
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports SDS.P4v6a.API.Common
Imports SDS.P4v6a.API.ServiceModel.Requests
Namespace Global
Namespace SDS.P4v6a.API.ServiceModel.Requests
Public Partial Class Generic
'''
'''Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY
'''
Public Overridable Property ApiKey As String
'''
'''Normally the result of the request is put inside a resultobject with some status information about the request. If you want the output as csv this outer object can be irritating. Default value: FALSE
'''
Public Overridable Property OnlyPayload As Boolean
'''
'''Show the request as interpreted by the api. Useful to see how filters / dates are parsed. If no value us provided, the default value is: FALSE
'''
Public Overridable Property ShowRequest As Boolean
'''
'''Format all DateTime in the response object. If used in browser, sometimes ISO8601 is not correctly transformed. Enum options: ISO8601 (DEFAULT), UTC, NL, NLOffset, Unix, UnixMillis
'''
Public Overridable Property DateTimeFormat As DateTimeFormat
End Class
'''
'''Get usages from tablestorage
'''
Public Partial Class Usage
Inherits Generic
'''
'''Request of details of specific meteringpoint with Ean
'''
Public Overridable Property Ean As String
'''
'''Aggregation level. The None-'level' will give the most detailed level available for the requested asset. If a level is requested that is not available or can be calculate, no data is returned. Enum options: None, Hour, Day
'''
Public Overridable Property Aggregation As AggregationForAPI
'''
'''Start date the usages are requested for
'''
Public Overridable Property DateFrom As Date
'''
'''End date the usages are requested for (this is included in the response). If no date is provided the DateTo will seven days from the DateFrom.
'''
Public Overridable Property DateTo As Nullable(Of Date)
'''
'''The output can be generated in a few formats. UsageReturnCombined: return values will be subtracted from the usage, UsageReturn: separate columns form usage and return (if available) and UsageReturnAndTariff: for both usage and return a column for tariff1 and tariff2. Default value: UsageReturnCombined
'''
Public Overridable Property PayloadFormat As PayloadFormat
'''
'''See filter. Usages are available from the Detail or Day channel. Default value: Detail
'''
Public Overridable Property Source As MeasurementSource
'''
'''Add column with Dutch day (Default: false)
'''
Public Overridable Property AddDateNL As Boolean
'''
'''Add columns with CreatedOn and LastUpdated (Default: false)
'''
Public Overridable Property AddTimestamps As Boolean
'''
'''Add column with ean (Default: false)
'''
Public Overridable Property AddEan As Boolean
'''
'''Create a row for each register instead of a column/field for each register (Default: false)
'''
Public Overridable Property RegistersInRows As Boolean
'''
'''Gridoperator doesn't provided tariff information for the detail channel, but this can be calculated (Default: false)
'''
Public Overridable Property CalculateDetailTariff As Boolean
'''
'''calculate the usage of that period and divide it over the missing hours or 15 minute periods, but this can be calculated (Default: false)
'''
Public Overridable Property CalculateMissingUsages As Boolean
End Class
End Namespace
End Namespace