(* Options: Date: 2026-01-12 04:55:15 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://p4.smartdatasolutions.eu //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: ReadingsBulk.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace SDS.V8.APIs.P4.EU.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type Filter = | None = 0 | Hour = 1 | Day = 2 | LastDayOnly = 3 | Month = 4 [] type Generic() = /// ///Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY /// [] member val ApiKey:String = null with get,set [] type P4ReadingDay() = member val Ean:String = null with get,set member val MeterId:String = null with get,set member val QueryDate:DateOnly = new DateOnly() with get,set member val MeasureUnit:String = null with get,set member val R180:Nullable = new Nullable() with get,set member val R181:Nullable = new Nullable() with get,set member val R182:Nullable = new Nullable() with get,set member val R280:Nullable = new Nullable() with get,set member val R281:Nullable = new Nullable() with get,set member val R282:Nullable = new Nullable() with get,set [] type P4ReadingIntervalItem() = member val DateTimeOffset:DateTimeOffset = new DateTimeOffset() with get,set member val R180:Decimal = new Decimal() with get,set member val R280:Nullable = new Nullable() with get,set [] type P4ReadingInterval() = member val Ean:String = null with get,set member val MeterId:String = null with get,set member val QueryDate:DateOnly = new DateOnly() with get,set member val MeasureUnit:String = null with get,set member val Items:ResizeArray = null with get,set [] type P4Rejection() = member val Ean:String = null with get,set member val QueryDate:DateOnly = new DateOnly() with get,set member val QueryReason:String = null with get,set member val RejectionCode:String = null with get,set member val RejectionText:String = null with get,set [] type P4ReadingsBulk() = member val Message:String = null with get,set member val TimeStamp:String = null with get,set member val DayObjectCount:Nullable = new Nullable() with get,set member val IntervalObjectCount:Nullable = new Nullable() with get,set member val RejectionObjectCount:Nullable = new Nullable() with get,set member val DayObjects:ResizeArray = null with get,set member val IntervalObjects:ResizeArray = null with get,set member val RejectionObjects:ResizeArray = null with get,set [] [] [] type ReadingsBulk() = inherit Generic() interface IReturn interface 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! /// [] member val From:String = null with get,set /// ///Include received interval objects in the result /// [] member val IncludeIntervalObjects:Boolean = new Boolean() with get,set /// ///Include received day objects in the result /// [] member val IncludeDayObjects:Boolean = new Boolean() with get,set /// ///Gives option to filter return objects, for example to get always only hour records or day records /// [] member val ObjectFilter:Filter = new Filter() with get,set