| All Verbs | /LoginPtt |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class LoginPtt
{
public String AuthorizationID = null;
public Long RemAddressId = null;
public String getAuthorizationID() { return AuthorizationID; }
public LoginPtt setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
public Long getRemAddressId() { return RemAddressId; }
public LoginPtt setRemAddressId(Long value) { this.RemAddressId = 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; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /LoginPtt HTTP/1.1
Host: remservices.eyyubiye.bel.tr
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"AuthorizationID":"String","RemAddressId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}