tvpl.api

<back to all web services

DocumentDetailRequest

Requires Authentication
The following routes are available for this service:
GET/document/detail
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 DocumentDetailRequest
            Public Overridable Property Id As Integer
        End Class

        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
    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 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 DocumentDetailRequest 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 /document/detail HTTP/1.1 
Host: etc-api.vsmlab.vn 
Accept: application/xml
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>