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}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Check if last six digits of the serial number of the smart meter belong to this ean
    */
    @Api(Description="Check if last six digits of the serial number of the smart meter belong to this ean")
    public static class EanCheckOnNumberRequest
    {
        /**
        * Ean of the metering point
        */
        @ApiMember(DataType="string", Description="Ean of the metering point", IsRequired=true, Name="Ean")
        public String Ean = null;

        /**
        * Last six digits of the smart meter serial number, format: integer number
        */
        @ApiMember(DataType="string", Description="Last six digits of the smart meter serial number, format: integer number", IsRequired=true, Name="LastSixDigitsOfNumber")
        public String LastSixDigitsOfNumber = null;
        
        public String getEan() { return Ean; }
        public EanCheckOnNumberRequest setEan(String value) { this.Ean = value; return this; }
        public String getLastSixDigitsOfNumber() { return LastSixDigitsOfNumber; }
        public EanCheckOnNumberRequest setLastSixDigitsOfNumber(String value) { this.LastSixDigitsOfNumber = value; return this; }
    }

}

Java EanCheckOnNumberRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json