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}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports SDS.APIs.Legacy.EanCodeBook.ServiceInterface

Namespace Global

    Namespace SDS.APIs.Legacy.EanCodeBook.ServiceInterface

        '''<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")>
        Public Partial Class EanCheckOnNumberRequest
            '''<Summary>
            '''Ean of the metering point
            '''</Summary>
            <ApiMember(DataType:="string", Description:="Ean of the metering point", IsRequired:=true, Name:="Ean")>
            Public Overridable Property Ean As String

            '''<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")>
            Public Overridable Property LastSixDigitsOfNumber As String
        End Class
    End Namespace
End Namespace

VB.NET EanCheckOnNumberRequest DTOs

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

HTTP + JSV

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: text/jsv