Initial commit
This commit is contained in:
17
PartSource.Data/Nexpart/AddImg.cs
Normal file
17
PartSource.Data/Nexpart/AddImg.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class AddImg
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string AddImgUrl { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string AddThumbUrl { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/AddImgs.cs
Normal file
14
PartSource.Data/Nexpart/AddImgs.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class AddImgs
|
||||
{
|
||||
[XmlElement]
|
||||
public AddImg[] AddImg { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/Apps.cs
Normal file
14
PartSource.Data/Nexpart/Apps.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Apps
|
||||
{
|
||||
[XmlElement]
|
||||
public BuyersGuideMake[] Make { get; set; }
|
||||
}
|
||||
}
|
||||
34
PartSource.Data/Nexpart/BaseVehicle.cs
Normal file
34
PartSource.Data/Nexpart/BaseVehicle.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.BaseVehicleDetail
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class BaseVehicle
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int BaseVehicleId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int MakeId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int ModelId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string MakeName { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string ModelName { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int Year { get; set; }
|
||||
|
||||
public int EngineConfigId { get; set; }
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Nexpart/BaseVehicleDetail.cs
Normal file
29
PartSource.Data/Nexpart/BaseVehicleDetail.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.BaseVehicleDetail
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicleDetail
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int WHIMakeId { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public int BaseVehicleId { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public string MakeName { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public string ModelName { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public int Year { get; set; }
|
||||
}
|
||||
}
|
||||
31
PartSource.Data/Nexpart/BaseVehicleDetailLookup.cs
Normal file
31
PartSource.Data/Nexpart/BaseVehicleDetailLookup.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.BaseVehicleDetailLookup
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicleDetailLookup
|
||||
{
|
||||
public BaseVehicleDetailLookup()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public int Year { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public int MakeId { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public int ModelId { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/BaseVehicleDetailLookupResponse.cs
Normal file
21
PartSource.Data/Nexpart/BaseVehicleDetailLookupResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.BaseVehicleDetailLookupResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicleDetailLookupResponse : IResponseElement<BaseVehicleDetail>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "BaseVehicleDetail")]
|
||||
public BaseVehicleDetail ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
32
PartSource.Data/Nexpart/BaseVehicleSearch.cs
Normal file
32
PartSource.Data/Nexpart/BaseVehicleSearch.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicleSearch
|
||||
{
|
||||
public BaseVehicleSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
Region = new Region[]
|
||||
{
|
||||
new Region
|
||||
{
|
||||
Id = 2
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public Years Years { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public Region[] Region { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public VehicleType[] VehicleType { get; set; }
|
||||
}
|
||||
}
|
||||
15
PartSource.Data/Nexpart/BaseVehicleSearchResponse.cs
Normal file
15
PartSource.Data/Nexpart/BaseVehicleSearchResponse.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicleSearchResponse : IResponseElement<BaseVehicles>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "BaseVehicles")]
|
||||
public BaseVehicles ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
16
PartSource.Data/Nexpart/BaseVehicles.cs
Normal file
16
PartSource.Data/Nexpart/BaseVehicles.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BaseVehicles
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public BaseVehicle[] BaseVehicle { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
44
PartSource.Data/Nexpart/Body.cs
Normal file
44
PartSource.Data/Nexpart/Body.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Body
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Body
|
||||
{
|
||||
[XmlElement(ElementName = "BaseVehicleDetailLookup", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BaseVehicleDetailLookup))]
|
||||
[XmlElement(ElementName = "BaseVehicleDetailLookupResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BaseVehicleDetailLookupResponse))]
|
||||
[XmlElement(ElementName = "BaseVehicleSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BaseVehicleSearch))]
|
||||
[XmlElement(ElementName = "BaseVehicleSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BaseVehicleSearchResponse))]
|
||||
[XmlElement(ElementName = "BuyersGuideSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BuyersGuideSearch))]
|
||||
[XmlElement(ElementName = "BuyersGuideSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(BuyersGuideSearchResponse))]
|
||||
[XmlElement(ElementName = "EngineSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(EngineSearch))]
|
||||
[XmlElement(ElementName = "EngineSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(EngineSearchResponse))]
|
||||
[XmlElement(ElementName = "MakeSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(MakeSearch))]
|
||||
[XmlElement(ElementName = "MakeSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(MakeSearchResponse))]
|
||||
[XmlElement(ElementName = "ModelSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(ModelSearch))]
|
||||
[XmlElement(ElementName = "ModelSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(ModelSearchResponse))]
|
||||
[XmlElement(ElementName = "MenuNodesLookup", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(MenuNodesLookup))]
|
||||
[XmlElement(ElementName = "MenuNodesLookupResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(MenuNodesLookupResponse))]
|
||||
[XmlElement(ElementName = "PartTypeSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(PartTypeSearch))]
|
||||
[XmlElement(ElementName = "PartTypeSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(PartTypeSearchResponse))]
|
||||
[XmlElement(ElementName = "PartTypesValidateLookup", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(PartTypesValidateLookup))]
|
||||
[XmlElement(ElementName = "PartTypesValidateLookupResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(PartTypesValidateLookupResponse))]
|
||||
[XmlElement(ElementName = "SmartPageDataSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(SmartPageDataSearch))]
|
||||
[XmlElement(ElementName = "SmartPageDataSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(SmartPageDataSearchResponse))]
|
||||
[XmlElement(ElementName = "SubModelSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(SubModelSearch))]
|
||||
[XmlElement(ElementName = "SubModelSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(SubModelSearchResponse))]
|
||||
[XmlElement(ElementName = "VehicleIdSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(VehicleIdSearch))]
|
||||
[XmlElement(ElementName = "VehicleIdSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(VehicleIdSearchResponse))]
|
||||
[XmlElement(ElementName = "VehicleTypesGet", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(VehicleTypesGet))]
|
||||
[XmlElement(ElementName = "VehicleTypesGetResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(VehicleTypesGetResponse))]
|
||||
[XmlElement(ElementName = "WHIEngineSearch", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(WHIEngineSearch))]
|
||||
[XmlElement(ElementName = "WHIEngineSearchResponse", Namespace = "http://whisolutions.com/PartSelectService-v1", Type = typeof(WHIEngineSearchResponse))]
|
||||
public object Content { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/BuyersGuideData.cs
Normal file
14
PartSource.Data/Nexpart/BuyersGuideData.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BuyersGuideData
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public Apps Apps { get; set; }
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/BuyersGuideEngine.cs
Normal file
20
PartSource.Data/Nexpart/BuyersGuideEngine.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class BuyersGuideEngine
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string Desc { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int PerVehicle { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int Year { get; set; }
|
||||
}
|
||||
}
|
||||
26
PartSource.Data/Nexpart/BuyersGuideMake.cs
Normal file
26
PartSource.Data/Nexpart/BuyersGuideMake.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class BuyersGuideMake
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int FromYear { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int ToYear { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int MakeCount { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public BuyersGuideModel[] Model { get; set; }
|
||||
}
|
||||
}
|
||||
26
PartSource.Data/Nexpart/BuyersGuideModel.cs
Normal file
26
PartSource.Data/Nexpart/BuyersGuideModel.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class BuyersGuideModel
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int FromYear { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int ToYear { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int ModelCount { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public BuyersGuideEngine[] Engine { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/BuyersGuidePart.cs
Normal file
17
PartSource.Data/Nexpart/BuyersGuidePart.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class BuyersGuidePart
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string MfrCode { get; set; }
|
||||
}
|
||||
}
|
||||
22
PartSource.Data/Nexpart/BuyersGuideSearch.cs
Normal file
22
PartSource.Data/Nexpart/BuyersGuideSearch.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BuyersGuideSearch
|
||||
{
|
||||
public BuyersGuideSearch()
|
||||
{
|
||||
PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public BuyersGuidePart Part { get; set; }
|
||||
}
|
||||
}
|
||||
18
PartSource.Data/Nexpart/BuyersGuideSearchResponse.cs
Normal file
18
PartSource.Data/Nexpart/BuyersGuideSearchResponse.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class BuyersGuideSearchResponse : IResponseElement<BuyersGuideData>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "BuyersGuideData")]
|
||||
public BuyersGuideData ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/Criterion.cs
Normal file
17
PartSource.Data/Nexpart/Criterion.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Criterion
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "Attrib")]
|
||||
public string Attribute { get; set; }
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/Engine.cs
Normal file
20
PartSource.Data/Nexpart/Engine.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Engine
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Engine
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
37
PartSource.Data/Nexpart/EngineSearch.cs
Normal file
37
PartSource.Data/Nexpart/EngineSearch.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.EngineSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class EngineSearch
|
||||
{
|
||||
public EngineSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
this.RegionId = new int[1] { 2 };
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public VehicleIdentifier VehicleIdentifier { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public int[] RegionId { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public int? SubModelId { get; set; }
|
||||
|
||||
public bool ShouldSerializeSubModelId()
|
||||
{
|
||||
return SubModelId != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/EngineSearchResponse.cs
Normal file
21
PartSource.Data/Nexpart/EngineSearchResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.EngineSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class EngineSearchResponse : IResponseElement<Engines>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Engines")]
|
||||
public Engines ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/Engines.cs
Normal file
17
PartSource.Data/Nexpart/Engines.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Engines
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Engines
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public Engine[] Engine;
|
||||
}
|
||||
}
|
||||
26
PartSource.Data/Nexpart/Envelope.cs
Normal file
26
PartSource.Data/Nexpart/Envelope.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Envelope
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
|
||||
[XmlRoot(IsNullable = false, Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
|
||||
public class Envelope
|
||||
{
|
||||
public Envelope()
|
||||
{
|
||||
this.Body = new Body();
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "Header", Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
|
||||
public string Header { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Body", Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
|
||||
public Body Body { get; set; }
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/Exceptions.cs
Normal file
20
PartSource.Data/Nexpart/Exceptions.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Exceptions
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public class Exceptions
|
||||
{
|
||||
[XmlAttribute(AttributeName = "code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
15
PartSource.Data/Nexpart/Interfaces/IResponseElement.cs
Normal file
15
PartSource.Data/Nexpart/Interfaces/IResponseElement.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Interfaces.IResponseElement`1
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
namespace PartSource.Data.Nexpart.Interfaces
|
||||
{
|
||||
public interface IResponseElement<T>
|
||||
{
|
||||
PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
T ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Nexpart/Item.cs
Normal file
29
PartSource.Data/Nexpart/Item.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Item
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Item
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string MfrCode { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public PrimaryImg PrimaryImg { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public AddImgs AddImgs { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public Part Part { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/Items.cs
Normal file
17
PartSource.Data/Nexpart/Items.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Items
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Items
|
||||
{
|
||||
[XmlElement(ElementName = "Item", Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21", Order = 1)]
|
||||
public PartSource.Data.Nexpart.Item[] Item { get; set; }
|
||||
}
|
||||
}
|
||||
23
PartSource.Data/Nexpart/Make.cs
Normal file
23
PartSource.Data/Nexpart/Make.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Make
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Make
|
||||
{
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int WHIId { get; set; }
|
||||
}
|
||||
}
|
||||
33
PartSource.Data/Nexpart/MakeSearch.cs
Normal file
33
PartSource.Data/Nexpart/MakeSearch.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.MakeSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MakeSearch
|
||||
{
|
||||
public MakeSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
this.Years = new Years() { From = 1900, To = 2049 };
|
||||
this.RegionId = new int[]{ 2 };
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Years", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 2)]
|
||||
public Years Years { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "RegionId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 3)]
|
||||
public int[] RegionId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "VehicleTypeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 4)]
|
||||
public int[] VehicleTypeId { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/MakeSearchResponse.cs
Normal file
21
PartSource.Data/Nexpart/MakeSearchResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.MakeSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MakeSearchResponse : IResponseElement<Makes>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Makes")]
|
||||
public Makes ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/Makes.cs
Normal file
17
PartSource.Data/Nexpart/Makes.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Makes
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Makes
|
||||
{
|
||||
[XmlElement(ElementName = "Make", Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21", Order = 1)]
|
||||
public PartSource.Data.Nexpart.Make[] Make { get; set; }
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Nexpart/MenuNode.cs
Normal file
29
PartSource.Data/Nexpart/MenuNode.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartType
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MenuNode
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string NodeType { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int NodeTypeId { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "Desc")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int SourceId { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/MenuNodes.cs
Normal file
17
PartSource.Data/Nexpart/MenuNodes.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypes
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MenuNodes
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public MenuNode[] MenuNode{ get; set; }
|
||||
}
|
||||
}
|
||||
33
PartSource.Data/Nexpart/MenuNodesLookup.cs
Normal file
33
PartSource.Data/Nexpart/MenuNodesLookup.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MenuNodesLookup
|
||||
{
|
||||
public MenuNodesLookup()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public int MenuId { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public int? ParentMenuNodeId { get; set; }
|
||||
|
||||
[XmlElement(Order = 4, ElementName = "numOfLevels")]
|
||||
public int NumberOfLevels { get; set; }
|
||||
|
||||
public bool ShouldSerializeParentMenuNodeId()
|
||||
{
|
||||
return ParentMenuNodeId != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
15
PartSource.Data/Nexpart/MenuNodesLookupResponse.cs
Normal file
15
PartSource.Data/Nexpart/MenuNodesLookupResponse.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class MenuNodesLookupResponse : IResponseElement<MenuNodes>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "MenuNodes")]
|
||||
public MenuNodes ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/Model.cs
Normal file
20
PartSource.Data/Nexpart/Model.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Model
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Model
|
||||
{
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "id")]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
35
PartSource.Data/Nexpart/ModelSearch.cs
Normal file
35
PartSource.Data/Nexpart/ModelSearch.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.ModelSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class ModelSearch
|
||||
{
|
||||
public ModelSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
this.RegionId = new int[] { 2 };
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Year", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 2)]
|
||||
public int Year { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "MakeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 3)]
|
||||
public int MakeId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "RegionId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 4)]
|
||||
public int[] RegionId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "VehicleTypeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 5)]
|
||||
public int[] VehicleTypeId { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/ModelSearchResponse.cs
Normal file
21
PartSource.Data/Nexpart/ModelSearchResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.ModelSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class ModelSearchResponse : IResponseElement<Models[]>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Models", Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public Models[] ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
25
PartSource.Data/Nexpart/Models.cs
Normal file
25
PartSource.Data/Nexpart/Models.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Models
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Models
|
||||
{
|
||||
public Models()
|
||||
{
|
||||
Region = 2;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public int Region { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Model", Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public PartSource.Data.Nexpart.Model[] Model { get; set; }
|
||||
}
|
||||
}
|
||||
26
PartSource.Data/Nexpart/PSRequestHeader.cs
Normal file
26
PartSource.Data/Nexpart/PSRequestHeader.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PSRequestHeader
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PSRequestHeader
|
||||
{
|
||||
public PSRequestHeader()
|
||||
{
|
||||
this.SvcVersion = "1.0";
|
||||
this.ReturnWarnings = "true";
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "SvcVersion", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string SvcVersion { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "ReturnWarnings", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string ReturnWarnings { get; set; }
|
||||
}
|
||||
}
|
||||
32
PartSource.Data/Nexpart/PSResponseHeader.cs
Normal file
32
PartSource.Data/Nexpart/PSResponseHeader.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PSResponseHeader
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PSResponseHeader
|
||||
{
|
||||
[XmlElement(ElementName = "RequestId", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string RequestId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "RequestProcessingTime", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string RequestProcessingTime { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Build", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string Build { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "TimeStamp", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string TimeStamp { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "StatusCode", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public string StatusCode { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Exceptions", Namespace = "http://whisolutions.com/PartSelectCommon/2011-07-21")]
|
||||
public PartSource.Data.Nexpart.Exceptions[] Exceptions { get; set; }
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Nexpart/Part.cs
Normal file
29
PartSource.Data/Nexpart/Part.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Part
|
||||
{
|
||||
[XmlElement]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public PartPartType PartType { get; set; }
|
||||
|
||||
// There are two different kinds of PartType because of course there are...
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class PartPartType
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string PartTypeDesc { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/PartNumber.cs
Normal file
14
PartSource.Data/Nexpart/PartNumber.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class PartNumber
|
||||
{
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
23
PartSource.Data/Nexpart/PartType.cs
Normal file
23
PartSource.Data/Nexpart/PartType.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartType
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartType
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int PositionGroupId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
34
PartSource.Data/Nexpart/PartTypeSearch.cs
Normal file
34
PartSource.Data/Nexpart/PartTypeSearch.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypeSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartTypeSearch
|
||||
{
|
||||
public PartTypeSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public string SearchString { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public string SearchType { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public string SearchOptions { get; set; }
|
||||
|
||||
[XmlElement(Order = 5)]
|
||||
public VehicleIdentifier VehicleIdentifier { get; set; }
|
||||
}
|
||||
}
|
||||
25
PartSource.Data/Nexpart/PartTypeSearchResponse.cs
Normal file
25
PartSource.Data/Nexpart/PartTypeSearchResponse.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypeSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartTypeSearchResponse : IResponseElement<PartTypes>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
public string RequestedSearchString { get; set; }
|
||||
|
||||
public string ExecutedSearchString { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "PartTypes")]
|
||||
public PartTypes ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/PartTypes.cs
Normal file
17
PartSource.Data/Nexpart/PartTypes.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypes
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartTypes
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public PartSource.Data.Nexpart.PartType[] PartType { get; set; }
|
||||
}
|
||||
}
|
||||
28
PartSource.Data/Nexpart/PartTypesValidateLookup.cs
Normal file
28
PartSource.Data/Nexpart/PartTypesValidateLookup.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypesValidateLookup
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartTypesValidateLookup
|
||||
{
|
||||
public PartTypesValidateLookup()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "PartType", Order = 2)]
|
||||
public PartType[] PartTypes { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public VehicleIdentifier VehicleIdentifier { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/PartTypesValidateLookupResponse.cs
Normal file
21
PartSource.Data/Nexpart/PartTypesValidateLookupResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PartTypesValidateLookupResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class PartTypesValidateLookupResponse : IResponseElement<PartTypes>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "PartTypes")]
|
||||
public PartTypes ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/PrimaryImg.cs
Normal file
17
PartSource.Data/Nexpart/PrimaryImg.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.PrimaryImg
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class PrimaryImg
|
||||
{
|
||||
[XmlElement]
|
||||
public string ImgUrl { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/Region.cs
Normal file
14
PartSource.Data/Nexpart/Region.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Region
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/RegionId.cs
Normal file
14
PartSource.Data/Nexpart/RegionId.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class RegionId
|
||||
{
|
||||
[XmlText]
|
||||
public int Value { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/ResultOption.cs
Normal file
14
PartSource.Data/Nexpart/ResultOption.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class ResultOption
|
||||
{
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
25
PartSource.Data/Nexpart/SmartPageDataSearch.cs
Normal file
25
PartSource.Data/Nexpart/SmartPageDataSearch.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.SmartPageDataSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class SmartPageDataSearch
|
||||
{
|
||||
public SmartPageDataSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Item", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 2)]
|
||||
public Item[] Items { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/SmartPageDataSearchResponse.cs
Normal file
21
PartSource.Data/Nexpart/SmartPageDataSearchResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.SmartPageDataSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class SmartPageDataSearchResponse : IResponseElement<Items>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Items")]
|
||||
public Items ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/SubModel.cs
Normal file
20
PartSource.Data/Nexpart/SubModel.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Item
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class SubModel
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string Id { get; set; }
|
||||
|
||||
[XmlText]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
18
PartSource.Data/Nexpart/SubModelSearchResponse.cs
Normal file
18
PartSource.Data/Nexpart/SubModelSearchResponse.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class SubModelSearchResponse : IResponseElement<SubModels>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "SubModels")]
|
||||
public SubModels ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/SubModels.cs
Normal file
14
PartSource.Data/Nexpart/SubModels.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class SubModels
|
||||
{
|
||||
[XmlElement(ElementName = "SubModel", Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21", Order = 1)]
|
||||
public SubModel[] SubModel { get; set; }
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Nexpart/SubModelsSearch.cs
Normal file
29
PartSource.Data/Nexpart/SubModelsSearch.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class SubModelSearch
|
||||
{
|
||||
public SubModelSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
RegionId = 2;
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public int Year { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public int MakeId { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public int ModelId { get; set; }
|
||||
|
||||
[XmlElement(Order = 5)]
|
||||
public int RegionId { get; set; }
|
||||
}
|
||||
}
|
||||
38
PartSource.Data/Nexpart/VehicleDetail.cs
Normal file
38
PartSource.Data/Nexpart/VehicleDetail.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleDetail
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleDetail
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int BaseVehicleId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int WHIEngineId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string WHIEngineDesc { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int EngineConfigId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string Description { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int VehicleId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int VehicleToEngineConfigId { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public BaseVehicle BaseVehicle { get; set; }
|
||||
}
|
||||
}
|
||||
38
PartSource.Data/Nexpart/VehicleIdSearch.cs
Normal file
38
PartSource.Data/Nexpart/VehicleIdSearch.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleIdSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleIdSearch
|
||||
{
|
||||
public VehicleIdSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
RegionId = new RegionId
|
||||
{
|
||||
Value = 2
|
||||
};
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public VehicleIdentifier VehicleIdentifier { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public Criterion[] Criterion { get; set; }
|
||||
|
||||
[XmlElement(Order = 4)]
|
||||
public RegionId RegionId { get; set; }
|
||||
|
||||
[XmlElement(Order = 5)]
|
||||
public ResultOption[] ResultOption { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/VehicleIdSearchResponse.cs
Normal file
21
PartSource.Data/Nexpart/VehicleIdSearchResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleIdSearchResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleIdSearchResponse : IResponseElement<VehicleDetail>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "VehicleDetail")]
|
||||
public VehicleDetail ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
30
PartSource.Data/Nexpart/VehicleIdentifier.cs
Normal file
30
PartSource.Data/Nexpart/VehicleIdentifier.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleIdentifier
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleIdentifier
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public int BaseVehicleId { get; set; }
|
||||
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public int EngineConfigId { get; set; }
|
||||
|
||||
public bool ShouldSerializeBaseVehicleId()
|
||||
{
|
||||
return BaseVehicleId != 0;
|
||||
}
|
||||
|
||||
public bool ShouldSerializeEngineConfigId()
|
||||
{
|
||||
return EngineConfigId != 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/VehicleType.cs
Normal file
20
PartSource.Data/Nexpart/VehicleType.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleType
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class VehicleType
|
||||
{
|
||||
[XmlText]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Data/Nexpart/VehicleTypes.cs
Normal file
17
PartSource.Data/Nexpart/VehicleTypes.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleTypes
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleTypes
|
||||
{
|
||||
[XmlElement(ElementName = "VehicleType", Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21", Order = 1)]
|
||||
public PartSource.Data.Nexpart.VehicleType[] VehicleType { get; set; }
|
||||
}
|
||||
}
|
||||
22
PartSource.Data/Nexpart/VehicleTypesGet.cs
Normal file
22
PartSource.Data/Nexpart/VehicleTypesGet.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleTypesGet
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleTypesGet
|
||||
{
|
||||
public VehicleTypesGet()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Nexpart/VehicleTypesGetResponse.cs
Normal file
21
PartSource.Data/Nexpart/VehicleTypesGetResponse.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.VehicleTypesGetResponse
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class VehicleTypesGetResponse : IResponseElement<VehicleTypes>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "VehicleTypes")]
|
||||
public VehicleTypes ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Nexpart/WHIEngine.cs
Normal file
14
PartSource.Data/Nexpart/WHIEngine.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class WHIEngine
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "Desc")]
|
||||
public string Description{ get; set; }
|
||||
}
|
||||
}
|
||||
32
PartSource.Data/Nexpart/WHIEngineSearch.cs
Normal file
32
PartSource.Data/Nexpart/WHIEngineSearch.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class WHIEngineSearch
|
||||
{
|
||||
public WHIEngineSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
RegionId = new RegionId[]
|
||||
{
|
||||
new RegionId
|
||||
{
|
||||
Value = 2
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
[XmlElement(Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(Order = 2)]
|
||||
public VehicleIdentifier VehicleIdentifier { get; set; }
|
||||
|
||||
[XmlElement(Order = 3)]
|
||||
public RegionId[] RegionId { get; set; }
|
||||
}
|
||||
}
|
||||
18
PartSource.Data/Nexpart/WHIEngineSearchResponse.cs
Normal file
18
PartSource.Data/Nexpart/WHIEngineSearchResponse.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using PartSource.Data.Nexpart.Interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class WHIEngineSearchResponse : IResponseElement<WHIEngines>
|
||||
{
|
||||
[XmlElement]
|
||||
public PSResponseHeader PSResponseHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "WHIEngines")]
|
||||
public WHIEngines ResponseBody { get; set; }
|
||||
}
|
||||
}
|
||||
11
PartSource.Data/Nexpart/WHIEngines.cs
Normal file
11
PartSource.Data/Nexpart/WHIEngines.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class WHIEngines
|
||||
{
|
||||
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public WHIEngine[] WHIEngine;
|
||||
}
|
||||
}
|
||||
20
PartSource.Data/Nexpart/Years.cs
Normal file
20
PartSource.Data/Nexpart/Years.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.Years
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class Years
|
||||
{
|
||||
[XmlAttribute(AttributeName = "to")]
|
||||
public int To { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "from")]
|
||||
public int From { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user