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