/* Options:
Date: 2025-05-10 00:45:18
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: ShippingAddressLookupRequest.*
//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; }
}
///
///ShippingAddressLookupRequires active-e Customer Service.
///
[Route("/ShippingAddressLookup", "GET")]
[DataContract]
public partial class ShippingAddressLookupRequest
: BaseSecureRequest, IReturn
{
///
///Pass in this parameter if you want to lookup all shipping addresses linked to a customer. Not required if using a customer login. Do not pass in this parameter if passing in the ShipId parameter.
///
[DataMember]
[ApiMember(Description="Pass in this parameter if you want to lookup all shipping addresses linked to a customer. Not required if using a customer login. Do not pass in this parameter if passing in the ShipId parameter.", Name="Acct", ParameterType="query")]
public virtual int? Acct { get; set; }
///
///Use this parameter to lookup a single Shipping Address with this ID. Do not pass in this parameter if passing in the Acct parameter.
///
[DataMember]
[ApiMember(Description="Use this parameter to lookup a single Shipping Address with this ID. Do not pass in this parameter if passing in the Acct parameter.", Name="ShipId", ParameterType="query")]
public virtual long? ShipId { get; set; }
}
[DataContract]
public partial class ShippingAddressLookupResponse
: BaseResponse
{
public ShippingAddressLookupResponse()
{
ShipTos = new List{};
}
[DataMember]
public virtual List ShipTos { get; set; }
}
[DataContract]
public partial class ShipToInfo
{
[DataMember]
public virtual long Id { get; set; }
[DataMember]
public virtual string Name { get; set; }
[DataMember]
public virtual string Attention { get; set; }
[DataMember]
public virtual string Address1 { get; set; }
[DataMember]
public virtual string Address2 { get; set; }
[DataMember]
public virtual string City { get; set; }
[DataMember]
public virtual string State { get; set; }
[DataMember]
public virtual string Zip { get; set; }
[DataMember]
public virtual string Country { get; set; }
[DataMember]
public virtual string Email { get; set; }
[DataMember]
public virtual string Phone { get; set; }
[DataMember]
public virtual string Phone2 { get; set; }
[DataMember]
public virtual string Notes { get; set; }
[DataMember]
public virtual bool Primary { get; set; }
[DataMember]
public virtual string TaxLoc { get; set; }
[DataMember]
public virtual bool Active { get; set; }
}
}