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 .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","DocID":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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":"\/Date(-62135596800000-0000)\/","SignerType":"String"}]},"ServiceSuccessResult":false,"ErrorMesage":"String"}