DaBRemService

<back to all web services

LoginPtt2

The following routes are available for this service:
All Verbs/LoginPtt2
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class LoginPtt2
    {
        public String AuthorizationID = null;
        public Long RemAddressId = null;
        public String UserSSN = null;
        public String OfficerCode = null;
        public String Password = null;
        
        public String getAuthorizationID() { return AuthorizationID; }
        public LoginPtt2 setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
        public Long getRemAddressId() { return RemAddressId; }
        public LoginPtt2 setRemAddressId(Long value) { this.RemAddressId = value; return this; }
        public String getUserSSN() { return UserSSN; }
        public LoginPtt2 setUserSSN(String value) { this.UserSSN = value; return this; }
        public String getOfficerCode() { return OfficerCode; }
        public LoginPtt2 setOfficerCode(String value) { this.OfficerCode = value; return this; }
        public String getPassword() { return Password; }
        public LoginPtt2 setPassword(String value) { this.Password = value; return this; }
    }

    public static class LoginPttResponse
    {
        public Boolean Result = null;
        public Boolean ServiceSuccessResult = null;
        public String ErrorMesage = null;
        
        public Boolean isResult() { return Result; }
        public LoginPttResponse setResult(Boolean value) { this.Result = value; return this; }
        public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
        public LoginPttResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
        public String getErrorMesage() { return ErrorMesage; }
        public LoginPttResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
    }

}

Java LoginPtt2 DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /LoginPtt2 HTTP/1.1 
Host: remservices.eyyubiye.bel.tr 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"AuthorizationID":"String","RemAddressId":0,"UserSSN":"String","OfficerCode":"String","Password":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}