tvpl.api

<back to all web services

GetSingleWorkflowStepRequest

Requires Authentication
The following routes are available for this service:
GET/WorkflowStep/{WorkflowId}/{StepId}
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 BasicUploadedFile:
    file_name: Optional[str] = None
    filekey: Optional[str] = None
    file_url: Optional[str] = None
    checksum: Optional[str] = None
    e_tag: Optional[str] = None
    file_size: int = 0


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class UploadedFiles(BasicUploadedFile):
    id: Optional[int] = None
    uploaded_file: Optional[str] = None
    sub_document_id: Optional[int] = None
    step_id: Optional[int] = None
    code: int = 0


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BasicSignerConfig:
    sub_document_id: Optional[int] = None
    department_id: Optional[int] = None
    signer_type: int = 0
    signer_ref_id: int = 0
    # @Ignore()
    signer_ref_text: Optional[str] = None

    action_type: int = 0
    order_index: int = 0


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SignerConfig(BasicSignerConfig):
    id: int = 0
    document_id: int = 0
    step_id: Optional[int] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class WorkFlowProfile:
    id: int = 0
    name: Optional[str] = None
    full_name: Optional[str] = None
    email: Optional[str] = None
    department_id: Optional[int] = None
    avatar: Optional[str] = None
    telephone: Optional[str] = None
    birthday: Optional[datetime.datetime] = None
    confirm_status: Optional[int] = None
    confirm_status_text: Optional[str] = None
    confirm_at: Optional[datetime.datetime] = None
    sign_at: Optional[datetime.datetime] = None
    signed_file_id: Optional[int] = None
    original_file_id: Optional[int] = None
    signed_file_name: Optional[str] = None
    is_signed: bool = False
    sign_status_text: Optional[str] = None
    comment: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Roles:
    id: int = 0
    # @StringLength(50)
    name: Optional[str] = None

    created_at: Optional[datetime.datetime] = None
    deleted_at: Optional[datetime.datetime] = None
    updated_at: Optional[datetime.datetime] = None
    updated_by: Optional[int] = None
    deleted_by: Optional[int] = None
    created_by: Optional[int] = None
    # @Ignore()
    permission: Optional[List[str]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SignerConfigDetail(SignerConfig):
    profile: Optional[WorkFlowProfile] = None
    role: Optional[Roles] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class StepAttached:
    id: int = 0
    document_code: Optional[str] = None
    title: Optional[str] = None
    is_sequential_signing: Optional[bool] = None
    pending_sign_file: Optional[UploadedFiles] = None
    original_file: Optional[UploadedFiles] = None
    signer_configs: Optional[List[SignerConfigDetail]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class WorkflowStep:
    id: int = 0
    # @References(typeof(Document))
    workflow_id: int = 0

    step_order: Optional[int] = None
    status_id: Optional[int] = None
    # @Required()
    # @StringLength(255)
    step_name: Optional[str] = None

    # @Required()
    is_required: bool = False

    sla_legal_value: Optional[int] = None
    sla_legal_is_by_day: Optional[bool] = None
    sla_internal_value: Optional[int] = None
    sla_internal_is_by_day: Optional[bool] = None
    require_attachment: bool = False
    is_using_form: Optional[bool] = None
    # @Required()
    description: Optional[str] = None

    created_by: int = 0
    updated_at: Optional[datetime.datetime] = None
    default_attached_document_id: Optional[int] = None
    # @Ignore()
    department_ids: Optional[List[int]] = None

    # @Ignore()
    main_assignee_ids: Optional[List[int]] = None

    # @Ignore()
    co_department_ids: Optional[List[int]] = None

    # @Ignore()
    supporting_assignee_ids: Optional[List[int]] = None

    # @Ignore()
    step_basis_document_ids: Optional[List[int]] = None

    # @Ignore()
    attached_documents: Optional[List[StepAttached]] = None

    # @Ignore()
    attached_files: Optional[List[UploadedFiles]] = None


class CategoryTypes(str, Enum):
    DEPARTMENT = 'Department'
    PARTY_GROUP = 'PartyGroup'
    DOC_GROUP = 'DocGroup'
    DOC_TYPE = 'DocType'
    ISSUING_AGENCY = 'IssuingAgency'
    STATUS = 'Status'
    SUBJECTS = 'Subjects'
    WORKFLOW = 'Workflow'
    WORK_STATUS = 'WorkStatus'
    STEP_STATUS = 'StepStatus'
    SIGN_STATUS = 'SignStatus'


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class CreateCategoryModel:
    name: Optional[str] = None
    long_name: Optional[str] = None
    description: Optional[str] = None
    type: Optional[CategoryTypes] = None
    is_party: bool = False
    # @Ignore()
    child_list: Optional[List[int]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Category(CreateCategoryModel):
    id: int = 0
    level: int = 0
    key: Optional[str] = None
    sort_order: int = 0
    last_update: Optional[datetime.datetime] = None
    # @Ignore()
    children: Optional[List[Category]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SimpleDocumentRelation:
    id: int = 0
    title: Optional[str] = None
    document_code: Optional[str] = None
    publication_date: Optional[datetime.datetime] = None
    is_sequential_signing: Optional[bool] = None
    status_text: Optional[str] = None
    status_key: Optional[str] = None
    document_type_id: Optional[int] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class WorkflowStepDetail(WorkflowStep):
    departments: Optional[List[Category]] = None
    co_departments: Optional[List[Category]] = None
    basis_documents: Optional[List[SimpleDocumentRelation]] = None
    reference_documents: Optional[List[SimpleDocumentRelation]] = None
    main_assignees: Optional[List[WorkFlowProfile]] = None
    supporting_assignees: Optional[List[WorkFlowProfile]] = None
    status_key: Optional[str] = None
    status_text: Optional[str] = None
    # @Ignore()
    can_read: Optional[bool] = None

    # @Ignore()
    can_write: Optional[bool] = None

    # @Ignore()
    can_upload: Optional[bool] = None

    reason_return: Optional[str] = None
    return_date: Optional[datetime.datetime] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetSingleWorkflowStepResponse(IResponseRequest):
    code: int = 0
    message: Optional[str] = None
    data: Optional[WorkflowStepDetail] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetSingleWorkflowStepRequest:
    workflow_id: int = 0
    step_id: int = 0

Python GetSingleWorkflowStepRequest 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.

GET /WorkflowStep/{WorkflowId}/{StepId} HTTP/1.1 
Host: etc-api.vsmlab.vn 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSingleWorkflowStepResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
  <Code>0</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/tvpl.data.Models">
    <d2p1:AttachedDocuments>
      <d2p1:StepAttached>
        <d2p1:DocumentCode>String</d2p1:DocumentCode>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsSequentialSigning>false</d2p1:IsSequentialSigning>
        <d2p1:OriginalFile>
          <d2p1:Checksum>String</d2p1:Checksum>
          <d2p1:ETag>String</d2p1:ETag>
          <d2p1:FileName>String</d2p1:FileName>
          <d2p1:FileSize>0</d2p1:FileSize>
          <d2p1:FileUrl>String</d2p1:FileUrl>
          <d2p1:Filekey>String</d2p1:Filekey>
          <d2p1:Code>0</d2p1:Code>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:StepId>0</d2p1:StepId>
          <d2p1:SubDocumentId>0</d2p1:SubDocumentId>
          <d2p1:UploadedFile>String</d2p1:UploadedFile>
        </d2p1:OriginalFile>
        <d2p1:PendingSignFile>
          <d2p1:Checksum>String</d2p1:Checksum>
          <d2p1:ETag>String</d2p1:ETag>
          <d2p1:FileName>String</d2p1:FileName>
          <d2p1:FileSize>0</d2p1:FileSize>
          <d2p1:FileUrl>String</d2p1:FileUrl>
          <d2p1:Filekey>String</d2p1:Filekey>
          <d2p1:Code>0</d2p1:Code>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:StepId>0</d2p1:StepId>
          <d2p1:SubDocumentId>0</d2p1:SubDocumentId>
          <d2p1:UploadedFile>String</d2p1:UploadedFile>
        </d2p1:PendingSignFile>
        <d2p1:SignerConfigs>
          <d2p1:SignerConfigDetail>
            <d2p1:ActionType>0</d2p1:ActionType>
            <d2p1:DepartmentId>0</d2p1:DepartmentId>
            <d2p1:OrderIndex>0</d2p1:OrderIndex>
            <d2p1:SignerRefId>0</d2p1:SignerRefId>
            <d2p1:SignerRefText>String</d2p1:SignerRefText>
            <d2p1:SignerType>0</d2p1:SignerType>
            <d2p1:SubDocumentId>0</d2p1:SubDocumentId>
            <d2p1:CreateAt>0001-01-01T00:00:00</d2p1:CreateAt>
            <d2p1:CreateBy>0</d2p1:CreateBy>
            <d2p1:DocumentId>0</d2p1:DocumentId>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:StepId>0</d2p1:StepId>
            <d2p1:Profile>
              <d2p1:Avatar>String</d2p1:Avatar>
              <d2p1:Birthday>0001-01-01T00:00:00</d2p1:Birthday>
              <d2p1:Comment>String</d2p1:Comment>
              <d2p1:ConfirmAt>0001-01-01T00:00:00</d2p1:ConfirmAt>
              <d2p1:ConfirmStatus>0</d2p1:ConfirmStatus>
              <d2p1:ConfirmStatusText>String</d2p1:ConfirmStatusText>
              <d2p1:DepartmentId>0</d2p1:DepartmentId>
              <d2p1:Email>String</d2p1:Email>
              <d2p1:FullName>String</d2p1:FullName>
              <d2p1:Id>0</d2p1:Id>
              <d2p1:IsSigned>false</d2p1:IsSigned>
              <d2p1:Name>String</d2p1:Name>
              <d2p1:OriginalFileId>0</d2p1:OriginalFileId>
              <d2p1:SignAt>0001-01-01T00:00:00</d2p1:SignAt>
              <d2p1:SignStatusText>String</d2p1:SignStatusText>
              <d2p1:SignedFileId>0</d2p1:SignedFileId>
              <d2p1:SignedFileName>String</d2p1:SignedFileName>
              <d2p1:Telephone>String</d2p1:Telephone>
            </d2p1:Profile>
            <d2p1:Role>
              <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
              <d2p1:CreatedBy>0</d2p1:CreatedBy>
              <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
              <d2p1:DeletedBy>0</d2p1:DeletedBy>
              <d2p1:Id>0</d2p1:Id>
              <d2p1:Name>String</d2p1:Name>
              <d2p1:Permission xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>String</d8p1:string>
              </d2p1:Permission>
              <d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
              <d2p1:UpdatedBy>0</d2p1:UpdatedBy>
            </d2p1:Role>
          </d2p1:SignerConfigDetail>
        </d2p1:SignerConfigs>
        <d2p1:Title>String</d2p1:Title>
      </d2p1:StepAttached>
    </d2p1:AttachedDocuments>
    <d2p1:AttachedFiles>
      <d2p1:UploadedFiles>
        <d2p1:Checksum>String</d2p1:Checksum>
        <d2p1:ETag>String</d2p1:ETag>
        <d2p1:FileName>String</d2p1:FileName>
        <d2p1:FileSize>0</d2p1:FileSize>
        <d2p1:FileUrl>String</d2p1:FileUrl>
        <d2p1:Filekey>String</d2p1:Filekey>
        <d2p1:Code>0</d2p1:Code>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:StepId>0</d2p1:StepId>
        <d2p1:SubDocumentId>0</d2p1:SubDocumentId>
        <d2p1:UploadedFile>String</d2p1:UploadedFile>
      </d2p1:UploadedFiles>
    </d2p1:AttachedFiles>
    <d2p1:CoDepartmentIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:CoDepartmentIds>
    <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
    <d2p1:CreatedBy>0</d2p1:CreatedBy>
    <d2p1:DefaultAttachedDocumentId>0</d2p1:DefaultAttachedDocumentId>
    <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
    <d2p1:DeletedBy>0</d2p1:DeletedBy>
    <d2p1:DepartmentIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:DepartmentIds>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:IsRequired>false</d2p1:IsRequired>
    <d2p1:IsUsingForm>false</d2p1:IsUsingForm>
    <d2p1:MainAssigneeIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:MainAssigneeIds>
    <d2p1:RequireAttachment>false</d2p1:RequireAttachment>
    <d2p1:SLAInternalIsByDay>false</d2p1:SLAInternalIsByDay>
    <d2p1:SLAInternalValue>0</d2p1:SLAInternalValue>
    <d2p1:SLALegalIsByDay>false</d2p1:SLALegalIsByDay>
    <d2p1:SLALegalValue>0</d2p1:SLALegalValue>
    <d2p1:SLAWarningSentAt>0001-01-01T00:00:00</d2p1:SLAWarningSentAt>
    <d2p1:SLAWarningSentCount>0</d2p1:SLAWarningSentCount>
    <d2p1:StatusId>0</d2p1:StatusId>
    <d2p1:StepBasisDocumentIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:StepBasisDocumentIds>
    <d2p1:StepName>String</d2p1:StepName>
    <d2p1:StepOrder>0</d2p1:StepOrder>
    <d2p1:SupportingAssigneeIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:SupportingAssigneeIds>
    <d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
    <d2p1:UpdatedBy>0</d2p1:UpdatedBy>
    <d2p1:WorkflowId>0</d2p1:WorkflowId>
    <d2p1:BasisDocuments>
      <d2p1:SimpleDocumentRelation>
        <d2p1:DocumentCode>String</d2p1:DocumentCode>
        <d2p1:DocumentTypeId>0</d2p1:DocumentTypeId>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsSequentialSigning>false</d2p1:IsSequentialSigning>
        <d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
        <d2p1:StatusKey>String</d2p1:StatusKey>
        <d2p1:StatusText>String</d2p1:StatusText>
        <d2p1:Title>String</d2p1:Title>
        <d2p1:Type>String</d2p1:Type>
      </d2p1:SimpleDocumentRelation>
    </d2p1:BasisDocuments>
    <d2p1:CanRead>false</d2p1:CanRead>
    <d2p1:CanUpload>false</d2p1:CanUpload>
    <d2p1:CanWrite>false</d2p1:CanWrite>
    <d2p1:CoDepartments>
      <d2p1:Category>
        <d2p1:ChildList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>0</d5p1:int>
        </d2p1:ChildList>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:IsParty>false</d2p1:IsParty>
        <d2p1:LongName>String</d2p1:LongName>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Type>Department</d2p1:Type>
        <d2p1:Children>
          <d2p1:Category>
            <d2p1:ChildList xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </d2p1:ChildList>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:IsParty>false</d2p1:IsParty>
            <d2p1:LongName>String</d2p1:LongName>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:Type>Department</d2p1:Type>
            <d2p1:Children>
              <d2p1:Category>
                <d2p1:ChildList xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                  <d9p1:int>0</d9p1:int>
                </d2p1:ChildList>
                <d2p1:Description>String</d2p1:Description>
                <d2p1:IsParty>false</d2p1:IsParty>
                <d2p1:LongName>String</d2p1:LongName>
                <d2p1:Name>String</d2p1:Name>
                <d2p1:Type>Department</d2p1:Type>
                <d2p1:Children i:nil="true" />
                <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
                <d2p1:CreatedBy>0</d2p1:CreatedBy>
                <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
                <d2p1:DeletedBy>0</d2p1:DeletedBy>
                <d2p1:Id>0</d2p1:Id>
                <d2p1:IsDeleted>false</d2p1:IsDeleted>
                <d2p1:Key>String</d2p1:Key>
                <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
                <d2p1:Level>0</d2p1:Level>
                <d2p1:SortOrder>0</d2p1:SortOrder>
              </d2p1:Category>
            </d2p1:Children>
            <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
            <d2p1:CreatedBy>0</d2p1:CreatedBy>
            <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
            <d2p1:DeletedBy>0</d2p1:DeletedBy>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:IsDeleted>false</d2p1:IsDeleted>
            <d2p1:Key>String</d2p1:Key>
            <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
            <d2p1:Level>0</d2p1:Level>
            <d2p1:SortOrder>0</d2p1:SortOrder>
          </d2p1:Category>
        </d2p1:Children>
        <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
        <d2p1:CreatedBy>0</d2p1:CreatedBy>
        <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
        <d2p1:DeletedBy>0</d2p1:DeletedBy>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsDeleted>false</d2p1:IsDeleted>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
        <d2p1:Level>0</d2p1:Level>
        <d2p1:SortOrder>0</d2p1:SortOrder>
      </d2p1:Category>
    </d2p1:CoDepartments>
    <d2p1:Departments>
      <d2p1:Category>
        <d2p1:ChildList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>0</d5p1:int>
        </d2p1:ChildList>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:IsParty>false</d2p1:IsParty>
        <d2p1:LongName>String</d2p1:LongName>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Type>Department</d2p1:Type>
        <d2p1:Children>
          <d2p1:Category>
            <d2p1:ChildList xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </d2p1:ChildList>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:IsParty>false</d2p1:IsParty>
            <d2p1:LongName>String</d2p1:LongName>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:Type>Department</d2p1:Type>
            <d2p1:Children>
              <d2p1:Category>
                <d2p1:ChildList xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                  <d9p1:int>0</d9p1:int>
                </d2p1:ChildList>
                <d2p1:Description>String</d2p1:Description>
                <d2p1:IsParty>false</d2p1:IsParty>
                <d2p1:LongName>String</d2p1:LongName>
                <d2p1:Name>String</d2p1:Name>
                <d2p1:Type>Department</d2p1:Type>
                <d2p1:Children i:nil="true" />
                <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
                <d2p1:CreatedBy>0</d2p1:CreatedBy>
                <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
                <d2p1:DeletedBy>0</d2p1:DeletedBy>
                <d2p1:Id>0</d2p1:Id>
                <d2p1:IsDeleted>false</d2p1:IsDeleted>
                <d2p1:Key>String</d2p1:Key>
                <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
                <d2p1:Level>0</d2p1:Level>
                <d2p1:SortOrder>0</d2p1:SortOrder>
              </d2p1:Category>
            </d2p1:Children>
            <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
            <d2p1:CreatedBy>0</d2p1:CreatedBy>
            <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
            <d2p1:DeletedBy>0</d2p1:DeletedBy>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:IsDeleted>false</d2p1:IsDeleted>
            <d2p1:Key>String</d2p1:Key>
            <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
            <d2p1:Level>0</d2p1:Level>
            <d2p1:SortOrder>0</d2p1:SortOrder>
          </d2p1:Category>
        </d2p1:Children>
        <d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
        <d2p1:CreatedBy>0</d2p1:CreatedBy>
        <d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
        <d2p1:DeletedBy>0</d2p1:DeletedBy>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsDeleted>false</d2p1:IsDeleted>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:LastUpdate>0001-01-01T00:00:00</d2p1:LastUpdate>
        <d2p1:Level>0</d2p1:Level>
        <d2p1:SortOrder>0</d2p1:SortOrder>
      </d2p1:Category>
    </d2p1:Departments>
    <d2p1:MainAssignees>
      <d2p1:WorkFlowProfile>
        <d2p1:Avatar>String</d2p1:Avatar>
        <d2p1:Birthday>0001-01-01T00:00:00</d2p1:Birthday>
        <d2p1:Comment>String</d2p1:Comment>
        <d2p1:ConfirmAt>0001-01-01T00:00:00</d2p1:ConfirmAt>
        <d2p1:ConfirmStatus>0</d2p1:ConfirmStatus>
        <d2p1:ConfirmStatusText>String</d2p1:ConfirmStatusText>
        <d2p1:DepartmentId>0</d2p1:DepartmentId>
        <d2p1:Email>String</d2p1:Email>
        <d2p1:FullName>String</d2p1:FullName>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsSigned>false</d2p1:IsSigned>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:OriginalFileId>0</d2p1:OriginalFileId>
        <d2p1:SignAt>0001-01-01T00:00:00</d2p1:SignAt>
        <d2p1:SignStatusText>String</d2p1:SignStatusText>
        <d2p1:SignedFileId>0</d2p1:SignedFileId>
        <d2p1:SignedFileName>String</d2p1:SignedFileName>
        <d2p1:Telephone>String</d2p1:Telephone>
      </d2p1:WorkFlowProfile>
    </d2p1:MainAssignees>
    <d2p1:ReasonReturn>String</d2p1:ReasonReturn>
    <d2p1:ReferenceDocuments>
      <d2p1:SimpleDocumentRelation>
        <d2p1:DocumentCode>String</d2p1:DocumentCode>
        <d2p1:DocumentTypeId>0</d2p1:DocumentTypeId>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsSequentialSigning>false</d2p1:IsSequentialSigning>
        <d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
        <d2p1:StatusKey>String</d2p1:StatusKey>
        <d2p1:StatusText>String</d2p1:StatusText>
        <d2p1:Title>String</d2p1:Title>
        <d2p1:Type>String</d2p1:Type>
      </d2p1:SimpleDocumentRelation>
    </d2p1:ReferenceDocuments>
    <d2p1:ReturnDate>0001-01-01T00:00:00</d2p1:ReturnDate>
    <d2p1:StatusKey>String</d2p1:StatusKey>
    <d2p1:StatusText>String</d2p1:StatusText>
    <d2p1:SupportingAssignees>
      <d2p1:WorkFlowProfile>
        <d2p1:Avatar>String</d2p1:Avatar>
        <d2p1:Birthday>0001-01-01T00:00:00</d2p1:Birthday>
        <d2p1:Comment>String</d2p1:Comment>
        <d2p1:ConfirmAt>0001-01-01T00:00:00</d2p1:ConfirmAt>
        <d2p1:ConfirmStatus>0</d2p1:ConfirmStatus>
        <d2p1:ConfirmStatusText>String</d2p1:ConfirmStatusText>
        <d2p1:DepartmentId>0</d2p1:DepartmentId>
        <d2p1:Email>String</d2p1:Email>
        <d2p1:FullName>String</d2p1:FullName>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsSigned>false</d2p1:IsSigned>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:OriginalFileId>0</d2p1:OriginalFileId>
        <d2p1:SignAt>0001-01-01T00:00:00</d2p1:SignAt>
        <d2p1:SignStatusText>String</d2p1:SignStatusText>
        <d2p1:SignedFileId>0</d2p1:SignedFileId>
        <d2p1:SignedFileName>String</d2p1:SignedFileName>
        <d2p1:Telephone>String</d2p1:Telephone>
      </d2p1:WorkFlowProfile>
    </d2p1:SupportingAssignees>
  </Data>
  <Message>String</Message>
</GetSingleWorkflowStepResponse>