| All Verbs | /GetRemAddresses |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using DaBRemServices.ServiceModel;
namespace DaBRemServices.ServiceModel
{
public partial class GetRemAddresses
{
public virtual string AuthorizationID { get; set; }
public virtual int RemAddressId { get; set; }
}
public partial class GetRemAddresses_Response
{
public virtual bool Result { get; set; }
public virtual bool ServiceSuccessResult { get; set; }
public virtual string ErrorMesage { get; set; }
public virtual RemAddressInfo RemAddress { get; set; }
}
public partial class RemAddressInfo
{
public virtual long RemAddressId { get; set; }
public virtual int RemSpId { get; set; }
public virtual string RemAdress { get; set; }
public virtual string UserSSN { get; set; }
public virtual string OfficerCode { get; set; }
public virtual string Password { get; set; }
public virtual DateTime? ExpireDate { get; set; }
}
}
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 /GetRemAddresses HTTP/1.1
Host: remservices.eyyubiye.bel.tr
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetRemAddresses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
<AuthorizationID>String</AuthorizationID>
<RemAddressId>0</RemAddressId>
</GetRemAddresses>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetRemAddresses_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
<ErrorMesage>String</ErrorMesage>
<RemAddress>
<ExpireDate>0001-01-01T00:00:00</ExpireDate>
<OfficerCode>String</OfficerCode>
<Password>String</Password>
<RemAddressId>0</RemAddressId>
<RemAdress>String</RemAdress>
<RemSpId>0</RemSpId>
<UserSSN>String</UserSSN>
</RemAddress>
<Result>false</Result>
<ServiceSuccessResult>false</ServiceSuccessResult>
</GetRemAddresses_Response>