/* Options:
Date: 2026-01-12 03:48:45
Version: 8.22
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://p4v8.smartdatasolutions.nl/api
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: Meteringpoints.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using SDS.P4v6a.API.Common;
using SDS.P4v6a.API.ServiceModel.Requests;
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
///
[ApiMember(DataType="String", Description="Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY", IsRequired=true, Name="ApiKey")]
public virtual string ApiKey { get; set; }
///
///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
///
[ApiMember(DataType="Boolean", Description="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 ", Name="OnlyPayload")]
public virtual bool OnlyPayload { get; set; }
///
///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
///
[ApiMember(DataType="Boolean", Description="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 ", Name="ShowRequest")]
public virtual bool ShowRequest { get; set; }
///
///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
///
[ApiMember(DataType="Enum", Description="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", Name="DateTimeFormat")]
public virtual DateTimeFormat DateTimeFormat { get; set; }
}
///
///Get list of metering points
///
[Route("/v5/meteringpoints/", "GET")]
[Route("/v5/meteringpoints/{Ean}", "GET")]
[Api(Description="Get list of metering points")]
public partial class Meteringpoints
: Generic
{
///
///Skip the first ... metering points
///
[ApiMember(DataType="Integer", Description="Skip the first ... metering points", Name="Offset")]
public virtual int Offset { get; set; }
///
///Limit response to ... metering points
///
[ApiMember(DataType="Integer", Description="Limit response to ... metering points", Name="Limit")]
public virtual int Limit { get; set; }
///
///Request of details of specific metering point with Ean
///
[ApiMember(DataType="EAN (18 numbers)", Description="Request of details of specific metering point with Ean", Name="Ean")]
public virtual string Ean { get; set; }
///
///Include metering points with ended contracts (Default: false)
///
[ApiMember(DataType="Boolean", Description="Include metering points with ended contracts (Default: false)", Name="ShowEnded")]
public virtual bool ShowEnded { get; set; }
///
///Include additional info about the metering point (Default: false)
///
[ApiMember(DataType="Boolean", Description="Include additional info about the metering point (Default: false)", Name="AddExtraInfo")]
public virtual bool AddExtraInfo { get; set; }
}
}