tvpl.api

<back to all web services

UpdateDocumentRequest

Requires Authentication
The following routes are available for this service:
POST/document/update
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class UpdateDocumentRequest extends BasicDocument
    {
        public UploadedFiles partUploadedFile = null;
        public UploadedFiles compactUploadedFile = null;
        public UploadedFiles analysisUploadedFile = null;
        public UploadedFiles fullUploadedFile = null;
        public ArrayList<UploadedFiles> attachFiles = null;
        public ArrayList<Integer> basisDocumentId = null;
        public ArrayList<Integer> referenceDocumentId = null;
        public ArrayList<Integer> replacedDocumentId = null;
        public ArrayList<Integer> expiredDocumentId = null;
        public Integer id = null;
        
        public UploadedFiles getPartUploadedFile() { return partUploadedFile; }
        public UpdateDocumentRequest setPartUploadedFile(UploadedFiles value) { this.partUploadedFile = value; return this; }
        public UploadedFiles getCompactUploadedFile() { return compactUploadedFile; }
        public UpdateDocumentRequest setCompactUploadedFile(UploadedFiles value) { this.compactUploadedFile = value; return this; }
        public UploadedFiles getAnalysisUploadedFile() { return analysisUploadedFile; }
        public UpdateDocumentRequest setAnalysisUploadedFile(UploadedFiles value) { this.analysisUploadedFile = value; return this; }
        public UploadedFiles getFullUploadedFile() { return fullUploadedFile; }
        public UpdateDocumentRequest setFullUploadedFile(UploadedFiles value) { this.fullUploadedFile = value; return this; }
        public ArrayList<UploadedFiles> getAttachFiles() { return attachFiles; }
        public UpdateDocumentRequest setAttachFiles(ArrayList<UploadedFiles> value) { this.attachFiles = value; return this; }
        public ArrayList<Integer> getBasisDocumentId() { return basisDocumentId; }
        public UpdateDocumentRequest setBasisDocumentId(ArrayList<Integer> value) { this.basisDocumentId = value; return this; }
        public ArrayList<Integer> getReferenceDocumentId() { return referenceDocumentId; }
        public UpdateDocumentRequest setReferenceDocumentId(ArrayList<Integer> value) { this.referenceDocumentId = value; return this; }
        public ArrayList<Integer> getReplacedDocumentId() { return replacedDocumentId; }
        public UpdateDocumentRequest setReplacedDocumentId(ArrayList<Integer> value) { this.replacedDocumentId = value; return this; }
        public ArrayList<Integer> getExpiredDocumentId() { return expiredDocumentId; }
        public UpdateDocumentRequest setExpiredDocumentId(ArrayList<Integer> value) { this.expiredDocumentId = value; return this; }
        public Integer getId() { return id; }
        public UpdateDocumentRequest setId(Integer value) { this.id = value; return this; }
    }

    public static class BasicDocument
    {
        @Required()
        public String title = null;

        @StringLength(4000)
        public String description = null;

        @StringLength(500)
        public String owner = null;

        public Integer documentPolicyId = null;
        public Integer updateDocumentId = null;
        public Date effectBeginDate = null;
        public Date effectEndDate = null;
        public Integer issuingAgencyId = null;
        public Integer documentTypeId = null;
        public Integer documentGroupId = null;
        public Integer subjectId = null;
        @StringLength(500)
        public String signBy = null;

        public Date signDate = null;
        public Integer statusId = null;
        public Boolean isInternal = null;
        public String documentNumber = null;
        public String documentCode = null;
        public Boolean isUrgent = null;
        public Integer scopeType = null;
        public Boolean isActive = null;
        
        public String getTitle() { return title; }
        public BasicDocument setTitle(String value) { this.title = value; return this; }
        public String getDescription() { return description; }
        public BasicDocument setDescription(String value) { this.description = value; return this; }
        public String getOwner() { return owner; }
        public BasicDocument setOwner(String value) { this.owner = value; return this; }
        public Integer getDocumentPolicyId() { return documentPolicyId; }
        public BasicDocument setDocumentPolicyId(Integer value) { this.documentPolicyId = value; return this; }
        public Integer getUpdateDocumentId() { return updateDocumentId; }
        public BasicDocument setUpdateDocumentId(Integer value) { this.updateDocumentId = value; return this; }
        public Date getEffectBeginDate() { return effectBeginDate; }
        public BasicDocument setEffectBeginDate(Date value) { this.effectBeginDate = value; return this; }
        public Date getEffectEndDate() { return effectEndDate; }
        public BasicDocument setEffectEndDate(Date value) { this.effectEndDate = value; return this; }
        public Integer getIssuingAgencyId() { return issuingAgencyId; }
        public BasicDocument setIssuingAgencyId(Integer value) { this.issuingAgencyId = value; return this; }
        public Integer getDocumentTypeId() { return documentTypeId; }
        public BasicDocument setDocumentTypeId(Integer value) { this.documentTypeId = value; return this; }
        public Integer getDocumentGroupId() { return documentGroupId; }
        public BasicDocument setDocumentGroupId(Integer value) { this.documentGroupId = value; return this; }
        public Integer getSubjectId() { return subjectId; }
        public BasicDocument setSubjectId(Integer value) { this.subjectId = value; return this; }
        public String getSignBy() { return signBy; }
        public BasicDocument setSignBy(String value) { this.signBy = value; return this; }
        public Date getSignDate() { return signDate; }
        public BasicDocument setSignDate(Date value) { this.signDate = value; return this; }
        public Integer getStatusId() { return statusId; }
        public BasicDocument setStatusId(Integer value) { this.statusId = value; return this; }
        public Boolean getIsInternal() { return isInternal; }
        public BasicDocument setIsInternal(Boolean value) { this.isInternal = value; return this; }
        public String getDocumentNumber() { return documentNumber; }
        public BasicDocument setDocumentNumber(String value) { this.documentNumber = value; return this; }
        public String getDocumentCode() { return documentCode; }
        public BasicDocument setDocumentCode(String value) { this.documentCode = value; return this; }
        public Boolean getIsUrgent() { return isUrgent; }
        public BasicDocument setIsUrgent(Boolean value) { this.isUrgent = value; return this; }
        public Integer getScopeType() { return scopeType; }
        public BasicDocument setScopeType(Integer value) { this.scopeType = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public BasicDocument setIsActive(Boolean value) { this.isActive = value; return this; }
    }

    public static class UploadedFiles extends BasicUploadedFile
    {
        public Long id = null;
        public String uploadedFile = null;
        public Integer subDocumentId = null;
        public Integer stepId = null;
        public Integer code = null;
        
        public Long getId() { return id; }
        public UploadedFiles setId(Long value) { this.id = value; return this; }
        public String getUploadedFile() { return uploadedFile; }
        public UploadedFiles setUploadedFile(String value) { this.uploadedFile = value; return this; }
        public Integer getSubDocumentId() { return subDocumentId; }
        public UploadedFiles setSubDocumentId(Integer value) { this.subDocumentId = value; return this; }
        public Integer getStepId() { return stepId; }
        public UploadedFiles setStepId(Integer value) { this.stepId = value; return this; }
        public Integer getCode() { return code; }
        public UploadedFiles setCode(Integer value) { this.code = value; return this; }
    }

    public static class BasicUploadedFile
    {
        public String fileName = null;
        public String filekey = null;
        public String fileUrl = null;
        public String checksum = null;
        public String eTag = null;
        public Long fileSize = null;
        
        public String getFileName() { return fileName; }
        public BasicUploadedFile setFileName(String value) { this.fileName = value; return this; }
        public String getFilekey() { return filekey; }
        public BasicUploadedFile setFilekey(String value) { this.filekey = value; return this; }
        public String getFileUrl() { return fileUrl; }
        public BasicUploadedFile setFileUrl(String value) { this.fileUrl = value; return this; }
        public String getChecksum() { return checksum; }
        public BasicUploadedFile setChecksum(String value) { this.checksum = value; return this; }
        public String getETag() { return eTag; }
        public BasicUploadedFile setETag(String value) { this.eTag = value; return this; }
        public Long getFileSize() { return fileSize; }
        public BasicUploadedFile setFileSize(Long value) { this.fileSize = value; return this; }
    }

    public static class DocumentDetailResponse implements IResponseRequest
    {
        public DocumentDetail data = null;
        public Integer code = null;
        public String message = null;
        
        public DocumentDetail getData() { return data; }
        public DocumentDetailResponse setData(DocumentDetail value) { this.data = value; return this; }
        public Integer getCode() { return code; }
        public DocumentDetailResponse setCode(Integer value) { this.code = value; return this; }
        public String getMessage() { return message; }
        public DocumentDetailResponse setMessage(String value) { this.message = value; return this; }
    }

    public static class DocumentDetail extends DocumentSearchResultItem
    {
        public UploadedFileAttach partUploadedFile = null;
        public UploadedFileAttach compactUploadedFile = null;
        public UploadedFileAttach analysisUploadedFile = null;
        public UploadedFileAttach fullUploadedFile = null;
        public Date createdAt = null;
        public ApproversProfile nextApprover = null;
        public CurrentApprover currentApprover = null;
        public ArrayList<UploadedFileAttach> attachFiles = null;
        public Boolean hasReadPermission = null;
        public Boolean canGrantReadPermission = null;
        public ArrayList<SimpleDocumentRelation> basisDocument = null;
        public ArrayList<SimpleDocumentRelation> basisForDocument = null;
        public SimpleDocumentRelation mainDocument = null;
        public ArrayList<SimpleDocumentRelation> referenceDocument = null;
        public ArrayList<SimpleDocumentRelation> referencedByDocument = null;
        public ArrayList<SimpleDocumentRelation> replacedDocument = null;
        public ArrayList<SimpleDocumentRelation> replacedByDocument = null;
        public ArrayList<SimpleDocumentRelation> expiredDocument = null;
        public ArrayList<SimpleDocumentRelation> expiredByDocument = null;
        public SimpleDocumentRelation updateForDocument = null;
        public Integer scopeType = null;
        public Integer stepOrder = null;
        
        public UploadedFileAttach getPartUploadedFile() { return partUploadedFile; }
        public DocumentDetail setPartUploadedFile(UploadedFileAttach value) { this.partUploadedFile = value; return this; }
        public UploadedFileAttach getCompactUploadedFile() { return compactUploadedFile; }
        public DocumentDetail setCompactUploadedFile(UploadedFileAttach value) { this.compactUploadedFile = value; return this; }
        public UploadedFileAttach getAnalysisUploadedFile() { return analysisUploadedFile; }
        public DocumentDetail setAnalysisUploadedFile(UploadedFileAttach value) { this.analysisUploadedFile = value; return this; }
        public UploadedFileAttach getFullUploadedFile() { return fullUploadedFile; }
        public DocumentDetail setFullUploadedFile(UploadedFileAttach value) { this.fullUploadedFile = value; return this; }
        public Date getCreatedAt() { return createdAt; }
        public DocumentDetail setCreatedAt(Date value) { this.createdAt = value; return this; }
        public ApproversProfile getNextApprover() { return nextApprover; }
        public DocumentDetail setNextApprover(ApproversProfile value) { this.nextApprover = value; return this; }
        public CurrentApprover getCurrentApprover() { return currentApprover; }
        public DocumentDetail setCurrentApprover(CurrentApprover value) { this.currentApprover = value; return this; }
        public ArrayList<UploadedFileAttach> getAttachFiles() { return attachFiles; }
        public DocumentDetail setAttachFiles(ArrayList<UploadedFileAttach> value) { this.attachFiles = value; return this; }
        public Boolean isHasReadPermission() { return hasReadPermission; }
        public DocumentDetail setHasReadPermission(Boolean value) { this.hasReadPermission = value; return this; }
        public Boolean isCanGrantReadPermission() { return canGrantReadPermission; }
        public DocumentDetail setCanGrantReadPermission(Boolean value) { this.canGrantReadPermission = value; return this; }
        public ArrayList<SimpleDocumentRelation> getBasisDocument() { return basisDocument; }
        public DocumentDetail setBasisDocument(ArrayList<SimpleDocumentRelation> value) { this.basisDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getBasisForDocument() { return basisForDocument; }
        public DocumentDetail setBasisForDocument(ArrayList<SimpleDocumentRelation> value) { this.basisForDocument = value; return this; }
        public SimpleDocumentRelation getMainDocument() { return mainDocument; }
        public DocumentDetail setMainDocument(SimpleDocumentRelation value) { this.mainDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getReferenceDocument() { return referenceDocument; }
        public DocumentDetail setReferenceDocument(ArrayList<SimpleDocumentRelation> value) { this.referenceDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getReferencedByDocument() { return referencedByDocument; }
        public DocumentDetail setReferencedByDocument(ArrayList<SimpleDocumentRelation> value) { this.referencedByDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getReplacedDocument() { return replacedDocument; }
        public DocumentDetail setReplacedDocument(ArrayList<SimpleDocumentRelation> value) { this.replacedDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getReplacedByDocument() { return replacedByDocument; }
        public DocumentDetail setReplacedByDocument(ArrayList<SimpleDocumentRelation> value) { this.replacedByDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getExpiredDocument() { return expiredDocument; }
        public DocumentDetail setExpiredDocument(ArrayList<SimpleDocumentRelation> value) { this.expiredDocument = value; return this; }
        public ArrayList<SimpleDocumentRelation> getExpiredByDocument() { return expiredByDocument; }
        public DocumentDetail setExpiredByDocument(ArrayList<SimpleDocumentRelation> value) { this.expiredByDocument = value; return this; }
        public SimpleDocumentRelation getUpdateForDocument() { return updateForDocument; }
        public DocumentDetail setUpdateForDocument(SimpleDocumentRelation value) { this.updateForDocument = value; return this; }
        public Integer getScopeType() { return scopeType; }
        public DocumentDetail setScopeType(Integer value) { this.scopeType = value; return this; }
        public Integer getStepOrder() { return stepOrder; }
        public DocumentDetail setStepOrder(Integer value) { this.stepOrder = value; return this; }
    }

    public static class DocumentSearchResultItem
    {
        public String title = null;
        public String description = null;
        public String owner = null;
        public Integer documentPolicyId = null;
        public Integer updateDocumentId = null;
        public Date effectBeginDate = null;
        public Date effectEndDate = null;
        public Integer issuingAgencyId = null;
        public Integer subjectId = null;
        public String signBy = null;
        public Date signDate = null;
        public Date updatedAt = null;
        public Integer statusId = null;
        public Boolean isInternal = null;
        public String documentNumber = null;
        public String documentCode = null;
        public Boolean isUrgent = null;
        public Integer id = null;
        public String reasonReturn = null;
        public Integer accountId = null;
        public Integer approverId = null;
        @StringLength(500)
        public String updatedBy = null;

        @StringLength(500)
        public String createdBy = null;

        public Boolean isParty = null;
        public Boolean isRevisionRequested = null;
        public Boolean isPrivate = null;
        public Integer departmentId = null;
        public Date publicationDate = null;
        public Integer processStatusId = null;
        public Integer documentTypeId = null;
        public Integer documentGroupId = null;
        public String accountName = null;
        public String acceptAccountName = null;
        public String documentGroupText = null;
        public String processStatusText = null;
        public String documentTypeText = null;
        public String departmentText = null;
        public String statusText = null;
        public String issuingAgencyText = null;
        public String subjectText = null;
        public String comment = null;
        public String submitComment = null;
        public String fullFile = null;
        public String parthFile = null;
        public Boolean isActive = null;
        public Integer stepOrder = null;
        public Integer stepCount = null;
        
        public String getTitle() { return title; }
        public DocumentSearchResultItem setTitle(String value) { this.title = value; return this; }
        public String getDescription() { return description; }
        public DocumentSearchResultItem setDescription(String value) { this.description = value; return this; }
        public String getOwner() { return owner; }
        public DocumentSearchResultItem setOwner(String value) { this.owner = value; return this; }
        public Integer getDocumentPolicyId() { return documentPolicyId; }
        public DocumentSearchResultItem setDocumentPolicyId(Integer value) { this.documentPolicyId = value; return this; }
        public Integer getUpdateDocumentId() { return updateDocumentId; }
        public DocumentSearchResultItem setUpdateDocumentId(Integer value) { this.updateDocumentId = value; return this; }
        public Date getEffectBeginDate() { return effectBeginDate; }
        public DocumentSearchResultItem setEffectBeginDate(Date value) { this.effectBeginDate = value; return this; }
        public Date getEffectEndDate() { return effectEndDate; }
        public DocumentSearchResultItem setEffectEndDate(Date value) { this.effectEndDate = value; return this; }
        public Integer getIssuingAgencyId() { return issuingAgencyId; }
        public DocumentSearchResultItem setIssuingAgencyId(Integer value) { this.issuingAgencyId = value; return this; }
        public Integer getSubjectId() { return subjectId; }
        public DocumentSearchResultItem setSubjectId(Integer value) { this.subjectId = value; return this; }
        public String getSignBy() { return signBy; }
        public DocumentSearchResultItem setSignBy(String value) { this.signBy = value; return this; }
        public Date getSignDate() { return signDate; }
        public DocumentSearchResultItem setSignDate(Date value) { this.signDate = value; return this; }
        public Date getUpdatedAt() { return updatedAt; }
        public DocumentSearchResultItem setUpdatedAt(Date value) { this.updatedAt = value; return this; }
        public Integer getStatusId() { return statusId; }
        public DocumentSearchResultItem setStatusId(Integer value) { this.statusId = value; return this; }
        public Boolean getIsInternal() { return isInternal; }
        public DocumentSearchResultItem setIsInternal(Boolean value) { this.isInternal = value; return this; }
        public String getDocumentNumber() { return documentNumber; }
        public DocumentSearchResultItem setDocumentNumber(String value) { this.documentNumber = value; return this; }
        public String getDocumentCode() { return documentCode; }
        public DocumentSearchResultItem setDocumentCode(String value) { this.documentCode = value; return this; }
        public Boolean getIsUrgent() { return isUrgent; }
        public DocumentSearchResultItem setIsUrgent(Boolean value) { this.isUrgent = value; return this; }
        public Integer getId() { return id; }
        public DocumentSearchResultItem setId(Integer value) { this.id = value; return this; }
        public String getReasonReturn() { return reasonReturn; }
        public DocumentSearchResultItem setReasonReturn(String value) { this.reasonReturn = value; return this; }
        public Integer getAccountId() { return accountId; }
        public DocumentSearchResultItem setAccountId(Integer value) { this.accountId = value; return this; }
        public Integer getApproverId() { return approverId; }
        public DocumentSearchResultItem setApproverId(Integer value) { this.approverId = value; return this; }
        public String getUpdatedBy() { return updatedBy; }
        public DocumentSearchResultItem setUpdatedBy(String value) { this.updatedBy = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public DocumentSearchResultItem setCreatedBy(String value) { this.createdBy = value; return this; }
        public Boolean getIsParty() { return isParty; }
        public DocumentSearchResultItem setIsParty(Boolean value) { this.isParty = value; return this; }
        public Boolean getIsRevisionRequested() { return isRevisionRequested; }
        public DocumentSearchResultItem setIsRevisionRequested(Boolean value) { this.isRevisionRequested = value; return this; }
        public Boolean getIsPrivate() { return isPrivate; }
        public DocumentSearchResultItem setIsPrivate(Boolean value) { this.isPrivate = value; return this; }
        public Integer getDepartmentId() { return departmentId; }
        public DocumentSearchResultItem setDepartmentId(Integer value) { this.departmentId = value; return this; }
        public Date getPublicationDate() { return publicationDate; }
        public DocumentSearchResultItem setPublicationDate(Date value) { this.publicationDate = value; return this; }
        public Integer getProcessStatusId() { return processStatusId; }
        public DocumentSearchResultItem setProcessStatusId(Integer value) { this.processStatusId = value; return this; }
        public Integer getDocumentTypeId() { return documentTypeId; }
        public DocumentSearchResultItem setDocumentTypeId(Integer value) { this.documentTypeId = value; return this; }
        public Integer getDocumentGroupId() { return documentGroupId; }
        public DocumentSearchResultItem setDocumentGroupId(Integer value) { this.documentGroupId = value; return this; }
        public String getAccountName() { return accountName; }
        public DocumentSearchResultItem setAccountName(String value) { this.accountName = value; return this; }
        public String getAcceptAccountName() { return acceptAccountName; }
        public DocumentSearchResultItem setAcceptAccountName(String value) { this.acceptAccountName = value; return this; }
        public String getDocumentGroupText() { return documentGroupText; }
        public DocumentSearchResultItem setDocumentGroupText(String value) { this.documentGroupText = value; return this; }
        public String getProcessStatusText() { return processStatusText; }
        public DocumentSearchResultItem setProcessStatusText(String value) { this.processStatusText = value; return this; }
        public String getDocumentTypeText() { return documentTypeText; }
        public DocumentSearchResultItem setDocumentTypeText(String value) { this.documentTypeText = value; return this; }
        public String getDepartmentText() { return departmentText; }
        public DocumentSearchResultItem setDepartmentText(String value) { this.departmentText = value; return this; }
        public String getStatusText() { return statusText; }
        public DocumentSearchResultItem setStatusText(String value) { this.statusText = value; return this; }
        public String getIssuingAgencyText() { return issuingAgencyText; }
        public DocumentSearchResultItem setIssuingAgencyText(String value) { this.issuingAgencyText = value; return this; }
        public String getSubjectText() { return subjectText; }
        public DocumentSearchResultItem setSubjectText(String value) { this.subjectText = value; return this; }
        public String getComment() { return comment; }
        public DocumentSearchResultItem setComment(String value) { this.comment = value; return this; }
        public String getSubmitComment() { return submitComment; }
        public DocumentSearchResultItem setSubmitComment(String value) { this.submitComment = value; return this; }
        public String getFullFile() { return fullFile; }
        public DocumentSearchResultItem setFullFile(String value) { this.fullFile = value; return this; }
        public String getParthFile() { return parthFile; }
        public DocumentSearchResultItem setParthFile(String value) { this.parthFile = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public DocumentSearchResultItem setIsActive(Boolean value) { this.isActive = value; return this; }
        public Integer getStepOrder() { return stepOrder; }
        public DocumentSearchResultItem setStepOrder(Integer value) { this.stepOrder = value; return this; }
        public Integer getStepCount() { return stepCount; }
        public DocumentSearchResultItem setStepCount(Integer value) { this.stepCount = value; return this; }
    }

    public static class UploadedFileAttach extends UploadedFileModel
    {
        public String fileType = null;
        public Integer subDocumentId = null;
        public Integer stepId = null;
        
        public String getFileType() { return fileType; }
        public UploadedFileAttach setFileType(String value) { this.fileType = value; return this; }
        public Integer getSubDocumentId() { return subDocumentId; }
        public UploadedFileAttach setSubDocumentId(Integer value) { this.subDocumentId = value; return this; }
        public Integer getStepId() { return stepId; }
        public UploadedFileAttach setStepId(Integer value) { this.stepId = value; return this; }
    }

    public static class UploadedFileModel extends BasicUploadedFile
    {
        public Long id = null;
        public AccessType accessType = null;
        public Integer createdBy = null;
        public Date createdDate = null;
        
        public Long getId() { return id; }
        public UploadedFileModel setId(Long value) { this.id = value; return this; }
        public AccessType getAccessType() { return accessType; }
        public UploadedFileModel setAccessType(AccessType value) { this.accessType = value; return this; }
        public Integer getCreatedBy() { return createdBy; }
        public UploadedFileModel setCreatedBy(Integer value) { this.createdBy = value; return this; }
        public Date getCreatedDate() { return createdDate; }
        public UploadedFileModel setCreatedDate(Date value) { this.createdDate = value; return this; }
    }

    public static enum AccessType
    {
        Public,
        Restricted;
    }

    public static class ApproversProfile
    {
        public ArrayList<UserProfile> userProfiles = null;
        public Integer processStatusId = null;
        public String processTitle = null;
        public String actionButtonLabel = null;
        public String processDescription = null;
        public Boolean isApprovalRequired = null;
        public Boolean isFinalStep = null;
        public Integer stepOrder = null;
        
        public ArrayList<UserProfile> getUserProfiles() { return userProfiles; }
        public ApproversProfile setUserProfiles(ArrayList<UserProfile> value) { this.userProfiles = value; return this; }
        public Integer getProcessStatusId() { return processStatusId; }
        public ApproversProfile setProcessStatusId(Integer value) { this.processStatusId = value; return this; }
        public String getProcessTitle() { return processTitle; }
        public ApproversProfile setProcessTitle(String value) { this.processTitle = value; return this; }
        public String getActionButtonLabel() { return actionButtonLabel; }
        public ApproversProfile setActionButtonLabel(String value) { this.actionButtonLabel = value; return this; }
        public String getProcessDescription() { return processDescription; }
        public ApproversProfile setProcessDescription(String value) { this.processDescription = value; return this; }
        public Boolean getIsApprovalRequired() { return isApprovalRequired; }
        public ApproversProfile setIsApprovalRequired(Boolean value) { this.isApprovalRequired = value; return this; }
        public Boolean getIsFinalStep() { return isFinalStep; }
        public ApproversProfile setIsFinalStep(Boolean value) { this.isFinalStep = value; return this; }
        public Integer getStepOrder() { return stepOrder; }
        public ApproversProfile setStepOrder(Integer value) { this.stepOrder = value; return this; }
    }

    public static class UserProfile extends UserLogin
    {
        public Integer id = null;
        public String fullName = null;
        public String email = null;
        public Integer departmentId = null;
        public Integer partyGroupId = null;
        public String avatar = null;
        public String telephone = null;
        public Date birthday = null;
        public Date createdAt = null;
        public Date updatedAt = null;
        public Integer failedLoginCount = null;
        @Ignore()
        public ArrayList<Integer> roles = null;

        public Date lastLoginDate = null;
        
        public Integer getId() { return id; }
        public UserProfile setId(Integer value) { this.id = value; return this; }
        public String getFullName() { return fullName; }
        public UserProfile setFullName(String value) { this.fullName = value; return this; }
        public String getEmail() { return email; }
        public UserProfile setEmail(String value) { this.email = value; return this; }
        public Integer getDepartmentId() { return departmentId; }
        public UserProfile setDepartmentId(Integer value) { this.departmentId = value; return this; }
        public Integer getPartyGroupId() { return partyGroupId; }
        public UserProfile setPartyGroupId(Integer value) { this.partyGroupId = value; return this; }
        public String getAvatar() { return avatar; }
        public UserProfile setAvatar(String value) { this.avatar = value; return this; }
        public String getTelephone() { return telephone; }
        public UserProfile setTelephone(String value) { this.telephone = value; return this; }
        public Date getBirthday() { return birthday; }
        public UserProfile setBirthday(Date value) { this.birthday = value; return this; }
        public Date getCreatedAt() { return createdAt; }
        public UserProfile setCreatedAt(Date value) { this.createdAt = value; return this; }
        public Date getUpdatedAt() { return updatedAt; }
        public UserProfile setUpdatedAt(Date value) { this.updatedAt = value; return this; }
        public Integer getFailedLoginCount() { return failedLoginCount; }
        public UserProfile setFailedLoginCount(Integer value) { this.failedLoginCount = value; return this; }
        public ArrayList<Integer> getRoles() { return roles; }
        public UserProfile setRoles(ArrayList<Integer> value) { this.roles = value; return this; }
        public Date getLastLoginDate() { return lastLoginDate; }
        public UserProfile setLastLoginDate(Date value) { this.lastLoginDate = value; return this; }
    }

    public static class UserLogin
    {
        @Required()
        public String name = null;
        
        public String getName() { return name; }
        public UserLogin setName(String value) { this.name = value; return this; }
    }

    public static class CurrentApprover
    {
        public Integer approverId = null;
        public String status = null;
        public Integer processStatusId = null;
        public String processTitle = null;
        public String actionButtonLabel = null;
        public String processDescription = null;
        public Boolean isApprovalRequired = null;
        public Boolean isFinalStep = null;
        public Integer stepOrder = null;
        
        public Integer getApproverId() { return approverId; }
        public CurrentApprover setApproverId(Integer value) { this.approverId = value; return this; }
        public String getStatus() { return status; }
        public CurrentApprover setStatus(String value) { this.status = value; return this; }
        public Integer getProcessStatusId() { return processStatusId; }
        public CurrentApprover setProcessStatusId(Integer value) { this.processStatusId = value; return this; }
        public String getProcessTitle() { return processTitle; }
        public CurrentApprover setProcessTitle(String value) { this.processTitle = value; return this; }
        public String getActionButtonLabel() { return actionButtonLabel; }
        public CurrentApprover setActionButtonLabel(String value) { this.actionButtonLabel = value; return this; }
        public String getProcessDescription() { return processDescription; }
        public CurrentApprover setProcessDescription(String value) { this.processDescription = value; return this; }
        public Boolean getIsApprovalRequired() { return isApprovalRequired; }
        public CurrentApprover setIsApprovalRequired(Boolean value) { this.isApprovalRequired = value; return this; }
        public Boolean getIsFinalStep() { return isFinalStep; }
        public CurrentApprover setIsFinalStep(Boolean value) { this.isFinalStep = value; return this; }
        public Integer getStepOrder() { return stepOrder; }
        public CurrentApprover setStepOrder(Integer value) { this.stepOrder = value; return this; }
    }

    public static class SimpleDocumentRelation
    {
        public Integer id = null;
        public String title = null;
        public String documentCode = null;
        public Date publicationDate = null;
        
        public Integer getId() { return id; }
        public SimpleDocumentRelation setId(Integer value) { this.id = value; return this; }
        public String getTitle() { return title; }
        public SimpleDocumentRelation setTitle(String value) { this.title = value; return this; }
        public String getDocumentCode() { return documentCode; }
        public SimpleDocumentRelation setDocumentCode(String value) { this.documentCode = value; return this; }
        public Date getPublicationDate() { return publicationDate; }
        public SimpleDocumentRelation setPublicationDate(Date value) { this.publicationDate = value; return this; }
    }

}

Java UpdateDocumentRequest 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.

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>