SDS.APIs.Legacy.EanCodeBook

<back to all web services

EanCheckOnNumberRequest

Check if last six digits of the serial number of the smart meter belong to this ean

The following routes are available for this service:
GET/EanCheckOnNumber/{Ean}/{LastSixDigitsOfNumber}
namespace SDS.APIs.Legacy.EanCodeBook.ServiceInterface

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    ///<summary>
    ///Check if last six digits of the serial number of the smart meter belong to this ean
    ///</summary>
    [<Api(Description="Check if last six digits of the serial number of the smart meter belong to this ean")>]
    [<AllowNullLiteral>]
    type EanCheckOnNumberRequest() = 
        ///<summary>
        ///Ean of the metering point
        ///</summary>
        [<ApiMember(DataType="string", Description="Ean of the metering point", IsRequired=true, Name="Ean")>]
        member val Ean:String = null with get,set

        ///<summary>
        ///Last six digits of the smart meter serial number, format: integer number
        ///</summary>
        [<ApiMember(DataType="string", Description="Last six digits of the smart meter serial number, format: integer number", IsRequired=true, Name="LastSixDigitsOfNumber")>]
        member val LastSixDigitsOfNumber:String = null with get,set

F# EanCheckOnNumberRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /EanCheckOnNumber/{Ean}/{LastSixDigitsOfNumber} HTTP/1.1 
Host: ean.smartdatasolutions.nl 
Accept: application/xml