' Options: 'Date: 2026-01-12 04:57:27 'Version: 8.52 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://p4.smartdatasolutions.eu ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: ReadingsBulk.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports SDS.V8.APIs.P4.EU.ServiceModel Imports SDS.P4.Common.DTO.EDSN Imports SDS.V8.APIs.P4.EU.ServiceModel.Types Namespace Global Namespace SDS.P4.Common.DTO.EDSN Public Partial Class P4ReadingDay Public Overridable Property Ean As String Public Overridable Property MeterId As String Public Overridable Property QueryDate As DateOnly Public Overridable Property MeasureUnit As String Public Overridable Property R180 As Decimal? Public Overridable Property R181 As Decimal? Public Overridable Property R182 As Decimal? Public Overridable Property R280 As Decimal? Public Overridable Property R281 As Decimal? Public Overridable Property R282 As Decimal? End Class Public Partial Class P4ReadingInterval Public Overridable Property Ean As String Public Overridable Property MeterId As String Public Overridable Property QueryDate As DateOnly Public Overridable Property MeasureUnit As String Public Overridable Property Items As List(Of P4ReadingIntervalItem) End Class Public Partial Class P4ReadingIntervalItem Public Overridable Property DateTimeOffset As DateTimeOffset Public Overridable Property R180 As Decimal Public Overridable Property R280 As Decimal? End Class Public Partial Class P4Rejection Public Overridable Property Ean As String Public Overridable Property QueryDate As DateOnly Public Overridable Property QueryReason As String Public Overridable Property RejectionCode As String Public Overridable Property RejectionText As String End Class End Namespace Namespace SDS.V8.APIs.P4.EU.ServiceModel 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 End Class Public Partial Class ReadingsBulk Inherits Generic Implements IReturn(Of P4ReadingsBulk) Implements IGet ''' '''If not given, the first object is given after the last request, otherwise gives the first ... data objects received from EDSN/Grid operator received after the given time stamp. Keep in mind, the time stamp is related to when SDS received the data from EDSN, not the date of the data itself! ''' Public Overridable Property From As String ''' '''Include received interval objects in the result ''' Public Overridable Property IncludeIntervalObjects As Boolean ''' '''Include received day objects in the result ''' Public Overridable Property IncludeDayObjects As Boolean ''' '''Gives option to filter return objects, for example to get always only hour records or day records ''' Public Overridable Property ObjectFilter As Filter Public Enum Filter None Hour Day LastDayOnly Month End Enum End Class End Namespace Namespace SDS.V8.APIs.P4.EU.ServiceModel.Types Public Partial Class P4ReadingsBulk Public Overridable Property Message As String Public Overridable Property TimeStamp As String Public Overridable Property DayObjectCount As Integer? Public Overridable Property IntervalObjectCount As Integer? Public Overridable Property RejectionObjectCount As Integer? Public Overridable Property DayObjects As List(Of P4ReadingDay) Public Overridable Property IntervalObjects As List(Of P4ReadingInterval) Public Overridable Property RejectionObjects As List(Of P4Rejection) End Class End Namespace End Namespace