| All Verbs | /GetRemAddresses |
|---|
import Foundation
import ServiceStack
public class GetRemAddresses : Codable
{
public var authorizationID:String
public var remAddressId:Int
required public init(){}
}
public class GetRemAddresses_Response : Codable
{
public var result:Bool
public var serviceSuccessResult:Bool
public var errorMesage:String
public var remAddress:RemAddressInfo
required public init(){}
}
public class RemAddressInfo : Codable
{
public var remAddressId:Int
public var remSpId:Int
public var remAdress:String
public var userSSN:String
public var officerCode:String
public var password:String
public var expireDate:Date?
required public init(){}
}
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>