' Options:
'Date: 2026-01-12 03:45:54
'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: Graph.*
'''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 data for graph, usages and some statistical information
'''
Public Partial Class Graph
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, Week, Month
'''
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 Date
'''
'''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