GET | /api/GetActiveE3Party |
---|
import 'package:servicestack/servicestack.dart';
// @DataContract
class BaseRequest implements IConvertible
{
/**
* 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")
String? ApiKey;
// @DataMember
// @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header")
String? OAuthToken;
BaseRequest({this.ApiKey,this.OAuthToken});
BaseRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ApiKey = json['ApiKey'];
OAuthToken = json['OAuthToken'];
return this;
}
Map<String, dynamic> toJson() => {
'ApiKey': ApiKey,
'OAuthToken': OAuthToken
};
getTypeName() => "BaseRequest";
TypeContext? context = _ctx;
}
// @DataContract
class BaseResponseResult implements IConvertible
{
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", Name="StatusCode", ParameterType="body")
String? StatusCode;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", Name="Login", ParameterType="body")
String? Login;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", Name="ErrorCode", ParameterType="body")
String? ErrorCode;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", Name="ErrorDisplayText", ParameterType="body")
String? ErrorDisplayText;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", Name="ErrorMessage", ParameterType="body")
String? ErrorMessage;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="DomainName", ParameterType="body")
String? DomainName;
/**
*
*/
// @DataMember
// @ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="IPAddress", ParameterType="body")
String? IpAddress;
BaseResponseResult({this.StatusCode,this.Login,this.ErrorCode,this.ErrorDisplayText,this.ErrorMessage,this.DomainName,this.IpAddress});
BaseResponseResult.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
StatusCode = json['StatusCode'];
Login = json['Login'];
ErrorCode = json['ErrorCode'];
ErrorDisplayText = json['ErrorDisplayText'];
ErrorMessage = json['ErrorMessage'];
DomainName = json['DomainName'];
IpAddress = json['IpAddress'];
return this;
}
Map<String, dynamic> toJson() => {
'StatusCode': StatusCode,
'Login': Login,
'ErrorCode': ErrorCode,
'ErrorDisplayText': ErrorDisplayText,
'ErrorMessage': ErrorMessage,
'DomainName': DomainName,
'IpAddress': IpAddress
};
getTypeName() => "BaseResponseResult";
TypeContext? context = _ctx;
}
// @DataContract
class BaseResponse implements IConvertible
{
/**
*
*/
// @DataMember
// @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body")
BaseResponseResult? Status;
BaseResponse({this.Status});
BaseResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Status = JsonConverters.fromJson(json['Status'],'BaseResponseResult',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Status': JsonConverters.toJson(Status,'BaseResponseResult',context!)
};
getTypeName() => "BaseResponse";
TypeContext? context = _ctx;
}
// @DataContract
class InventoryAttribute implements IConvertible
{
// @DataMember
String? Name;
// @DataMember
String? Value;
InventoryAttribute({this.Name,this.Value});
InventoryAttribute.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Name = json['Name'];
Value = json['Value'];
return this;
}
Map<String, dynamic> toJson() => {
'Name': Name,
'Value': Value
};
getTypeName() => "InventoryAttribute";
TypeContext? context = _ctx;
}
// @DataContract
class SerialItem implements IConvertible
{
// @DataMember
int? SasPk;
// @DataMember
String? Serial;
// @DataMember
double? Retail;
// @DataMember
double? OurPrice;
// @DataMember
double? SalePrice;
// @DataMember
double? AE_Sale_Price;
// @DataMember
String? Status;
// @DataMember
String? SaleInfo;
// @DataMember
double? PriceA;
// @DataMember
double? PriceB;
// @DataMember
double? PriceC;
// @DataMember
double? MinPrice;
// @DataMember
String? Notes;
// @DataMember
String? Source;
// @DataMember
List<InventoryAttribute>? Attributes;
SerialItem({this.SasPk,this.Serial,this.Retail,this.OurPrice,this.SalePrice,this.AE_Sale_Price,this.Status,this.SaleInfo,this.PriceA,this.PriceB,this.PriceC,this.MinPrice,this.Notes,this.Source,this.Attributes});
SerialItem.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SasPk = json['SasPk'];
Serial = json['Serial'];
Retail = JsonConverters.toDouble(json['Retail']);
OurPrice = JsonConverters.toDouble(json['OurPrice']);
SalePrice = JsonConverters.toDouble(json['SalePrice']);
AE_Sale_Price = JsonConverters.toDouble(json['AE_Sale_Price']);
Status = json['Status'];
SaleInfo = json['SaleInfo'];
PriceA = JsonConverters.toDouble(json['PriceA']);
PriceB = JsonConverters.toDouble(json['PriceB']);
PriceC = JsonConverters.toDouble(json['PriceC']);
MinPrice = JsonConverters.toDouble(json['MinPrice']);
Notes = json['Notes'];
Source = json['Source'];
Attributes = JsonConverters.fromJson(json['Attributes'],'List<InventoryAttribute>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'SasPk': SasPk,
'Serial': Serial,
'Retail': Retail,
'OurPrice': OurPrice,
'SalePrice': SalePrice,
'AE_Sale_Price': AE_Sale_Price,
'Status': Status,
'SaleInfo': SaleInfo,
'PriceA': PriceA,
'PriceB': PriceB,
'PriceC': PriceC,
'MinPrice': MinPrice,
'Notes': Notes,
'Source': Source,
'Attributes': JsonConverters.toJson(Attributes,'List<InventoryAttribute>',context!)
};
getTypeName() => "SerialItem";
TypeContext? context = _ctx;
}
// @DataContract
class QtyByLoc implements IConvertible
{
// @DataMember
String? Location;
// @DataMember
double? Quantity;
// @DataMember
String? LocatorCode;
// @DataMember
List<SerialItem>? SerialItems;
QtyByLoc({this.Location,this.Quantity,this.LocatorCode,this.SerialItems});
QtyByLoc.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Location = json['Location'];
Quantity = JsonConverters.toDouble(json['Quantity']);
LocatorCode = json['LocatorCode'];
SerialItems = JsonConverters.fromJson(json['SerialItems'],'List<SerialItem>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Location': Location,
'Quantity': Quantity,
'LocatorCode': LocatorCode,
'SerialItems': JsonConverters.toJson(SerialItems,'List<SerialItem>',context!)
};
getTypeName() => "QtyByLoc";
TypeContext? context = _ctx;
}
// @DataContract
class ActiveE3Party implements IConvertible
{
// @DataMember
String? Model;
// @DataMember
String? Sku;
// @DataMember
String? WebNumber;
// @DataMember
String? Desc;
// @DataMember
String? Mfg;
// @DataMember
String? Type;
// @DataMember
String? Barcode;
// @DataMember
List<String>? BarcodeList;
// @DataMember
String? Selcode;
// @DataMember
String? Color;
// @DataMember
String? Size;
// @DataMember
String? Web_Cat_1;
// @DataMember
String? Web_Cat_2;
// @DataMember
String? Web_Cat_3;
// @DataMember
String? Web_Cat_4;
// @DataMember
String? URL;
// @DataMember
String? Image_Small;
// @DataMember
String? Image_Medium;
// @DataMember
String? Web_Desc;
// @DataMember
String? Ebay_cat1;
// @DataMember
String? Ebay_cat2;
// @DataMember
String? Ebay_storecat1;
// @DataMember
String? Ebay_storecat2;
// @DataMember
String? Ebay_title;
// @DataMember
String? Ebay_subtitle;
// @DataMember
String? Ebay_desc;
// @DataMember
String? Ebay_template;
// @DataMember
String? Ebay_duration;
// @DataMember
String? Ebay_format;
// @DataMember
String? Ebay_paypreset;
// @DataMember
String? Ebay_shippreset;
// @DataMember
String? Ebay_shipdest;
// @DataMember
String? Ebay_image1;
// @DataMember
String? Ebay_image2;
// @DataMember
String? Ebay_image3;
// @DataMember
String? Ebay_image4;
// @DataMember
String? Ebay_image5;
// @DataMember
String? Ebay_image6;
// @DataMember
String? Ebay_image7;
// @DataMember
String? Ebay_image8;
// @DataMember
String? Ebay_image9;
// @DataMember
String? Ebay_image10;
// @DataMember
String? Ebay_image11;
// @DataMember
String? Ebay_image12;
// @DataMember
String? Ebay_image13;
// @DataMember
String? Ebay_image14;
// @DataMember
String? Ebay_image15;
// @DataMember
String? Ebay_image16;
// @DataMember
String? Ebay_image17;
// @DataMember
String? Ebay_image18;
// @DataMember
String? Ebay_image19;
// @DataMember
String? Ebay_image20;
// @DataMember
String? Ebay_image21;
// @DataMember
String? Ebay_image22;
// @DataMember
String? Ebay_image23;
// @DataMember
String? Ebay_image24;
// @DataMember
String? ProductCode;
// @DataMember
String? Dimension;
// @DataMember
String? Restricted_Qtys;
// @DataMember
String? Related_Products;
// @DataMember
String? Upsell_Products;
// @DataMember
String? Requires_Products;
// @DataMember
String? Image_Large;
// @DataMember
String? Audio_URL;
// @DataMember
String? MPN;
// @DataMember
String? Composer;
// @DataMember
String? Arranger;
// @DataMember
String? Artist;
// @DataMember
String? Voicing;
// @DataMember
String? Level;
// @DataMember
String? Sample_URL;
// @DataMember
String? TOC;
// @DataMember
String? SE_desc;
// @DataMember
String? SE_keywords;
// @DataMember
String? SE_title;
// @DataMember
String? Notes;
// @DataMember
String? Invoice_Notes;
// @DataMember
String? POS_Reminder;
// @DataMember
List<QtyByLoc>? LocationQtys;
// @DataMember
String? Location_qtys;
// @DataMember
String? WebcatChild1;
// @DataMember
String? WebcatChild2;
// @DataMember
String? WebcatChild3;
// @DataMember
String? WebcatChild4;
// @DataMember
double? Qty;
// @DataMember
double? Qty_Available;
// @DataMember
double? Cost;
// @DataMember
double? Our_Price;
// @DataMember
double? Retail;
// @DataMember
double? Min_Price;
// @DataMember
double? Price_A;
// @DataMember
double? Price_B;
// @DataMember
double? Price_C;
// @DataMember
double? AE_Sale_Price;
// @DataMember
double? Weight;
// @DataMember
double? Ebay_qty;
// @DataMember
double? Ebay_start;
// @DataMember
double? Ebay_reserve;
// @DataMember
double? Ebay_buyitnow;
// @DataMember
double? WCost;
// @DataMember
double? Margin_Perc;
// @DataMember
int? Ebay_length;
// @DataMember
int? Ebay_width;
// @DataMember
int? Ebay_depth;
// @DataMember
int? Ebay_wtmajor;
// @DataMember
int? Ebay_wtminor;
// @DataMember
bool? Ebay;
// @DataMember
bool? Web;
// @DataMember
bool? Published;
// @DataMember
bool? Approval;
// @DataMember
bool? Call_To_Order;
// @DataMember
bool? Discontinued;
// @DataMember
bool? SellSerialsOnline;
// @DataMember
DateTime? LastUpdated;
// @DataMember
List<InventoryAttribute>? InventoryAttributes;
// @DataMember
int? ExtPk;
ActiveE3Party({this.Model,this.Sku,this.WebNumber,this.Desc,this.Mfg,this.Type,this.Barcode,this.BarcodeList,this.Selcode,this.Color,this.Size,this.Web_Cat_1,this.Web_Cat_2,this.Web_Cat_3,this.Web_Cat_4,this.URL,this.Image_Small,this.Image_Medium,this.Web_Desc,this.Ebay_cat1,this.Ebay_cat2,this.Ebay_storecat1,this.Ebay_storecat2,this.Ebay_title,this.Ebay_subtitle,this.Ebay_desc,this.Ebay_template,this.Ebay_duration,this.Ebay_format,this.Ebay_paypreset,this.Ebay_shippreset,this.Ebay_shipdest,this.Ebay_image1,this.Ebay_image2,this.Ebay_image3,this.Ebay_image4,this.Ebay_image5,this.Ebay_image6,this.Ebay_image7,this.Ebay_image8,this.Ebay_image9,this.Ebay_image10,this.Ebay_image11,this.Ebay_image12,this.Ebay_image13,this.Ebay_image14,this.Ebay_image15,this.Ebay_image16,this.Ebay_image17,this.Ebay_image18,this.Ebay_image19,this.Ebay_image20,this.Ebay_image21,this.Ebay_image22,this.Ebay_image23,this.Ebay_image24,this.ProductCode,this.Dimension,this.Restricted_Qtys,this.Related_Products,this.Upsell_Products,this.Requires_Products,this.Image_Large,this.Audio_URL,this.MPN,this.Composer,this.Arranger,this.Artist,this.Voicing,this.Level,this.Sample_URL,this.TOC,this.SE_desc,this.SE_keywords,this.SE_title,this.Notes,this.Invoice_Notes,this.POS_Reminder,this.LocationQtys,this.Location_qtys,this.WebcatChild1,this.WebcatChild2,this.WebcatChild3,this.WebcatChild4,this.Qty,this.Qty_Available,this.Cost,this.Our_Price,this.Retail,this.Min_Price,this.Price_A,this.Price_B,this.Price_C,this.AE_Sale_Price,this.Weight,this.Ebay_qty,this.Ebay_start,this.Ebay_reserve,this.Ebay_buyitnow,this.WCost,this.Margin_Perc,this.Ebay_length,this.Ebay_width,this.Ebay_depth,this.Ebay_wtmajor,this.Ebay_wtminor,this.Ebay,this.Web,this.Published,this.Approval,this.Call_To_Order,this.Discontinued,this.SellSerialsOnline,this.LastUpdated,this.InventoryAttributes,this.ExtPk});
ActiveE3Party.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Model = json['Model'];
Sku = json['Sku'];
WebNumber = json['WebNumber'];
Desc = json['Desc'];
Mfg = json['Mfg'];
Type = json['Type'];
Barcode = json['Barcode'];
BarcodeList = JsonConverters.fromJson(json['BarcodeList'],'List<String>',context!);
Selcode = json['Selcode'];
Color = json['Color'];
Size = json['Size'];
Web_Cat_1 = json['Web_Cat_1'];
Web_Cat_2 = json['Web_Cat_2'];
Web_Cat_3 = json['Web_Cat_3'];
Web_Cat_4 = json['Web_Cat_4'];
URL = json['URL'];
Image_Small = json['Image_Small'];
Image_Medium = json['Image_Medium'];
Web_Desc = json['Web_Desc'];
Ebay_cat1 = json['Ebay_cat1'];
Ebay_cat2 = json['Ebay_cat2'];
Ebay_storecat1 = json['Ebay_storecat1'];
Ebay_storecat2 = json['Ebay_storecat2'];
Ebay_title = json['Ebay_title'];
Ebay_subtitle = json['Ebay_subtitle'];
Ebay_desc = json['Ebay_desc'];
Ebay_template = json['Ebay_template'];
Ebay_duration = json['Ebay_duration'];
Ebay_format = json['Ebay_format'];
Ebay_paypreset = json['Ebay_paypreset'];
Ebay_shippreset = json['Ebay_shippreset'];
Ebay_shipdest = json['Ebay_shipdest'];
Ebay_image1 = json['Ebay_image1'];
Ebay_image2 = json['Ebay_image2'];
Ebay_image3 = json['Ebay_image3'];
Ebay_image4 = json['Ebay_image4'];
Ebay_image5 = json['Ebay_image5'];
Ebay_image6 = json['Ebay_image6'];
Ebay_image7 = json['Ebay_image7'];
Ebay_image8 = json['Ebay_image8'];
Ebay_image9 = json['Ebay_image9'];
Ebay_image10 = json['Ebay_image10'];
Ebay_image11 = json['Ebay_image11'];
Ebay_image12 = json['Ebay_image12'];
Ebay_image13 = json['Ebay_image13'];
Ebay_image14 = json['Ebay_image14'];
Ebay_image15 = json['Ebay_image15'];
Ebay_image16 = json['Ebay_image16'];
Ebay_image17 = json['Ebay_image17'];
Ebay_image18 = json['Ebay_image18'];
Ebay_image19 = json['Ebay_image19'];
Ebay_image20 = json['Ebay_image20'];
Ebay_image21 = json['Ebay_image21'];
Ebay_image22 = json['Ebay_image22'];
Ebay_image23 = json['Ebay_image23'];
Ebay_image24 = json['Ebay_image24'];
ProductCode = json['ProductCode'];
Dimension = json['Dimension'];
Restricted_Qtys = json['Restricted_Qtys'];
Related_Products = json['Related_Products'];
Upsell_Products = json['Upsell_Products'];
Requires_Products = json['Requires_Products'];
Image_Large = json['Image_Large'];
Audio_URL = json['Audio_URL'];
MPN = json['MPN'];
Composer = json['Composer'];
Arranger = json['Arranger'];
Artist = json['Artist'];
Voicing = json['Voicing'];
Level = json['Level'];
Sample_URL = json['Sample_URL'];
TOC = json['TOC'];
SE_desc = json['SE_desc'];
SE_keywords = json['SE_keywords'];
SE_title = json['SE_title'];
Notes = json['Notes'];
Invoice_Notes = json['Invoice_Notes'];
POS_Reminder = json['POS_Reminder'];
LocationQtys = JsonConverters.fromJson(json['LocationQtys'],'List<QtyByLoc>',context!);
Location_qtys = json['Location_qtys'];
WebcatChild1 = json['WebcatChild1'];
WebcatChild2 = json['WebcatChild2'];
WebcatChild3 = json['WebcatChild3'];
WebcatChild4 = json['WebcatChild4'];
Qty = JsonConverters.toDouble(json['Qty']);
Qty_Available = JsonConverters.toDouble(json['Qty_Available']);
Cost = JsonConverters.toDouble(json['Cost']);
Our_Price = JsonConverters.toDouble(json['Our_Price']);
Retail = JsonConverters.toDouble(json['Retail']);
Min_Price = JsonConverters.toDouble(json['Min_Price']);
Price_A = JsonConverters.toDouble(json['Price_A']);
Price_B = JsonConverters.toDouble(json['Price_B']);
Price_C = JsonConverters.toDouble(json['Price_C']);
AE_Sale_Price = JsonConverters.toDouble(json['AE_Sale_Price']);
Weight = JsonConverters.toDouble(json['Weight']);
Ebay_qty = JsonConverters.toDouble(json['Ebay_qty']);
Ebay_start = JsonConverters.toDouble(json['Ebay_start']);
Ebay_reserve = JsonConverters.toDouble(json['Ebay_reserve']);
Ebay_buyitnow = JsonConverters.toDouble(json['Ebay_buyitnow']);
WCost = JsonConverters.toDouble(json['WCost']);
Margin_Perc = JsonConverters.toDouble(json['Margin_Perc']);
Ebay_length = json['Ebay_length'];
Ebay_width = json['Ebay_width'];
Ebay_depth = json['Ebay_depth'];
Ebay_wtmajor = json['Ebay_wtmajor'];
Ebay_wtminor = json['Ebay_wtminor'];
Ebay = json['Ebay'];
Web = json['Web'];
Published = json['Published'];
Approval = json['Approval'];
Call_To_Order = json['Call_To_Order'];
Discontinued = json['Discontinued'];
SellSerialsOnline = json['SellSerialsOnline'];
LastUpdated = JsonConverters.fromJson(json['LastUpdated'],'DateTime',context!);
InventoryAttributes = JsonConverters.fromJson(json['InventoryAttributes'],'List<InventoryAttribute>',context!);
ExtPk = json['ExtPk'];
return this;
}
Map<String, dynamic> toJson() => {
'Model': Model,
'Sku': Sku,
'WebNumber': WebNumber,
'Desc': Desc,
'Mfg': Mfg,
'Type': Type,
'Barcode': Barcode,
'BarcodeList': JsonConverters.toJson(BarcodeList,'List<String>',context!),
'Selcode': Selcode,
'Color': Color,
'Size': Size,
'Web_Cat_1': Web_Cat_1,
'Web_Cat_2': Web_Cat_2,
'Web_Cat_3': Web_Cat_3,
'Web_Cat_4': Web_Cat_4,
'URL': URL,
'Image_Small': Image_Small,
'Image_Medium': Image_Medium,
'Web_Desc': Web_Desc,
'Ebay_cat1': Ebay_cat1,
'Ebay_cat2': Ebay_cat2,
'Ebay_storecat1': Ebay_storecat1,
'Ebay_storecat2': Ebay_storecat2,
'Ebay_title': Ebay_title,
'Ebay_subtitle': Ebay_subtitle,
'Ebay_desc': Ebay_desc,
'Ebay_template': Ebay_template,
'Ebay_duration': Ebay_duration,
'Ebay_format': Ebay_format,
'Ebay_paypreset': Ebay_paypreset,
'Ebay_shippreset': Ebay_shippreset,
'Ebay_shipdest': Ebay_shipdest,
'Ebay_image1': Ebay_image1,
'Ebay_image2': Ebay_image2,
'Ebay_image3': Ebay_image3,
'Ebay_image4': Ebay_image4,
'Ebay_image5': Ebay_image5,
'Ebay_image6': Ebay_image6,
'Ebay_image7': Ebay_image7,
'Ebay_image8': Ebay_image8,
'Ebay_image9': Ebay_image9,
'Ebay_image10': Ebay_image10,
'Ebay_image11': Ebay_image11,
'Ebay_image12': Ebay_image12,
'Ebay_image13': Ebay_image13,
'Ebay_image14': Ebay_image14,
'Ebay_image15': Ebay_image15,
'Ebay_image16': Ebay_image16,
'Ebay_image17': Ebay_image17,
'Ebay_image18': Ebay_image18,
'Ebay_image19': Ebay_image19,
'Ebay_image20': Ebay_image20,
'Ebay_image21': Ebay_image21,
'Ebay_image22': Ebay_image22,
'Ebay_image23': Ebay_image23,
'Ebay_image24': Ebay_image24,
'ProductCode': ProductCode,
'Dimension': Dimension,
'Restricted_Qtys': Restricted_Qtys,
'Related_Products': Related_Products,
'Upsell_Products': Upsell_Products,
'Requires_Products': Requires_Products,
'Image_Large': Image_Large,
'Audio_URL': Audio_URL,
'MPN': MPN,
'Composer': Composer,
'Arranger': Arranger,
'Artist': Artist,
'Voicing': Voicing,
'Level': Level,
'Sample_URL': Sample_URL,
'TOC': TOC,
'SE_desc': SE_desc,
'SE_keywords': SE_keywords,
'SE_title': SE_title,
'Notes': Notes,
'Invoice_Notes': Invoice_Notes,
'POS_Reminder': POS_Reminder,
'LocationQtys': JsonConverters.toJson(LocationQtys,'List<QtyByLoc>',context!),
'Location_qtys': Location_qtys,
'WebcatChild1': WebcatChild1,
'WebcatChild2': WebcatChild2,
'WebcatChild3': WebcatChild3,
'WebcatChild4': WebcatChild4,
'Qty': Qty,
'Qty_Available': Qty_Available,
'Cost': Cost,
'Our_Price': Our_Price,
'Retail': Retail,
'Min_Price': Min_Price,
'Price_A': Price_A,
'Price_B': Price_B,
'Price_C': Price_C,
'AE_Sale_Price': AE_Sale_Price,
'Weight': Weight,
'Ebay_qty': Ebay_qty,
'Ebay_start': Ebay_start,
'Ebay_reserve': Ebay_reserve,
'Ebay_buyitnow': Ebay_buyitnow,
'WCost': WCost,
'Margin_Perc': Margin_Perc,
'Ebay_length': Ebay_length,
'Ebay_width': Ebay_width,
'Ebay_depth': Ebay_depth,
'Ebay_wtmajor': Ebay_wtmajor,
'Ebay_wtminor': Ebay_wtminor,
'Ebay': Ebay,
'Web': Web,
'Published': Published,
'Approval': Approval,
'Call_To_Order': Call_To_Order,
'Discontinued': Discontinued,
'SellSerialsOnline': SellSerialsOnline,
'LastUpdated': JsonConverters.toJson(LastUpdated,'DateTime',context!),
'InventoryAttributes': JsonConverters.toJson(InventoryAttributes,'List<InventoryAttribute>',context!),
'ExtPk': ExtPk
};
getTypeName() => "ActiveE3Party";
TypeContext? context = _ctx;
}
// @DataContract
class GetActiveE3PartyResponse extends BaseResponse implements IConvertible
{
// @DataMember
int? StartOffset;
// @DataMember
int? RecordCount;
// @DataMember
List<ActiveE3Party>? Records;
GetActiveE3PartyResponse({this.StartOffset,this.RecordCount,this.Records});
GetActiveE3PartyResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
StartOffset = json['StartOffset'];
RecordCount = json['RecordCount'];
Records = JsonConverters.fromJson(json['Records'],'List<ActiveE3Party>',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'StartOffset': StartOffset,
'RecordCount': RecordCount,
'Records': JsonConverters.toJson(Records,'List<ActiveE3Party>',context!)
});
getTypeName() => "GetActiveE3PartyResponse";
TypeContext? context = _ctx;
}
/**
* GetActiveE3PartyRequires active-e Inventory Service or active-e Vortx E-Commerce or active-e 3rd Party E-Commerce
*/
// @DataContract
class GetActiveE3PartyRequest extends BaseRequest implements IConvertible
{
// @DataMember
int? StartOffset;
// @DataMember
int? RecordCount;
/**
* Inventory, Packages, or NI. Defaults to Inventory.
*/
// @DataMember
// @ApiMember(DataType="string", Description="Inventory, Packages, or NI. Defaults to Inventory.", Name="InventoryType", ParameterType="query")
String? InventoryType;
/**
* Only Items in the sent WebCategory will be returned
*/
// @DataMember
// @ApiMember(DataType="string", Description="Only Items in the sent WebCategory will be returned", Name="WebCategory", ParameterType="query")
String? WebCategory;
/**
* If sent, only grab 3 Party Feed records updated after the date passed.
*/
// @DataMember
// @ApiMember(DataType="string", Description="If sent, only grab 3 Party Feed records updated after the date passed.", Format="date", Name="Date", ParameterType="query")
DateTime? Date;
/**
* If sent, only the SKU sent will be returned
*/
// @DataMember
// @ApiMember(DataType="string", Description="If sent, only the SKU sent will be returned", Name="Sku", ParameterType="query")
String? Sku;
// @DataMember
bool? IncludeAttributes;
GetActiveE3PartyRequest({this.StartOffset,this.RecordCount,this.InventoryType,this.WebCategory,this.Date,this.Sku,this.IncludeAttributes});
GetActiveE3PartyRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
StartOffset = json['StartOffset'];
RecordCount = json['RecordCount'];
InventoryType = json['InventoryType'];
WebCategory = json['WebCategory'];
Date = JsonConverters.fromJson(json['Date'],'DateTime',context!);
Sku = json['Sku'];
IncludeAttributes = json['IncludeAttributes'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'StartOffset': StartOffset,
'RecordCount': RecordCount,
'InventoryType': InventoryType,
'WebCategory': WebCategory,
'Date': JsonConverters.toJson(Date,'DateTime',context!),
'Sku': Sku,
'IncludeAttributes': IncludeAttributes
});
getTypeName() => "GetActiveE3PartyRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'active_ewebservice.biz', types: <String, TypeInfo> {
'BaseRequest': TypeInfo(TypeOf.Class, create:() => BaseRequest()),
'BaseResponseResult': TypeInfo(TypeOf.Class, create:() => BaseResponseResult()),
'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()),
'InventoryAttribute': TypeInfo(TypeOf.Class, create:() => InventoryAttribute()),
'SerialItem': TypeInfo(TypeOf.Class, create:() => SerialItem()),
'List<InventoryAttribute>': TypeInfo(TypeOf.Class, create:() => <InventoryAttribute>[]),
'QtyByLoc': TypeInfo(TypeOf.Class, create:() => QtyByLoc()),
'List<SerialItem>': TypeInfo(TypeOf.Class, create:() => <SerialItem>[]),
'ActiveE3Party': TypeInfo(TypeOf.Class, create:() => ActiveE3Party()),
'List<QtyByLoc>': TypeInfo(TypeOf.Class, create:() => <QtyByLoc>[]),
'GetActiveE3PartyResponse': TypeInfo(TypeOf.Class, create:() => GetActiveE3PartyResponse()),
'List<ActiveE3Party>': TypeInfo(TypeOf.Class, create:() => <ActiveE3Party>[]),
'GetActiveE3PartyRequest': TypeInfo(TypeOf.Class, create:() => GetActiveE3PartyRequest()),
});
Dart GetActiveE3PartyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/GetActiveE3Party HTTP/1.1 Host: active-ewebservice.biz Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"StartOffset":0,"RecordCount":0,"Records":[{"Model":"String","Sku":"String","WebNumber":"String","Desc":"String","Mfg":"String","Type":"String","Barcode":"String","BarcodeList":["String"],"Selcode":"String","Color":"String","Size":"String","Web_Cat_1":"String","Web_Cat_2":"String","Web_Cat_3":"String","Web_Cat_4":"String","URL":"String","Image_Small":"String","Image_Medium":"String","Web_Desc":"String","Ebay_cat1":"String","Ebay_cat2":"String","Ebay_storecat1":"String","Ebay_storecat2":"String","Ebay_title":"String","Ebay_subtitle":"String","Ebay_desc":"String","Ebay_template":"String","Ebay_duration":"String","Ebay_format":"String","Ebay_paypreset":"String","Ebay_shippreset":"String","Ebay_shipdest":"String","Ebay_image1":"String","Ebay_image2":"String","Ebay_image3":"String","Ebay_image4":"String","Ebay_image5":"String","Ebay_image6":"String","Ebay_image7":"String","Ebay_image8":"String","Ebay_image9":"String","Ebay_image10":"String","Ebay_image11":"String","Ebay_image12":"String","Ebay_image13":"String","Ebay_image14":"String","Ebay_image15":"String","Ebay_image16":"String","Ebay_image17":"String","Ebay_image18":"String","Ebay_image19":"String","Ebay_image20":"String","Ebay_image21":"String","Ebay_image22":"String","Ebay_image23":"String","Ebay_image24":"String","ProductCode":"String","Dimension":"String","Restricted_Qtys":"String","Related_Products":"String","Upsell_Products":"String","Requires_Products":"String","Image_Large":"String","Audio_URL":"String","MPN":"String","Composer":"String","Arranger":"String","Artist":"String","Voicing":"String","Level":"String","Sample_URL":"String","TOC":"String","SE_desc":"String","SE_keywords":"String","SE_title":"String","Notes":"String","Invoice_Notes":"String","POS_Reminder":"String","Location_qtys":"String","WebcatChild1":"String","WebcatChild2":"String","WebcatChild3":"String","WebcatChild4":"String","Qty":0,"Qty_Available":0,"Cost":0,"Our_Price":0,"Retail":0,"Min_Price":0,"Price_A":0,"Price_B":0,"Price_C":0,"AE_Sale_Price":0,"Weight":0,"Ebay_qty":0,"Ebay_start":0,"Ebay_reserve":0,"Ebay_buyitnow":0,"WCost":0,"Margin_Perc":0,"Ebay_length":0,"Ebay_width":0,"Ebay_depth":0,"Ebay_wtmajor":0,"Ebay_wtminor":0,"Ebay":false,"Web":false,"Published":false,"Approval":false,"Call_To_Order":false,"Discontinued":false,"SellSerialsOnline":false,"ExtPk":0}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}