| All Verbs | /GetDocumentFlowInfo/{ClientKey} |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FlowSignerInfo:
status: Optional[str] = None
flow_order: Optional[str] = None
user_name: Optional[str] = None
user_ssn: Optional[str] = None
approve_date: datetime.datetime = datetime.datetime(1, 1, 1)
signer_type: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DocumentFlowInfo:
flow_ıs_exist: bool = False
flow_ıs_avtice: bool = False
flow_ıs_completed: bool = False
document_ı_d: int = 0
doument_name: Optional[str] = None
flow_status: Optional[str] = None
signers: Optional[List[FlowSignerInfo]] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetDocumentFlowInfoResponse:
result: Optional[DocumentFlowInfo] = None
service_success_result: bool = False
error_mesage: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetDocumentFlowInfo:
client_key: Optional[str] = None
authorization_ı_d: Optional[str] = None
doc_ı_d: int = 0
Python GetDocumentFlowInfo DTOs
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
}