/* Options: Date: 2025-07-04 09:28:45 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://doapigw.baasbv.nl/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: MoveDocumentToRecycleBin.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Drawing; using IDB.API.DTO.Document.Operations; namespace IDB.API.DTO.Document.Operations { /// ///Move document to the Recycle Bin /// [Route("/documents/movetorecyclebin", "POST")] [Api(Description="Move document to the Recycle Bin")] [ApiResponse(Description="Document is moved to recycle bin", StatusCode=204)] [ApiResponse(Description="Unauthorized to read document", StatusCode=401)] [ApiResponse(Description="Document not found", StatusCode=410)] [ApiResponse(Description="Document is already in recycle bin, document is not newest version, user has no 'move to recycle bin' access or document is locked/checked out by a user", StatusCode=405)] public partial class MoveDocumentToRecycleBin : IReturnVoid { /// ///ID of the document that must be moved to the recycle bin /// [ApiMember(Description="ID of the document that must be moved to the recycle bin", IsRequired=true)] public virtual Guid DocumentID { get; set; } /// ///Reason for moving the document to the recyclebin /// [ApiMember(Description="Reason for moving the document to the recyclebin")] public virtual string Reason { get; set; } } }