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 Foundation
import ServiceStack

/**
* 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 class EanCheckOnNumberRequest : Codable
{
    /**
    * Ean of the metering point
    */
    // @ApiMember(DataType="string", Description="Ean of the metering point", IsRequired=true, Name="Ean")
    public var ean:String

    /**
    * 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 var lastSixDigitsOfNumber:String

    required public init(){}
}


Swift 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