| GET | /EanCheckOnNumber/{Ean}/{LastSixDigitsOfNumber} |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using SDS.APIs.Legacy.EanCodeBook.ServiceInterface;
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 virtual string Ean { 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")]
public virtual string LastSixDigitsOfNumber { get; set; }
}
}
C# EanCheckOnNumberRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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