/* Options:
Date: 2026-09-09 10:59:40
Version: 10.08
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://services.acct.2service.nl
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: True
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: Authenticate.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using _2Service.Webservices.ServiceModel;
using _2Service.Webservices.ServiceModel.Dealers;
namespace _2Service.Webservices.ServiceModel
{
public partial class OperationResult
{
///
///Specifies if the operation was successful.
///
[ApiMember(Description="Specifies if the operation was successful.", ParameterType="model")]
public virtual bool IsSuccessful { get; set; }
///
///States error message in case of unsuccessful operation.
///
[ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model")]
public virtual string? ErrorMessage { get; set; }
}
public partial class OperationResult
: OperationResult
{
///
///Result value
///
[ApiMember(Description="Result value", ParameterType="model")]
public virtual T? Result { get; set; }
}
}
namespace _2Service.Webservices.ServiceModel.Dealers
{
[Route("/dealers/authenticate", "POST")]
public partial class Authenticate
: IReturn
{
///
///User name for your account.
///
[ApiMember(Description="User name for your account.", IsRequired=true, ParameterType="query")]
public virtual string UserName { get; set; }
///
///Password provided by your supplier.
///
[ApiMember(Description="Password provided by your supplier.", IsRequired=true, ParameterType="query")]
public virtual string Password { get; set; }
}
public partial class AuthenticateResponse
: OperationResult
{
}
public partial class AuthenticateResult
{
///
///Session token to use in successive calls to the services.
///
[ApiMember(Description="Session token to use in successive calls to the services.", ParameterType="model")]
public virtual string? SessionToken { get; set; }
}
}