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

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