| All Verbs | /GetDocumentFlowInfo/{ClientKey} |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using DaB.Imzager.Services.ServiceModel;
namespace DaB.Imzager.Services.ServiceModel
{
public partial class DocumentFlowInfo
{
public DocumentFlowInfo()
{
Signers = new List<FlowSignerInfo>{};
}
public virtual bool FlowIsExist { get; set; }
public virtual bool FlowIsAvtice { get; set; }
public virtual bool FlowIsCompleted { get; set; }
public virtual long DocumentID { get; set; }
public virtual string DoumentName { get; set; }
public virtual string FlowStatus { get; set; }
public virtual List<FlowSignerInfo> Signers { get; set; }
}
public partial class FlowSignerInfo
{
public virtual string Status { get; set; }
public virtual string FlowOrder { get; set; }
public virtual string UserName { get; set; }
public virtual string UserSsn { get; set; }
public virtual DateTime ApproveDate { get; set; }
public virtual string SignerType { get; set; }
}
public partial class GetDocumentFlowInfo
{
public virtual string ClientKey { get; set; }
public virtual string AuthorizationID { get; set; }
public virtual long DocID { get; set; }
}
public partial class GetDocumentFlowInfoResponse
{
public virtual DocumentFlowInfo Result { get; set; }
public virtual bool ServiceSuccessResult { get; set; }
public virtual string ErrorMesage { get; set; }
}
}
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>