| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ClientKey: String,
AuthorizationID: String,
DocID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result:
{
FlowIsExist: False,
FlowIsAvtice: False,
FlowIsCompleted: False,
DocumentID: 0,
DoumentName: String,
FlowStatus: String,
Signers:
[
{
Status: String,
FlowOrder: String,
UserName: String,
UserSsn: String,
ApproveDate: 0001-01-01,
SignerType: String
}
]
},
ServiceSuccessResult: False,
ErrorMesage: String
}