| All Verbs | /SignDocumentEYPV2/ |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SignDocumentEYPV2
{
public EYPImzaType eypImzaType = null;
public String ClientKey = null;
public String AuthorizationID = null;
public String UserSSN = null;
public String AgentMessage = null;
public Long DocumentId = null;
public Boolean stampYn = null;
public String StampSSN = null;
public EYPImzaType getEypImzaType() { return eypImzaType; }
public SignDocumentEYPV2 setEypImzaType(EYPImzaType value) { this.eypImzaType = value; return this; }
public String getClientKey() { return ClientKey; }
public SignDocumentEYPV2 setClientKey(String value) { this.ClientKey = value; return this; }
public String getAuthorizationID() { return AuthorizationID; }
public SignDocumentEYPV2 setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
public String getUserSSN() { return UserSSN; }
public SignDocumentEYPV2 setUserSSN(String value) { this.UserSSN = value; return this; }
public String getAgentMessage() { return AgentMessage; }
public SignDocumentEYPV2 setAgentMessage(String value) { this.AgentMessage = value; return this; }
public Long getDocumentId() { return DocumentId; }
public SignDocumentEYPV2 setDocumentId(Long value) { this.DocumentId = value; return this; }
public Boolean isStampYn() { return stampYn; }
public SignDocumentEYPV2 setStampYn(Boolean value) { this.stampYn = value; return this; }
public String getStampSSN() { return StampSSN; }
public SignDocumentEYPV2 setStampSSN(String value) { this.StampSSN = value; return this; }
}
public static enum EYPImzaType
{
ParafOzetiImza(1),
PaketOzetiImza(2),
NihaiOzetMuhur(3);
private final int value;
EYPImzaType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class SignDocumentEYPResponse extends BaseResponse
{
public Boolean Result = null;
public Boolean isResult() { return Result; }
public SignDocumentEYPResponse setResult(Boolean value) { this.Result = value; return this; }
}
public static class BaseResponse
{
public Boolean ServiceSuccessResult = null;
public String ErrorMesage = null;
public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
public BaseResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
public String getErrorMesage() { return ErrorMesage; }
public BaseResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SignDocumentEYPV2/ HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"eypImzaType":"ParafOzetiImza","ClientKey":"String","AuthorizationID":"String","UserSSN":"String","AgentMessage":"String","DocumentId":0,"stampYn":false,"StampSSN":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}