AIM Web Services

<back to all web services

SearchInventoryRequest

SearchInventory
Requires active-e Inventory Service

The following routes are available for this service:
POST, GET/api/SearchInventory
"use strict";
export class BaseRequest {
    /** @param {{ApiKey?:string,OAuthToken?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description This is your AIM API Key provided by Tri-Tech */
    ApiKey;
    /** @type {string} */
    OAuthToken;
}
export class BaseSecureRequest extends BaseRequest {
    /** @param {{Token?:string,DeviceId?:string,AppId?:string,ApiKey?:string,OAuthToken?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {string} */
    Token;
    /** @type {string} */
    DeviceId;
    /** @type {string} */
    AppId;
}
export class BaseResponseResult {
    /** @param {{StatusCode?:string,Login?:string,ErrorCode?:string,ErrorDisplayText?:string,ErrorMessage?:string,DomainName?:string,IpAddress?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    StatusCode;
    /** @type {string} */
    Login;
    /** @type {string} */
    ErrorCode;
    /** @type {string} */
    ErrorDisplayText;
    /** @type {string} */
    ErrorMessage;
    /** @type {string} */
    DomainName;
    /** @type {string} */
    IpAddress;
}
export class BaseResponse {
    /** @param {{Status?:BaseResponseResult}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {BaseResponseResult} */
    Status;
}
export class BindableObject {
    constructor(init) { Object.assign(this, init) }
}
export class SearchInventoryResultSet extends BindableObject {
    /** @param {{Pk?:number,Description?:string,InventoryType?:string,Manufacturer?:string,Model?:string,Category?:number,CategoryDescription?:string,SubCategory?:number,SubCategoryDescription?:string,SelectionCode?:string,SelectionCodeDescription?:string,Sku?:string,Mpn?:string,Discontinued?:boolean,Attribute1?:string,Attribute2?:string,Attribute3?:string,Attribute4?:string,Attribute5?:string,Attribute6?:string,Attribute7?:string,Attribute8?:string,Attribute9?:string,Attribute10?:string,Attribute11?:string,Attribute12?:string,Attribute13?:string,Attribute14?:string,Attribute15?:string,Attribute16?:string,Attribute17?:string,Attribute18?:string,Attribute19?:string,Attribute20?:string,ComputerQuantity?:number,OurPrice?:number,RetailPrice?:number,ActiveePrice?:number,PriceA?:number,PriceB?:number,PriceC?:number,MinPrice?:number,AvailableQuantity?:number,IsMedia?:boolean,IsPackage?:boolean,HasImage?:boolean,SearchTerm?:string,Keywords?:string,KeywordsOrigin?:string,Deleted?:boolean,TimeStamp?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {number} */
    Pk;
    /** @type {string} */
    Description;
    /** @type {string} */
    InventoryType;
    /** @type {string} */
    Manufacturer;
    /** @type {string} */
    Model;
    /** @type {?number} */
    Category;
    /** @type {string} */
    CategoryDescription;
    /** @type {?number} */
    SubCategory;
    /** @type {string} */
    SubCategoryDescription;
    /** @type {string} */
    SelectionCode;
    /** @type {string} */
    SelectionCodeDescription;
    /** @type {string} */
    Sku;
    /** @type {string} */
    Mpn;
    /** @type {?boolean} */
    Discontinued;
    /** @type {string} */
    Attribute1;
    /** @type {string} */
    Attribute2;
    /** @type {string} */
    Attribute3;
    /** @type {string} */
    Attribute4;
    /** @type {string} */
    Attribute5;
    /** @type {string} */
    Attribute6;
    /** @type {string} */
    Attribute7;
    /** @type {string} */
    Attribute8;
    /** @type {string} */
    Attribute9;
    /** @type {string} */
    Attribute10;
    /** @type {string} */
    Attribute11;
    /** @type {string} */
    Attribute12;
    /** @type {string} */
    Attribute13;
    /** @type {string} */
    Attribute14;
    /** @type {string} */
    Attribute15;
    /** @type {string} */
    Attribute16;
    /** @type {string} */
    Attribute17;
    /** @type {string} */
    Attribute18;
    /** @type {string} */
    Attribute19;
    /** @type {string} */
    Attribute20;
    /** @type {number} */
    ComputerQuantity;
    /** @type {number} */
    OurPrice;
    /** @type {number} */
    RetailPrice;
    /** @type {number} */
    ActiveePrice;
    /** @type {number} */
    PriceA;
    /** @type {number} */
    PriceB;
    /** @type {number} */
    PriceC;
    /** @type {number} */
    MinPrice;
    /** @type {number} */
    AvailableQuantity;
    /** @type {boolean} */
    IsMedia;
    /** @type {boolean} */
    IsPackage;
    /** @type {boolean} */
    HasImage;
    /** @type {string} */
    SearchTerm;
    /** @type {string} */
    Keywords;
    /** @type {string} */
    KeywordsOrigin;
    /** @type {boolean} */
    Deleted;
    /** @type {string} */
    TimeStamp;
}
export class ImageInfo {
    /** @param {{Url?:string,ImageStream?:string,ImageSize?:string,ErrorMessage?:string,UriPk?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Url;
    /** @type {string} */
    ImageStream;
    /** @type {string} */
    ImageSize;
    /** @type {string} */
    ErrorMessage;
    /** @type {?number} */
    UriPk;
}
export class InventoryDetailAttribute {
    /** @param {{Name?:string,Value?:string,Priority?:number,WebType?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Name;
    /** @type {string} */
    Value;
    /** @type {number} */
    Priority;
    /**
     * @type {number}
     * @description 1 is 'Don't Send to Web', 2 is 'Guided Navigation' */
    WebType;
}
export class LocationInfo {
    /** @param {{Id?:number,Desc?:string,ShortDesc?:string,Region?:string,Latitude?:number,Longitude?:number,InStorePickup?:string,Active?:boolean,CashSaleAcct?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Id;
    /** @type {string} */
    Desc;
    /** @type {string} */
    ShortDesc;
    /** @type {string} */
    Region;
    /** @type {number} */
    Latitude;
    /** @type {number} */
    Longitude;
    /** @type {string} */
    InStorePickup;
    /** @type {boolean} */
    Active;
    /** @type {?number} */
    CashSaleAcct;
}
export class InventoryDetailBySerial {
    /** @param {{SasPk?:number,Serial?:string,Retail?:number,OurPrice?:number,SalePrice?:number,Status?:string,SaleInfo?:string,PriceA?:number,PriceB?:number,PriceC?:number,MinPrice?:number,ActiveEPrice?:number,AllowPriceChange?:boolean,Cost?:number,WeightedCost?:number,Notes?:string,Attributes?:InventoryDetailAttribute[],Images?:ImageInfo[],HasImages?:boolean,IsActiveeHoldback?:boolean,CustomerAcct?:number,AvailableForSTR?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SasPk;
    /** @type {string} */
    Serial;
    /** @type {number} */
    Retail;
    /** @type {number} */
    OurPrice;
    /** @type {?number} */
    SalePrice;
    /** @type {string} */
    Status;
    /** @type {string} */
    SaleInfo;
    /** @type {number} */
    PriceA;
    /** @type {number} */
    PriceB;
    /** @type {number} */
    PriceC;
    /** @type {number} */
    MinPrice;
    /** @type {number} */
    ActiveEPrice;
    /** @type {boolean} */
    AllowPriceChange;
    /** @type {?number} */
    Cost;
    /** @type {?number} */
    WeightedCost;
    /** @type {string} */
    Notes;
    /** @type {InventoryDetailAttribute[]} */
    Attributes;
    /** @type {ImageInfo[]} */
    Images;
    /** @type {boolean} */
    HasImages;
    /** @type {boolean} */
    IsActiveeHoldback;
    /** @type {?number} */
    CustomerAcct;
    /** @type {boolean} */
    AvailableForSTR;
}
export class InventoryDetailSubstitute {
    /** @param {{Model?:string,Sku?:string,Mfg?:string,Description?:string,Price?:number,AvailableQty?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Model;
    /** @type {string} */
    Sku;
    /** @type {string} */
    Mfg;
    /** @type {string} */
    Description;
    /** @type {number} */
    Price;
    /** @type {number} */
    AvailableQty;
}
export class InventoryDetailByLocation {
    /** @param {{SaqPk?:number,LocationInfo?:LocationInfo,Serials?:InventoryDetailBySerial[],Substitutes?:InventoryDetailSubstitute[],Retail?:number,OurPrice?:number,SalePrice?:number,SaleInfo?:string,PriceA?:number,PriceB?:number,PriceC?:number,MinPrice?:number,ActiveEPrice?:number,CustomerPrice?:number,AllowPriceChange?:boolean,Qty?:number,QtyAvail?:number,ActiveeHoldbackQty?:number,ReorderMin?:number,ReorderMax?:number,AverageCost?:number,WeightedCost?:number,Locator?:string,SelectionCode?:string,SelectionCodeDescription?:string,Spiff?:number,CurrentSpotCheckQty?:number,QtyOut?:number,QtyOnOrder?:number,AvailableForSTR?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SaqPk;
    /** @type {LocationInfo} */
    LocationInfo;
    /** @type {InventoryDetailBySerial[]} */
    Serials;
    /** @type {InventoryDetailSubstitute[]} */
    Substitutes;
    /** @type {number} */
    Retail;
    /** @type {number} */
    OurPrice;
    /** @type {?number} */
    SalePrice;
    /** @type {string} */
    SaleInfo;
    /** @type {number} */
    PriceA;
    /** @type {number} */
    PriceB;
    /** @type {number} */
    PriceC;
    /** @type {number} */
    MinPrice;
    /** @type {number} */
    ActiveEPrice;
    /** @type {number} */
    CustomerPrice;
    /** @type {boolean} */
    AllowPriceChange;
    /** @type {number} */
    Qty;
    /** @type {number} */
    QtyAvail;
    /** @type {number} */
    ActiveeHoldbackQty;
    /** @type {number} */
    ReorderMin;
    /** @type {number} */
    ReorderMax;
    /** @type {?number} */
    AverageCost;
    /** @type {?number} */
    WeightedCost;
    /** @type {string} */
    Locator;
    /** @type {string} */
    SelectionCode;
    /** @type {string} */
    SelectionCodeDescription;
    /** @type {number} */
    Spiff;
    /** @type {?number} */
    CurrentSpotCheckQty;
    /** @type {number} */
    QtyOut;
    /** @type {number} */
    QtyOnOrder;
    /** @type {number} */
    AvailableForSTR;
}
export class InventoryDetailByVariant {
    /** @param {{SkuPk?:number,Sku?:string,VendorCost?:number,VendorName?:string,Attributes?:InventoryDetailAttribute[],LocationDetails?:InventoryDetailByLocation[],Images?:ImageInfo[],HasImages?:boolean,Barcodes?:string[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SkuPk;
    /** @type {string} */
    Sku;
    /** @type {?number} */
    VendorCost;
    /** @type {string} */
    VendorName;
    /** @type {InventoryDetailAttribute[]} */
    Attributes;
    /** @type {InventoryDetailByLocation[]} */
    LocationDetails;
    /** @type {ImageInfo[]} */
    Images;
    /** @type {boolean} */
    HasImages;
    /** @type {string[]} */
    Barcodes;
}
export class AddOnDetail {
    /** @param {{SadPk?:number,SkuPk?:number,CatPk?:number,SubPk?:number,Item?:string,Description?:string,Price?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SadPk;
    /** @type {number} */
    SkuPk;
    /** @type {number} */
    CatPk;
    /** @type {number} */
    SubPk;
    /** @type {string} */
    Item;
    /** @type {string} */
    Description;
    /** @type {number} */
    Price;
}
export class ActiveEInfo {
    /** @param {{Dimension?:string,WebDescription?:string,Summary?:string,SETitle?:string,SEDescription?:string,SEKeywords?:string,SEAltText?:string,SEHtmlFreeText?:string,Unpublished?:boolean,FreeShipping?:boolean,IsFeatured?:boolean,WebCategoryIds?:number[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Dimension;
    /** @type {string} */
    WebDescription;
    /** @type {string} */
    Summary;
    /** @type {string} */
    SETitle;
    /** @type {string} */
    SEDescription;
    /** @type {string} */
    SEKeywords;
    /** @type {string} */
    SEAltText;
    /** @type {string} */
    SEHtmlFreeText;
    /** @type {boolean} */
    Unpublished;
    /** @type {boolean} */
    FreeShipping;
    /** @type {boolean} */
    IsFeatured;
    /** @type {number[]} */
    WebCategoryIds;
}
export class InventoryDetail {
    /** @param {{SadPk?:number,InvType?:string,Model?:string,Description?:string,Mfg?:string,Category?:number,CategoryDescription?:string,SubCategory?:number,SubCategoryDescription?:string,SelectionCode?:string,SelectionCodeDescription?:string,SellSerialsOnline?:boolean,Notes?:string,Images?:ImageInfo[],HasImages?:boolean,VariantDetails?:InventoryDetailByVariant[],AddOns?:AddOnDetail[],ActiveEInfo?:ActiveEInfo,Weight?:number,Unit?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SadPk;
    /** @type {string} */
    InvType;
    /** @type {string} */
    Model;
    /** @type {string} */
    Description;
    /** @type {string} */
    Mfg;
    /** @type {number} */
    Category;
    /** @type {string} */
    CategoryDescription;
    /** @type {number} */
    SubCategory;
    /** @type {string} */
    SubCategoryDescription;
    /** @type {string} */
    SelectionCode;
    /** @type {string} */
    SelectionCodeDescription;
    /** @type {boolean} */
    SellSerialsOnline;
    /** @type {string} */
    Notes;
    /** @type {ImageInfo[]} */
    Images;
    /** @type {boolean} */
    HasImages;
    /** @type {InventoryDetailByVariant[]} */
    VariantDetails;
    /** @type {AddOnDetail[]} */
    AddOns;
    /** @type {ActiveEInfo} */
    ActiveEInfo;
    /** @type {number} */
    Weight;
    /** @type {string} */
    Unit;
}
export class SearchInventoryApiResult extends SearchInventoryResultSet {
    /** @param {{Detail?:InventoryDetail,IconImage?:ImageInfo,CustomerPrice?:number,Pk?:number,Description?:string,InventoryType?:string,Manufacturer?:string,Model?:string,Category?:number,CategoryDescription?:string,SubCategory?:number,SubCategoryDescription?:string,SelectionCode?:string,SelectionCodeDescription?:string,Sku?:string,Mpn?:string,Discontinued?:boolean,Attribute1?:string,Attribute2?:string,Attribute3?:string,Attribute4?:string,Attribute5?:string,Attribute6?:string,Attribute7?:string,Attribute8?:string,Attribute9?:string,Attribute10?:string,Attribute11?:string,Attribute12?:string,Attribute13?:string,Attribute14?:string,Attribute15?:string,Attribute16?:string,Attribute17?:string,Attribute18?:string,Attribute19?:string,Attribute20?:string,ComputerQuantity?:number,OurPrice?:number,RetailPrice?:number,ActiveePrice?:number,PriceA?:number,PriceB?:number,PriceC?:number,MinPrice?:number,AvailableQuantity?:number,IsMedia?:boolean,IsPackage?:boolean,HasImage?:boolean,SearchTerm?:string,Keywords?:string,KeywordsOrigin?:string,Deleted?:boolean,TimeStamp?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {InventoryDetail} */
    Detail;
    /** @type {ImageInfo} */
    IconImage;
    /** @type {number} */
    CustomerPrice;
}
export class SearchInventoryResponse extends BaseResponse {
    /** @param {{StartOffset?:number,RecordCount?:number,RemainingRecords?:number,TotalRecords?:number,Records?:SearchInventoryApiResult[],Status?:BaseResponseResult}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {number} */
    StartOffset;
    /** @type {number} */
    RecordCount;
    /** @type {number} */
    RemainingRecords;
    /** @type {number} */
    TotalRecords;
    /** @type {SearchInventoryApiResult[]} */
    Records;
}
export class SearchInventoryRequest extends BaseSecureRequest {
    /** @param {{LocFk?:number,MfgFk?:number,CatFk?:number,SubFk?:number,SelFk?:number,Cat?:number,Sub?:number,SelectionCode?:string,Mfg?:string,IncludeSerials?:boolean,IncludeMedia?:boolean,IncludeAccessories?:boolean,IncludePackages?:boolean,SearchStr?:string,ExactModel?:boolean,StartOffset?:number,RecordCount?:number,IncludeIconImage?:boolean,CatIdList?:number[],SubIdList?:number[],MfgIdList?:number[],SelIdList?:number[],IncludeDeleted?:boolean,ChangedDate?:string,IncludePackageLineItems?:boolean,IncludeDetails?:boolean,MinimumAvailableQuantity?:number,Token?:string,DeviceId?:string,AppId?:string,ApiKey?:string,OAuthToken?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {?number}
     * @description If sent, only items from the passed location will be returned */
    LocFk;
    /**
     * @type {?number}
     * @description For Internal Use Only */
    MfgFk;
    /**
     * @type {?number}
     * @description For Internal Use Only */
    CatFk;
    /**
     * @type {?number}
     * @description For Internal Use Only */
    SubFk;
    /**
     * @type {?number}
     * @description For Internal Use Only */
    SelFk;
    /**
     * @type {?number}
     * @description If sent, only items from the passed category# will be returned */
    Cat;
    /**
     * @type {?number}
     * @description If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter. */
    Sub;
    /**
     * @type {string}
     * @description If sent, only items with the passed selection code will be returned */
    SelectionCode;
    /**
     * @type {string}
     * @description If sent, only items with the passed mfg code will be returned */
    Mfg;
    /**
     * @type {?boolean}
     * @description Serialized Items will be included in the search results */
    IncludeSerials;
    /**
     * @type {?boolean}
     * @description Media Items will be included in the search results */
    IncludeMedia;
    /**
     * @type {?boolean}
     * @description Non-Serialized, Non-Media Items will be included in the search results */
    IncludeAccessories;
    /**
     * @type {?boolean}
     * @description Package Deal Items will be included in the search results */
    IncludePackages;
    /**
     * @type {string}
     * @description The string to be searched for */
    SearchStr;
    /**
     * @type {?boolean}
     * @description If set, only items with the exact model contained in the search string will be returned */
    ExactModel;
    /**
     * @type {?number}
     * @description The Starting Offse */
    StartOffset;
    /**
     * @type {?number}
     * @description The # of records to be returned */
    RecordCount;
    /**
     * @type {?boolean}
     * @description If set, Icon Image Urls will be included in the result, if available */
    IncludeIconImage;
    /**
     * @type {number[]}
     * @description If sent, only items from the passed category IDs will be returned */
    CatIdList;
    /**
     * @type {number[]}
     * @description If sent, only items from the passed subcategory IDs will be returned */
    SubIdList;
    /**
     * @type {number[]}
     * @description If sent, only items from the passed mfg IDs will be returned */
    MfgIdList;
    /**
     * @type {number[]}
     * @description If sent, only items from the passed selection code IDs will be returned */
    SelIdList;
    /**
     * @type {?boolean}
     * @description Deleted Items will be included in the search results */
    IncludeDeleted;
    /**
     * @type {?string}
     * @description If sent, only inventory changed on or after this date/time will be included */
    ChangedDate;
    /**
     * @type {?boolean}
     * @description Package Deal Line Items will be included */
    IncludePackageLineItems;
    /**
     * @type {?boolean}
     * @description If set, the InventoryDetails object for each item will also be returned. This is much slower. */
    IncludeDetails;
    /**
     * @type {?number}
     * @description If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent. */
    MinimumAvailableQuantity;
}

