/* Options: Date: 2025-05-10 00:48:31 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/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: C2BToggleContractLockRequest.* //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 AIM.WebService; namespace AIM.WebService { [DataContract] public partial class BaseRequest { /// ///This is your AIM API Key provided by Tri-Tech /// [DataMember] [ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header")] public virtual string ApiKey { get; set; } [DataMember] [ApiMember(DataType="string", Name="OAuthToken", ParameterType="header")] public virtual string OAuthToken { get; set; } } [DataContract] public partial class BaseResponse { /// /// /// [DataMember] [ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body")] public virtual BaseResponseResult Status { get; set; } } [DataContract] public partial class BaseSecureRequest : BaseRequest { /// /// /// [DataMember] [ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header")] public virtual string Token { get; set; } /// /// /// [DataMember] [ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header")] public virtual string DeviceId { get; set; } /// /// /// [DataMember] [ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header")] public virtual string AppId { get; set; } } /// ///C2BToggleContractLockRequires active-e Contracts Service. /// [Route("/C2BToggleContractLock", "POST")] [DataContract] public partial class C2BToggleContractLockRequest : BaseSecureRequest, IReturn { public C2BToggleContractLockRequest() { WebRefs = new List{}; } /// ///LOCK or UNLOCK /// [DataMember] [ApiMember(Description="LOCK or UNLOCK", Name="Mode", ParameterType="query")] public virtual string Mode { get; set; } /// ///A single WebRef to lock or unlock. An error will be returned if the record is already in that state. /// [DataMember] [ApiMember(Description="A single WebRef to lock or unlock. An error will be returned if the record is already in that state.", Name="WebRef", ParameterType="query")] public virtual string WebRef { get; set; } /// ///A list of WebRefw to lock or unlock. No errors will be returned if one or more records are already in that state. /// [DataMember] [ApiMember(Description="A list of WebRefw to lock or unlock. No errors will be returned if one or more records are already in that state.", Name="WebRefs", ParameterType="query")] public virtual List WebRefs { get; set; } } [DataContract] public partial class C2BToggleContractLockResponse : BaseResponse { } }