| All Verbs | /GetEYPEkOzetAlgoritmasi/ |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using DaB.Imzager.Services.ServiceModel;
namespace DaB.Imzager.Services.ServiceModel
{
public partial class BaseResponse
{
public virtual bool ServiceSuccessResult { get; set; }
public virtual string ErrorMesage { get; set; }
}
public enum EYPEkOzetAlgoritmasi
{
ALGORITHM_SHA1,
ALGORITHM_SHA256,
ALGORITHM_SHA512,
ALGORITHM_RIPEMD160,
}
public partial class GetEYPEkOzetAlgoritmasi
{
public virtual EYPEkOzetAlgoritmasi EYPEkOzetAlgoritmasiEnum { get; set; }
}
public partial class GetEYPEkOzetAlgoritmasiResponse
: BaseResponse
{
public virtual string Result { get; set; }
}
}
C# GetEYPEkOzetAlgoritmasi DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /GetEYPEkOzetAlgoritmasi/ HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetEYPEkOzetAlgoritmasi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<EYPEkOzetAlgoritmasiEnum>ALGORITHM_SHA1</EYPEkOzetAlgoritmasiEnum>
</GetEYPEkOzetAlgoritmasi>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetEYPEkOzetAlgoritmasiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel"> <ErrorMesage>String</ErrorMesage> <ServiceSuccessResult>false</ServiceSuccessResult> <Result>String</Result> </GetEYPEkOzetAlgoritmasiResponse>