| POST | /document/update |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports tvpl.api.ServiceModel
Imports tvpl.data.Models
Imports tvpl.data.Constant
Namespace Global
Namespace tvpl.api.ServiceModel
Public Partial Class DocumentDetailResponse
Implements IResponseRequest
Public Overridable Property Data As DocumentDetail
Public Overridable Property Code As Integer
Public Overridable Property Message As String
End Class
Public Partial Class UpdateDocumentRequest
Inherits BasicDocument
Public Sub New()
AttachFiles = New List(Of UploadedFiles)
BasisDocumentId = New List(Of Integer)
ReferenceDocumentId = New List(Of Integer)
ReplacedDocumentId = New List(Of Integer)
ExpiredDocumentId = New List(Of Integer)
End Sub
Public Overridable Property PartUploadedFile As UploadedFiles
Public Overridable Property CompactUploadedFile As UploadedFiles
Public Overridable Property AnalysisUploadedFile As UploadedFiles
Public Overridable Property FullUploadedFile As UploadedFiles
Public Overridable Property AttachFiles As List(Of UploadedFiles)
Public Overridable Property BasisDocumentId As List(Of Integer)
Public Overridable Property ReferenceDocumentId As List(Of Integer)
Public Overridable Property ReplacedDocumentId As List(Of Integer)
Public Overridable Property ExpiredDocumentId As List(Of Integer)
Public Overridable Property Id As Integer
End Class
Public Partial Class UploadedFiles
Inherits BasicUploadedFile
Public Overridable Property Id As Nullable(Of Long)
Public Overridable Property UploadedFile As String
Public Overridable Property SubDocumentId As Nullable(Of Integer)
Public Overridable Property StepId As Nullable(Of Integer)
Public Overridable Property Code As Integer
End Class
End Namespace
Namespace tvpl.data.Constant
Public Enum AccessType
Public
Restricted
End Enum
End Namespace
Namespace tvpl.data.Models
Public Partial Class ApproversProfile
Public Sub New()
UserProfiles = New List(Of UserProfile)
End Sub
Public Overridable Property UserProfiles As List(Of UserProfile)
Public Overridable Property ProcessStatusId As Integer
Public Overridable Property ProcessTitle As String
Public Overridable Property ActionButtonLabel As String
Public Overridable Property ProcessDescription As String
Public Overridable Property IsApprovalRequired As Boolean
Public Overridable Property IsFinalStep As Boolean
Public Overridable Property StepOrder As Integer
End Class
Public Partial Class BasicDocument
<Required>
Public Overridable Property Title As String
<StringLength(4000)>
Public Overridable Property Description As String
<StringLength(500)>
Public Overridable Property Owner As String
Public Overridable Property DocumentPolicyId As Nullable(Of Integer)
Public Overridable Property UpdateDocumentId As Nullable(Of Integer)
Public Overridable Property EffectBeginDate As Nullable(Of Date)
Public Overridable Property EffectEndDate As Nullable(Of Date)
Public Overridable Property IssuingAgencyId As Nullable(Of Integer)
Public Overridable Property DocumentTypeId As Nullable(Of Integer)
Public Overridable Property DocumentGroupId As Nullable(Of Integer)
Public Overridable Property SubjectId As Nullable(Of Integer)
<StringLength(500)>
Public Overridable Property SignBy As String
Public Overridable Property SignDate As Nullable(Of Date)
Public Overridable Property StatusId As Nullable(Of Integer)
Public Overridable Property IsInternal As Boolean
Public Overridable Property DocumentNumber As String
Public Overridable Property DocumentCode As String
Public Overridable Property IsUrgent As Nullable(Of Boolean)
Public Overridable Property ScopeType As Nullable(Of Integer)
Public Overridable Property IsActive As Nullable(Of Boolean)
End Class
Public Partial Class BasicUploadedFile
Public Overridable Property FileName As String
Public Overridable Property Filekey As String
Public Overridable Property FileUrl As String
Public Overridable Property Checksum As String
Public Overridable Property ETag As String
Public Overridable Property FileSize As Long
End Class
Public Partial Class CurrentApprover
Public Overridable Property ApproverId As Nullable(Of Integer)
Public Overridable Property Status As String
Public Overridable Property ProcessStatusId As Integer
Public Overridable Property ProcessTitle As String
Public Overridable Property ActionButtonLabel As String
Public Overridable Property ProcessDescription As String
Public Overridable Property IsApprovalRequired As Boolean
Public Overridable Property IsFinalStep As Boolean
Public Overridable Property StepOrder As Integer
End Class
Public Partial Class DocumentDetail
Inherits DocumentSearchResultItem
Public Sub New()
AttachFiles = New List(Of UploadedFileAttach)
BasisDocument = New List(Of SimpleDocumentRelation)
BasisForDocument = New List(Of SimpleDocumentRelation)
ReferenceDocument = New List(Of SimpleDocumentRelation)
ReferencedByDocument = New List(Of SimpleDocumentRelation)
ReplacedDocument = New List(Of SimpleDocumentRelation)
ReplacedByDocument = New List(Of SimpleDocumentRelation)
ExpiredDocument = New List(Of SimpleDocumentRelation)
ExpiredByDocument = New List(Of SimpleDocumentRelation)
End Sub
Public Overridable Property PartUploadedFile As UploadedFileAttach
Public Overridable Property CompactUploadedFile As UploadedFileAttach
Public Overridable Property AnalysisUploadedFile As UploadedFileAttach
Public Overridable Property FullUploadedFile As UploadedFileAttach
Public Overridable Property CreatedAt As Date
Public Overridable Property NextApprover As ApproversProfile
Public Overridable Property CurrentApprover As CurrentApprover
Public Overridable Property AttachFiles As List(Of UploadedFileAttach)
Public Overridable Property HasReadPermission As Boolean
Public Overridable Property CanGrantReadPermission As Boolean
Public Overridable Property BasisDocument As List(Of SimpleDocumentRelation)
Public Overridable Property BasisForDocument As List(Of SimpleDocumentRelation)
Public Overridable Property MainDocument As SimpleDocumentRelation
Public Overridable Property ReferenceDocument As List(Of SimpleDocumentRelation)
Public Overridable Property ReferencedByDocument As List(Of SimpleDocumentRelation)
Public Overridable Property ReplacedDocument As List(Of SimpleDocumentRelation)
Public Overridable Property ReplacedByDocument As List(Of SimpleDocumentRelation)
Public Overridable Property ExpiredDocument As List(Of SimpleDocumentRelation)
Public Overridable Property ExpiredByDocument As List(Of SimpleDocumentRelation)
Public Overridable Property UpdateForDocument As SimpleDocumentRelation
Public Overridable Property ScopeType As Nullable(Of Integer)
Public Overridable Property StepOrder As Integer
End Class
Public Partial Class DocumentSearchResultItem
Public Overridable Property Title As String
Public Overridable Property Description As String
Public Overridable Property Owner As String
Public Overridable Property DocumentPolicyId As Nullable(Of Integer)
Public Overridable Property UpdateDocumentId As Nullable(Of Integer)
Public Overridable Property EffectBeginDate As Nullable(Of Date)
Public Overridable Property EffectEndDate As Nullable(Of Date)
Public Overridable Property IssuingAgencyId As Nullable(Of Integer)
Public Overridable Property SubjectId As Nullable(Of Integer)
Public Overridable Property SignBy As String
Public Overridable Property SignDate As Nullable(Of Date)
Public Overridable Property UpdatedAt As Nullable(Of Date)
Public Overridable Property StatusId As Nullable(Of Integer)
Public Overridable Property IsInternal As Boolean
Public Overridable Property DocumentNumber As String
Public Overridable Property DocumentCode As String
Public Overridable Property IsUrgent As Nullable(Of Boolean)
Public Overridable Property Id As Integer
Public Overridable Property ReasonReturn As String
Public Overridable Property AccountId As Nullable(Of Integer)
Public Overridable Property ApproverId As Nullable(Of Integer)
<StringLength(500)>
Public Overridable Property UpdatedBy As String
<StringLength(500)>
Public Overridable Property CreatedBy As String
Public Overridable Property IsParty As Nullable(Of Boolean)
Public Overridable Property IsRevisionRequested As Nullable(Of Boolean)
Public Overridable Property IsPrivate As Nullable(Of Boolean)
Public Overridable Property DepartmentId As Nullable(Of Integer)
Public Overridable Property PublicationDate As Nullable(Of Date)
Public Overridable Property ProcessStatusId As Integer
Public Overridable Property DocumentTypeId As Nullable(Of Integer)
Public Overridable Property DocumentGroupId As Nullable(Of Integer)
Public Overridable Property AccountName As String
Public Overridable Property AcceptAccountName As String
Public Overridable Property DocumentGroupText As String
Public Overridable Property ProcessStatusText As String
Public Overridable Property DocumentTypeText As String
Public Overridable Property DepartmentText As String
Public Overridable Property StatusText As String
Public Overridable Property IssuingAgencyText As String
Public Overridable Property SubjectText As String
Public Overridable Property Comment As String
Public Overridable Property SubmitComment As String
Public Overridable Property FullFile As String
Public Overridable Property ParthFile As String
Public Overridable Property IsActive As Nullable(Of Boolean)
Public Overridable Property StepOrder As Nullable(Of Integer)
Public Overridable Property StepCount As Nullable(Of Integer)
End Class
Public Partial Class SimpleDocumentRelation
Public Overridable Property Id As Integer
Public Overridable Property Title As String
Public Overridable Property DocumentCode As String
Public Overridable Property PublicationDate As Nullable(Of Date)
End Class
Public Partial Class UploadedFileAttach
Inherits UploadedFileModel
Public Overridable Property FileType As String
Public Overridable Property SubDocumentId As Nullable(Of Integer)
Public Overridable Property StepId As Nullable(Of Integer)
End Class
Public Partial Class UploadedFileModel
Inherits BasicUploadedFile
Public Overridable Property Id As Long
Public Overridable Property AccessType As AccessType
Public Overridable Property CreatedBy As Integer
Public Overridable Property CreatedDate As Date
End Class
Public Partial Class UserLogin
<Required>
Public Overridable Property Name As String
End Class
Public Partial Class UserProfile
Inherits UserLogin
Public Sub New()
Roles = New List(Of Integer)
End Sub
Public Overridable Property Id As Integer
Public Overridable Property FullName As String
Public Overridable Property Email As String
Public Overridable Property DepartmentId As Nullable(Of Integer)
Public Overridable Property PartyGroupId As Nullable(Of Integer)
Public Overridable Property Avatar As String
Public Overridable Property Telephone As String
Public Overridable Property Birthday As Nullable(Of Date)
Public Overridable Property CreatedAt As Nullable(Of Date)
Public Overridable Property UpdatedAt As Nullable(Of Date)
Public Overridable Property FailedLoginCount As Integer
<Ignore>
Public Overridable Property Roles As List(Of Integer)
Public Overridable Property LastLoginDate As Nullable(Of Date)
End Class
End Namespace
End Namespace
VB.NET UpdateDocumentRequest 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 /document/update HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateDocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
<Description xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Description>
<DocumentCode xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</DocumentCode>
<DocumentGroupId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</DocumentGroupId>
<DocumentNumber xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</DocumentNumber>
<DocumentPolicyId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</DocumentPolicyId>
<DocumentTypeId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</DocumentTypeId>
<EffectBeginDate xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0001-01-01T00:00:00</EffectBeginDate>
<EffectEndDate xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0001-01-01T00:00:00</EffectEndDate>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">false</IsActive>
<IsInternal xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">false</IsInternal>
<IsUrgent xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">false</IsUrgent>
<IssuingAgencyId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</IssuingAgencyId>
<Owner xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Owner>
<ScopeType xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</ScopeType>
<SignBy xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</SignBy>
<SignDate xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0001-01-01T00:00:00</SignDate>
<StatusId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</StatusId>
<SubjectId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</SubjectId>
<Title xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Title>
<UpdateDocumentId xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</UpdateDocumentId>
<AnalysisUploadedFile>
<Checksum xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Checksum>
<ETag xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</ETag>
<FileName xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileName>
<FileSize xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</FileSize>
<FileUrl xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileUrl>
<Filekey xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Filekey>
<Code>0</Code>
<Id>0</Id>
<StepId>0</StepId>
<SubDocumentId>0</SubDocumentId>
<UploadedFile>String</UploadedFile>
</AnalysisUploadedFile>
<AttachFiles>
<UploadedFiles>
<Checksum xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Checksum>
<ETag xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</ETag>
<FileName xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileName>
<FileSize xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</FileSize>
<FileUrl xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileUrl>
<Filekey xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Filekey>
<Code>0</Code>
<Id>0</Id>
<StepId>0</StepId>
<SubDocumentId>0</SubDocumentId>
<UploadedFile>String</UploadedFile>
</UploadedFiles>
</AttachFiles>
<BasisDocumentId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</BasisDocumentId>
<CompactUploadedFile>
<Checksum xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Checksum>
<ETag xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</ETag>
<FileName xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileName>
<FileSize xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</FileSize>
<FileUrl xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileUrl>
<Filekey xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Filekey>
<Code>0</Code>
<Id>0</Id>
<StepId>0</StepId>
<SubDocumentId>0</SubDocumentId>
<UploadedFile>String</UploadedFile>
</CompactUploadedFile>
<ExpiredDocumentId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</ExpiredDocumentId>
<FullUploadedFile>
<Checksum xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Checksum>
<ETag xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</ETag>
<FileName xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileName>
<FileSize xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</FileSize>
<FileUrl xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileUrl>
<Filekey xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Filekey>
<Code>0</Code>
<Id>0</Id>
<StepId>0</StepId>
<SubDocumentId>0</SubDocumentId>
<UploadedFile>String</UploadedFile>
</FullUploadedFile>
<Id>0</Id>
<PartUploadedFile>
<Checksum xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Checksum>
<ETag xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</ETag>
<FileName xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileName>
<FileSize xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">0</FileSize>
<FileUrl xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</FileUrl>
<Filekey xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">String</Filekey>
<Code>0</Code>
<Id>0</Id>
<StepId>0</StepId>
<SubDocumentId>0</SubDocumentId>
<UploadedFile>String</UploadedFile>
</PartUploadedFile>
<ReferenceDocumentId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</ReferenceDocumentId>
<ReplacedDocumentId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</ReplacedDocumentId>
</UpdateDocumentRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DocumentDetailResponse 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:AcceptAccountName>String</d2p1:AcceptAccountName>
<d2p1:AccountId>0</d2p1:AccountId>
<d2p1:AccountName>String</d2p1:AccountName>
<d2p1:ApproverId>0</d2p1:ApproverId>
<d2p1:Comment>String</d2p1:Comment>
<d2p1:CreatedBy>String</d2p1:CreatedBy>
<d2p1:DepartmentId>0</d2p1:DepartmentId>
<d2p1:DepartmentText>String</d2p1:DepartmentText>
<d2p1:Description>String</d2p1:Description>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:DocumentGroupId>0</d2p1:DocumentGroupId>
<d2p1:DocumentGroupText>String</d2p1:DocumentGroupText>
<d2p1:DocumentNumber>String</d2p1:DocumentNumber>
<d2p1:DocumentPolicyId>0</d2p1:DocumentPolicyId>
<d2p1:DocumentTypeId>0</d2p1:DocumentTypeId>
<d2p1:DocumentTypeText>String</d2p1:DocumentTypeText>
<d2p1:EffectBeginDate>0001-01-01T00:00:00</d2p1:EffectBeginDate>
<d2p1:EffectEndDate>0001-01-01T00:00:00</d2p1:EffectEndDate>
<d2p1:FullFile>String</d2p1:FullFile>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:IsInternal>false</d2p1:IsInternal>
<d2p1:IsParty>false</d2p1:IsParty>
<d2p1:IsPrivate>false</d2p1:IsPrivate>
<d2p1:IsRevisionRequested>false</d2p1:IsRevisionRequested>
<d2p1:IsUrgent>false</d2p1:IsUrgent>
<d2p1:IssuingAgencyId>0</d2p1:IssuingAgencyId>
<d2p1:IssuingAgencyText>String</d2p1:IssuingAgencyText>
<d2p1:Owner>String</d2p1:Owner>
<d2p1:ParthFile>String</d2p1:ParthFile>
<d2p1:ProcessStatusId>0</d2p1:ProcessStatusId>
<d2p1:ProcessStatusText>String</d2p1:ProcessStatusText>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:ReasonReturn>String</d2p1:ReasonReturn>
<d2p1:SignBy>String</d2p1:SignBy>
<d2p1:SignDate>0001-01-01T00:00:00</d2p1:SignDate>
<d2p1:StatusId>0</d2p1:StatusId>
<d2p1:StatusText>String</d2p1:StatusText>
<d2p1:StepCount>0</d2p1:StepCount>
<d2p1:StepOrder>0</d2p1:StepOrder>
<d2p1:SubjectId>0</d2p1:SubjectId>
<d2p1:SubjectText>String</d2p1:SubjectText>
<d2p1:SubmitComment>String</d2p1:SubmitComment>
<d2p1:Title>String</d2p1:Title>
<d2p1:UpdateDocumentId>0</d2p1:UpdateDocumentId>
<d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
<d2p1:UpdatedBy>String</d2p1:UpdatedBy>
<d2p1:AnalysisUploadedFile>
<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:AccessType>Public</d2p1:AccessType>
<d2p1:CreatedBy>0</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileType>String</d2p1:FileType>
<d2p1:StepId>0</d2p1:StepId>
<d2p1:SubDocumentId>0</d2p1:SubDocumentId>
</d2p1:AnalysisUploadedFile>
<d2p1:AttachFiles>
<d2p1:UploadedFileAttach>
<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:AccessType>Public</d2p1:AccessType>
<d2p1:CreatedBy>0</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileType>String</d2p1:FileType>
<d2p1:StepId>0</d2p1:StepId>
<d2p1:SubDocumentId>0</d2p1:SubDocumentId>
</d2p1:UploadedFileAttach>
</d2p1:AttachFiles>
<d2p1:BasisDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:BasisDocument>
<d2p1:BasisForDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:BasisForDocument>
<d2p1:CanGrantReadPermission>false</d2p1:CanGrantReadPermission>
<d2p1:CompactUploadedFile>
<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:AccessType>Public</d2p1:AccessType>
<d2p1:CreatedBy>0</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileType>String</d2p1:FileType>
<d2p1:StepId>0</d2p1:StepId>
<d2p1:SubDocumentId>0</d2p1:SubDocumentId>
</d2p1:CompactUploadedFile>
<d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
<d2p1:CurrentApprover>
<d2p1:ActionButtonLabel>String</d2p1:ActionButtonLabel>
<d2p1:ApproverId>0</d2p1:ApproverId>
<d2p1:IsApprovalRequired>false</d2p1:IsApprovalRequired>
<d2p1:IsFinalStep>false</d2p1:IsFinalStep>
<d2p1:ProcessDescription>String</d2p1:ProcessDescription>
<d2p1:ProcessStatusId>0</d2p1:ProcessStatusId>
<d2p1:ProcessTitle>String</d2p1:ProcessTitle>
<d2p1:Status>String</d2p1:Status>
<d2p1:StepOrder>0</d2p1:StepOrder>
</d2p1:CurrentApprover>
<d2p1:ExpiredByDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ExpiredByDocument>
<d2p1:ExpiredDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ExpiredDocument>
<d2p1:FullUploadedFile>
<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:AccessType>Public</d2p1:AccessType>
<d2p1:CreatedBy>0</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileType>String</d2p1:FileType>
<d2p1:StepId>0</d2p1:StepId>
<d2p1:SubDocumentId>0</d2p1:SubDocumentId>
</d2p1:FullUploadedFile>
<d2p1:HasReadPermission>false</d2p1:HasReadPermission>
<d2p1:MainDocument>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:MainDocument>
<d2p1:NextApprover>
<d2p1:ActionButtonLabel>String</d2p1:ActionButtonLabel>
<d2p1:IsApprovalRequired>false</d2p1:IsApprovalRequired>
<d2p1:IsFinalStep>false</d2p1:IsFinalStep>
<d2p1:ProcessDescription>String</d2p1:ProcessDescription>
<d2p1:ProcessStatusId>0</d2p1:ProcessStatusId>
<d2p1:ProcessTitle>String</d2p1:ProcessTitle>
<d2p1:StepOrder>0</d2p1:StepOrder>
<d2p1:UserProfiles>
<d2p1:UserProfile>
<d2p1:Name>String</d2p1:Name>
<d2p1:Password>String</d2p1:Password>
<d2p1:Avatar>String</d2p1:Avatar>
<d2p1:Birthday>0001-01-01T00:00:00</d2p1:Birthday>
<d2p1:CreatedAt>0001-01-01T00:00:00</d2p1:CreatedAt>
<d2p1:CreatedBy>String</d2p1:CreatedBy>
<d2p1:DeletedAt>0001-01-01T00:00:00</d2p1:DeletedAt>
<d2p1:DeletedBy>String</d2p1:DeletedBy>
<d2p1:DepartmentId>0</d2p1:DepartmentId>
<d2p1:Email>String</d2p1:Email>
<d2p1:FailedLoginCount>0</d2p1:FailedLoginCount>
<d2p1:FullName>String</d2p1:FullName>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsDeleted>false</d2p1:IsDeleted>
<d2p1:LastLoginDate>0001-01-01T00:00:00</d2p1:LastLoginDate>
<d2p1:PartyGroupId>0</d2p1:PartyGroupId>
<d2p1:Roles xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:int>0</d6p1:int>
</d2p1:Roles>
<d2p1:Telephone>String</d2p1:Telephone>
<d2p1:UpdatedAt>0001-01-01T00:00:00</d2p1:UpdatedAt>
<d2p1:UpdatedBy>String</d2p1:UpdatedBy>
</d2p1:UserProfile>
</d2p1:UserProfiles>
</d2p1:NextApprover>
<d2p1:PartUploadedFile>
<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:AccessType>Public</d2p1:AccessType>
<d2p1:CreatedBy>0</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileType>String</d2p1:FileType>
<d2p1:StepId>0</d2p1:StepId>
<d2p1:SubDocumentId>0</d2p1:SubDocumentId>
</d2p1:PartUploadedFile>
<d2p1:ReferenceDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ReferenceDocument>
<d2p1:ReferencedByDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ReferencedByDocument>
<d2p1:ReplacedByDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ReplacedByDocument>
<d2p1:ReplacedDocument>
<d2p1:SimpleDocumentRelation>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:SimpleDocumentRelation>
</d2p1:ReplacedDocument>
<d2p1:ScopeType>0</d2p1:ScopeType>
<d2p1:StepOrder>0</d2p1:StepOrder>
<d2p1:UpdateForDocument>
<d2p1:DocumentCode>String</d2p1:DocumentCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:PublicationDate>0001-01-01T00:00:00</d2p1:PublicationDate>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:UpdateForDocument>
</Data>
<Message>String</Message>
</DocumentDetailResponse>