JavaScript SearchInventoryRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/SearchInventory HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"LocFk":0,"MfgFk":0,"CatFk":0,"SubFk":0,"SelFk":0,"Cat":0,"Sub":0,"SelectionCode":"String","Mfg":"String","IncludeSerials":false,"IncludeMedia":false,"IncludeAccessories":false,"IncludePackages":false,"SearchStr":"String","ExactModel":false,"StartOffset":0,"RecordCount":0,"IncludeIconImage":false,"CatIdList":[0],"SubIdList":[0],"MfgIdList":[0],"SelIdList":[0],"IncludeDeleted":false,"ChangedDate":"0001-01-01T00:00:00.0000000","IncludePackageLineItems":false,"IncludeDetails":false,"MinimumAvailableQuantity":0,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"StartOffset":0,"RecordCount":0,"RemainingRecords":0,"TotalRecords":0,"Records":[{"Detail":{"SadPk":0,"InvType":"String","Model":"String","Description":"String","Mfg":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","SelectionCode":"String","SelectionCodeDescription":"String","SellSerialsOnline":false,"Notes":"String","Images":[{"Url":"String","ImageStream":"String","ImageSize":"String","ErrorMessage":"String","UriPk":0}],"HasImages":true,"VariantDetails":[{}],"AddOns":[{}],"ActiveEInfo":{"Dimension":"String","WebDescription":"String","Summary":"String","SETitle":"String","SEDescription":"String","SEKeywords":"String","SEAltText":"String","SEHtmlFreeText":"String","Unpublished":false,"FreeShipping":false,"IsFeatured":false,"WebCategoryIds":[0]},"Weight":0,"Unit":"String"},"IconImage":{"Url":"String","ImageStream":"String","ImageSize":"String","ErrorMessage":"String","UriPk":0},"CustomerPrice":0,"Pk":0,"Description":"String","InventoryType":"String","Manufacturer":"String","Model":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","SelectionCode":"String","SelectionCodeDescription":"String","Sku":"String","Mpn":"String","Discontinued":false,"Attribute1":"String","Attribute2":"String","Attribute3":"String","Attribute4":"String","Attribute5":"String","Attribute6":"String","Attribute7":"String","Attribute8":"String","Attribute9":"String","Attribute10":"String","Attribute11":"String","Attribute12":"String","Attribute13":"String","Attribute14":"String","Attribute15":"String","Attribute16":"String","Attribute17":"String","Attribute18":"String","Attribute19":"String","Attribute20":"String","ComputerQuantity":0,"OurPrice":0,"RetailPrice":0,"ActiveePrice":0,"PriceA":0,"PriceB":0,"PriceC":0,"MinPrice":0,"AvailableQuantity":0,"IsMedia":false,"IsPackage":false,"HasImage":false,"SearchTerm":"String","Keywords":"String","KeywordsOrigin":"String","Deleted":false,"PackageLineItems":[{"Model":"String","Cat":0,"Sub":0,"Description":"String","Quantity":0,"Amount":0,"Discount":0,"ItemType":"String"}]}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}