' Options:
'Date: 2026-01-12 03:49:00
'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: Reading.*
'''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 readings of a metering point
'''
Public Partial Class Reading
Inherits Generic
'''
'''Request of details of specific metering point with Ean
'''
Public Overridable Property Ean As String
'''
'''Detail gives hourly readings for gas and 15 minutes readings for electricity. Only register 1.8.0 (G&E) and 2.8.0 (E) are available. The Day and Month filter are by default also based on the detail readings. Optional it is possible to get the values from the day channels. Advantage: readings are the readings visible as on the smart meter and for electricity the High/Low distinction is available. Downside: for some of the older smart meter models, no decimals are available. Registers starting with 1 are usage, starting with 2 are return. Registers ending on 1 are normal/high tariff, ending on 2 are low/night/weekend tariff. For gas only register 1.8.0 is available. For electricity 1.8.1/1.8.2/2.8.1/2.8.2 are available
'''
Public Overridable Property Filter As Filter
'''
'''Start date the readings are requested for
'''
Public Overridable Property DateFrom As Date
'''
'''End date the readings are requested for (this date is included in the response). If no date is provided the DateTo will be seven days from DateFrom.
'''
Public Overridable Property DateTo As Nullable(Of Date)
'''
'''See filter. Readings 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 the first reading of the next day if available. Only available/relevant if no aggregation / source is detail (Default: true)
'''
Public Overridable Property AddFirstReadingNextDay As Nullable(Of 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
'''
'''Add column with the meter serial number (Default: false)
'''
Public Overridable Property AddMeterId As Boolean
'''
'''Create a row for each register instead of a column/field for each register (Default: false)
'''
Public Overridable Property RegistersInRows As Boolean
End Class
End Namespace
End Namespace