| All Verbs | /GetDocumentFlowInfo/{ClientKey} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetDocumentFlowInfo
{
public String ClientKey = null;
public String AuthorizationID = null;
public Long DocID = null;
public String getClientKey() { return ClientKey; }
public GetDocumentFlowInfo setClientKey(String value) { this.ClientKey = value; return this; }
public String getAuthorizationID() { return AuthorizationID; }
public GetDocumentFlowInfo setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
public Long getDocID() { return DocID; }
public GetDocumentFlowInfo setDocID(Long value) { this.DocID = value; return this; }
}
public static class GetDocumentFlowInfoResponse
{
public DocumentFlowInfo Result = null;
public Boolean ServiceSuccessResult = null;
public String ErrorMesage = null;
public DocumentFlowInfo getResult() { return Result; }
public GetDocumentFlowInfoResponse setResult(DocumentFlowInfo value) { this.Result = value; return this; }
public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
public GetDocumentFlowInfoResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
public String getErrorMesage() { return ErrorMesage; }
public GetDocumentFlowInfoResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
}
public static class DocumentFlowInfo
{
public Boolean FlowIsExist = null;
public Boolean FlowIsAvtice = null;
public Boolean FlowIsCompleted = null;
public Long DocumentID = null;
public String DoumentName = null;
public String FlowStatus = null;
public ArrayList<FlowSignerInfo> Signers = null;
public Boolean isFlowIsExist() { return FlowIsExist; }
public DocumentFlowInfo setFlowIsExist(Boolean value) { this.FlowIsExist = value; return this; }
public Boolean isFlowIsAvtice() { return FlowIsAvtice; }
public DocumentFlowInfo setFlowIsAvtice(Boolean value) { this.FlowIsAvtice = value; return this; }
public Boolean isFlowIsCompleted() { return FlowIsCompleted; }
public DocumentFlowInfo setFlowIsCompleted(Boolean value) { this.FlowIsCompleted = value; return this; }
public Long getDocumentID() { return DocumentID; }
public DocumentFlowInfo setDocumentID(Long value) { this.DocumentID = value; return this; }
public String getDoumentName() { return DoumentName; }
public DocumentFlowInfo setDoumentName(String value) { this.DoumentName = value; return this; }
public String getFlowStatus() { return FlowStatus; }
public DocumentFlowInfo setFlowStatus(String value) { this.FlowStatus = value; return this; }
public ArrayList<FlowSignerInfo> getSigners() { return Signers; }
public DocumentFlowInfo setSigners(ArrayList<FlowSignerInfo> value) { this.Signers = value; return this; }
}
public static class FlowSignerInfo
{
public String Status = null;
public String FlowOrder = null;
public String UserName = null;
public String UserSsn = null;
public Date ApproveDate = null;
public String SignerType = null;
public String getStatus() { return Status; }
public FlowSignerInfo setStatus(String value) { this.Status = value; return this; }
public String getFlowOrder() { return FlowOrder; }
public FlowSignerInfo setFlowOrder(String value) { this.FlowOrder = value; return this; }
public String getUserName() { return UserName; }
public FlowSignerInfo setUserName(String value) { this.UserName = value; return this; }
public String getUserSsn() { return UserSsn; }
public FlowSignerInfo setUserSsn(String value) { this.UserSsn = value; return this; }
public Date getApproveDate() { return ApproveDate; }
public FlowSignerInfo setApproveDate(Date value) { this.ApproveDate = value; return this; }
public String getSignerType() { return SignerType; }
public FlowSignerInfo setSignerType(String value) { this.SignerType = value; return this; }
}
}
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 /GetDocumentFlowInfo/{ClientKey} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetDocumentFlowInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<AuthorizationID>String</AuthorizationID>
<ClientKey>String</ClientKey>
<DocID>0</DocID>
</GetDocumentFlowInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetDocumentFlowInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<ErrorMesage>String</ErrorMesage>
<Result>
<DocumentID>0</DocumentID>
<DoumentName>String</DoumentName>
<FlowIsAvtice>false</FlowIsAvtice>
<FlowIsCompleted>false</FlowIsCompleted>
<FlowIsExist>false</FlowIsExist>
<FlowStatus>String</FlowStatus>
<Signers>
<FlowSignerInfo>
<ApproveDate>0001-01-01T00:00:00</ApproveDate>
<FlowOrder>String</FlowOrder>
<SignerType>String</SignerType>
<Status>String</Status>
<UserName>String</UserName>
<UserSsn>String</UserSsn>
</FlowSignerInfo>
</Signers>
</Result>
<ServiceSuccessResult>false</ServiceSuccessResult>
</GetDocumentFlowInfoResponse>