forked from Acumatica/AcumaticaRESTAPIClientForCSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dnaumov
committed
Feb 7, 2022
1 parent
f19b078
commit 99209f6
Showing
11 changed files
with
2,258 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Acumatica.ISVCB_21.200.001/Acumatica.ISVCB_21.200.001.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | ||
</ItemGroup> <ItemGroup> | ||
<ProjectReference Include = "..\Acumatica.RESTClient\Acumatica.RESTClient.csproj" /> | ||
</ItemGroup > | ||
|
||
</Project > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Acumatica.RESTClient.Api; | ||
using Acumatica.RESTClient.Client; | ||
using Acumatica.RESTClient.Model; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Api | ||
{ | ||
public abstract class BaseEndpointApi<EntityType> : EntityAPI<EntityType> | ||
where EntityType : Entity | ||
{ | ||
public BaseEndpointApi(Configuration configuration) : base(configuration) | ||
{ } | ||
public override string GetEndpointPath() | ||
{ | ||
return "entity/ISVCB/21.200.001"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Acumatica.RESTClient.Api; | ||
using Acumatica.RESTClient.Client; | ||
using Acumatica.ISVCB_21_200_001.Model; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Api | ||
{ | ||
public class EducatedResourcesApi : BaseEndpointApi<EducatedResources> | ||
{ | ||
public EducatedResourcesApi(Configuration configuration) : base(configuration) | ||
{ } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Acumatica.RESTClient.Api; | ||
using Acumatica.RESTClient.Client; | ||
using Acumatica.ISVCB_21_200_001.Model; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Api | ||
{ | ||
public class ISVSolutionApi : BaseEndpointApi<ISVSolution> | ||
{ | ||
public ISVSolutionApi(Configuration configuration) : base(configuration) | ||
{ } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using Acumatica.RESTClient.Model; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Model | ||
{ | ||
[DataContract] | ||
public class Customers : Entity_v4 | ||
{ | ||
|
||
[DataMember(Name="InstalledAcumaticaVersion", EmitDefaultValue=false)] | ||
public StringValue InstalledAcumaticaVersion { get; set; } | ||
|
||
[DataMember(Name="PartnerAccountName", EmitDefaultValue=false)] | ||
public StringValue PartnerAccountName { get; set; } | ||
|
||
[DataMember(Name="ContractID", EmitDefaultValue=false)] | ||
public StringValue ContractID { get; set; } | ||
|
||
[DataMember(Name="Customer", EmitDefaultValue=false)] | ||
public StringValue Customer { get; set; } | ||
|
||
[DataMember(Name="DateLiveISVSolution", EmitDefaultValue=false)] | ||
public DateTimeValue DateLiveISVSolution { get; set; } | ||
|
||
[DataMember(Name="CustomerName", EmitDefaultValue=false)] | ||
public StringValue CustomerName { get; set; } | ||
|
||
[DataMember(Name="InstalledISVVersion", EmitDefaultValue=false)] | ||
public StringValue InstalledISVVersion { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using Acumatica.RESTClient.Model; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Model | ||
{ | ||
[DataContract] | ||
public class EducatedResources : Entity_v4 | ||
{ | ||
|
||
[DataMember(Name="AccountID", EmitDefaultValue=false)] | ||
public IntValue AccountID { get; set; } | ||
|
||
[DataMember(Name="AccountID_2", EmitDefaultValue=false)] | ||
public IntValue AccountID_2 { get; set; } | ||
|
||
[DataMember(Name="AccountID_3", EmitDefaultValue=false)] | ||
public IntValue AccountID_3 { get; set; } | ||
|
||
[DataMember(Name="Type", EmitDefaultValue=false)] | ||
public StringValue Type { get; set; } | ||
|
||
[DataMember(Name="Type_2", EmitDefaultValue=false)] | ||
public StringValue Type_2 { get; set; } | ||
|
||
[DataMember(Name="Class", EmitDefaultValue=false)] | ||
public StringValue Class { get; set; } | ||
|
||
[DataMember(Name="Class_2", EmitDefaultValue=false)] | ||
public StringValue Class_2 { get; set; } | ||
|
||
[DataMember(Name="Class_3", EmitDefaultValue=false)] | ||
public StringValue Class_3 { get; set; } | ||
|
||
[DataMember(Name="ContactID", EmitDefaultValue=false)] | ||
public IntValue ContactID { get; set; } | ||
|
||
[DataMember(Name="EducatedResourcesDetails", EmitDefaultValue=false)] | ||
public List<EducatedResourcesDetail> EducatedResourcesDetails { get; set; } | ||
|
||
} | ||
} |
138 changes: 138 additions & 0 deletions
138
Acumatica.ISVCB_21.200.001/Model/EducatedResourcesDetail.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
using Acumatica.RESTClient.Model; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Model | ||
{ | ||
[DataContract] | ||
public class EducatedResourcesDetail : Entity_v4 | ||
{ | ||
|
||
[DataMember(Name="Geography", EmitDefaultValue=false)] | ||
public StringValue Geography { get; set; } | ||
|
||
[DataMember(Name="AccountID", EmitDefaultValue=false)] | ||
public StringValue AccountID { get; set; } | ||
|
||
[DataMember(Name="AccountName", EmitDefaultValue=false)] | ||
public StringValue AccountName { get; set; } | ||
|
||
[DataMember(Name="StageID", EmitDefaultValue=false)] | ||
public StringValue StageID { get; set; } | ||
|
||
[DataMember(Name="StageName", EmitDefaultValue=false)] | ||
public StringValue StageName { get; set; } | ||
|
||
[DataMember(Name="StageStatus", EmitDefaultValue=false)] | ||
public StringValue StageStatus { get; set; } | ||
|
||
[DataMember(Name="ContactID", EmitDefaultValue=false)] | ||
public IntValue ContactID { get; set; } | ||
|
||
[DataMember(Name="Contact", EmitDefaultValue=false)] | ||
public StringValue Contact { get; set; } | ||
|
||
[DataMember(Name="FirstName", EmitDefaultValue=false)] | ||
public StringValue FirstName { get; set; } | ||
|
||
[DataMember(Name="LastName", EmitDefaultValue=false)] | ||
public StringValue LastName { get; set; } | ||
|
||
[DataMember(Name="BadgeID", EmitDefaultValue=false)] | ||
public StringValue BadgeID { get; set; } | ||
|
||
[DataMember(Name="BadgeName", EmitDefaultValue=false)] | ||
public StringValue BadgeName { get; set; } | ||
|
||
[DataMember(Name="BadgeStatus", EmitDefaultValue=false)] | ||
public StringValue BadgeStatus { get; set; } | ||
|
||
[DataMember(Name="BadgeRenewal", EmitDefaultValue=false)] | ||
public DateTimeValue BadgeRenewal { get; set; } | ||
|
||
[DataMember(Name="BadgeExpiration", EmitDefaultValue=false)] | ||
public DateTimeValue BadgeExpiration { get; set; } | ||
|
||
[DataMember(Name="AddressLine1", EmitDefaultValue=false)] | ||
public StringValue AddressLine1 { get; set; } | ||
|
||
[DataMember(Name="AddressLine2", EmitDefaultValue=false)] | ||
public StringValue AddressLine2 { get; set; } | ||
|
||
[DataMember(Name="AddressLine3", EmitDefaultValue=false)] | ||
public StringValue AddressLine3 { get; set; } | ||
|
||
[DataMember(Name="City", EmitDefaultValue=false)] | ||
public StringValue City { get; set; } | ||
|
||
[DataMember(Name="State", EmitDefaultValue=false)] | ||
public StringValue State { get; set; } | ||
|
||
[DataMember(Name="StateName", EmitDefaultValue=false)] | ||
public StringValue StateName { get; set; } | ||
|
||
[DataMember(Name="PostalCode", EmitDefaultValue=false)] | ||
public StringValue PostalCode { get; set; } | ||
|
||
[DataMember(Name="Country", EmitDefaultValue=false)] | ||
public StringValue Country { get; set; } | ||
|
||
[DataMember(Name="CountryName", EmitDefaultValue=false)] | ||
public StringValue CountryName { get; set; } | ||
|
||
[DataMember(Name="Email", EmitDefaultValue=false)] | ||
public StringValue Email { get; set; } | ||
|
||
[DataMember(Name="Phone1", EmitDefaultValue=false)] | ||
public StringValue Phone1 { get; set; } | ||
|
||
[DataMember(Name="ContractTemplate", EmitDefaultValue=false)] | ||
public StringValue ContractTemplate { get; set; } | ||
|
||
[DataMember(Name="Class", EmitDefaultValue=false)] | ||
public StringValue Class { get; set; } | ||
|
||
[DataMember(Name="Module", EmitDefaultValue=false)] | ||
public StringValue Module { get; set; } | ||
|
||
[DataMember(Name="ContactwithBadge", EmitDefaultValue=false)] | ||
public StringValue ContactwithBadge { get; set; } | ||
|
||
[DataMember(Name="ContactStatus", EmitDefaultValue=false)] | ||
public BooleanValue ContactStatus { get; set; } | ||
|
||
[DataMember(Name="UserLogin", EmitDefaultValue=false)] | ||
public StringValue UserLogin { get; set; } | ||
|
||
[DataMember(Name="UserType", EmitDefaultValue=false)] | ||
public StringValue UserType { get; set; } | ||
|
||
[DataMember(Name="CourseProgress", EmitDefaultValue=false)] | ||
public IntValue CourseProgress { get; set; } | ||
|
||
[DataMember(Name="RenewalProgress", EmitDefaultValue=false)] | ||
public IntValue RenewalProgress { get; set; } | ||
|
||
[DataMember(Name="AchievementDate", EmitDefaultValue=false)] | ||
public DateTimeValue AchievementDate { get; set; } | ||
|
||
[DataMember(Name="Owner", EmitDefaultValue=false)] | ||
public StringValue Owner { get; set; } | ||
|
||
[DataMember(Name="Achieved", EmitDefaultValue=false)] | ||
public BooleanValue Achieved { get; set; } | ||
|
||
[DataMember(Name="RenewalAchievement", EmitDefaultValue=false)] | ||
public IntValue RenewalAchievement { get; set; } | ||
|
||
[DataMember(Name="PrerequisiteAchievement", EmitDefaultValue=false)] | ||
public IntValue PrerequisiteAchievement { get; set; } | ||
|
||
[DataMember(Name="CourseAchievement", EmitDefaultValue=false)] | ||
public IntValue CourseAchievement { get; set; } | ||
|
||
[DataMember(Name="CreatedDate", EmitDefaultValue=false)] | ||
public DateTimeValue CreatedDate { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using Acumatica.RESTClient.Model; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Model | ||
{ | ||
[DataContract] | ||
public class ISVSolution : Entity_v4 | ||
{ | ||
|
||
[DataMember(Name="Initials", EmitDefaultValue=false)] | ||
public StringValue Initials { get; set; } | ||
|
||
[DataMember(Name="SolutionCode", EmitDefaultValue=false)] | ||
public StringValue SolutionCode { get; set; } | ||
|
||
[DataMember(Name="SolutionClass", EmitDefaultValue=false)] | ||
public StringValue SolutionClass { get; set; } | ||
|
||
[DataMember(Name="SolutionName", EmitDefaultValue=false)] | ||
public StringValue SolutionName { get; set; } | ||
|
||
[DataMember(Name="ISV", EmitDefaultValue=false)] | ||
public StringValue ISV { get; set; } | ||
|
||
[DataMember(Name="SolutionStage", EmitDefaultValue=false)] | ||
public StringValue SolutionStage { get; set; } | ||
|
||
[DataMember(Name="TAM", EmitDefaultValue=false)] | ||
public StringValue TAM { get; set; } | ||
|
||
[DataMember(Name="TAMEmployeeName", EmitDefaultValue=false)] | ||
public StringValue TAMEmployeeName { get; set; } | ||
|
||
[DataMember(Name="ISVCERTND", EmitDefaultValue=false)] | ||
public StringValue ISVCERTND { get; set; } | ||
|
||
[DataMember(Name="Customers", EmitDefaultValue=false)] | ||
public List<Customers> Customers { get; set; } | ||
|
||
[DataMember(Name="Versions", EmitDefaultValue=false)] | ||
public List<Versions> Versions { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using Acumatica.RESTClient.Model; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Acumatica.ISVCB_21_200_001.Model | ||
{ | ||
[DataContract] | ||
public class Versions : Entity_v4 | ||
{ | ||
|
||
[DataMember(Name="AcumaticaBuild", EmitDefaultValue=false)] | ||
public StringValue AcumaticaBuild { get; set; } | ||
|
||
[DataMember(Name="Certified", EmitDefaultValue=false)] | ||
public BooleanValue Certified { get; set; } | ||
|
||
[DataMember(Name="ISVVersion", EmitDefaultValue=false)] | ||
public StringValue ISVVersion { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.