ImzagerServices

<back to all web services

GetDocumentFlowInfo

The following routes are available for this service:
All Verbs/GetDocumentFlowInfo/{ClientKey}
import Foundation
import ServiceStack

public class GetDocumentFlowInfo : Codable
{
    public var clientKey:String
    public var authorizationID:String
    public var docID:Int

    required public init(){}
}

public class GetDocumentFlowInfoResponse : Codable
{
    public var result:DocumentFlowInfo
    public var serviceSuccessResult:Bool
    public var errorMesage:String

    required public init(){}
}

public class DocumentFlowInfo : Codable
{
    public var flowIsExist:Bool
    public var flowIsAvtice:Bool
    public var flowIsCompleted:Bool
    public var documentID:Int
    public var doumentName:String
    public var flowStatus:String
    public var signers:[FlowSignerInfo] = []

    required public init(){}
}

public class FlowSignerInfo : Codable
{
    public var status:String
    public var flowOrder:String
    public var userName:String
    public var userSsn:String
    public var approveDate:Date
    public var signerType:String

    required public init(){}
}


Swift GetDocumentFlowInfo DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}