Skip to content

Commit

Permalink
Add new ISV endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaumov committed Feb 7, 2022
1 parent f19b078 commit 99209f6
Show file tree
Hide file tree
Showing 11 changed files with 2,258 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Acumatica REST API Client.sln
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Acumatica.Manufacturing_20.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Acumatica.Manufacturing_21.200.001", "Acumatica.Manufacturing_21.200.001\Acumatica.Manufacturing_21.200.001.csproj", "{4EB48CBD-6535-4CAA-96EE-346B3D426D6D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Acumatica.ISVCB_21.200.001", "Acumatica.ISVCB_21.200.001\Acumatica.ISVCB_21.200.001.csproj", "{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -71,6 +73,10 @@ Global
{4EB48CBD-6535-4CAA-96EE-346B3D426D6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4EB48CBD-6535-4CAA-96EE-346B3D426D6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4EB48CBD-6535-4CAA-96EE-346B3D426D6D}.Release|Any CPU.Build.0 = Release|Any CPU
{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -84,6 +90,7 @@ Global
{6807B27E-B03A-47B3-8C9F-D9D1519CC248} = {F0B2BD45-79AE-43AF-B737-3018CD95C6E3}
{4DCA1AEA-A967-424F-89CA-9AF7AB9BA1E1} = {F0B2BD45-79AE-43AF-B737-3018CD95C6E3}
{4EB48CBD-6535-4CAA-96EE-346B3D426D6D} = {F0B2BD45-79AE-43AF-B737-3018CD95C6E3}
{9DECC2EE-7FBC-4FC2-98A7-A1CD420F0C2A} = {F0B2BD45-79AE-43AF-B737-3018CD95C6E3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A3A45447-0EDA-45D2-94CE-C3BFFBFE2717}
Expand Down
13 changes: 13 additions & 0 deletions Acumatica.ISVCB_21.200.001/Acumatica.ISVCB_21.200.001.csproj
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 >
17 changes: 17 additions & 0 deletions Acumatica.ISVCB_21.200.001/Api/BaseEndpointApi.cs
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";
}
}
}
12 changes: 12 additions & 0 deletions Acumatica.ISVCB_21.200.001/Api/EducatedResourcesApi.cs
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)
{ }
}
}
12 changes: 12 additions & 0 deletions Acumatica.ISVCB_21.200.001/Api/ISVSolutionApi.cs
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)
{ }
}
}
33 changes: 33 additions & 0 deletions Acumatica.ISVCB_21.200.001/Model/Customers.cs
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; }

}
}
42 changes: 42 additions & 0 deletions Acumatica.ISVCB_21.200.001/Model/EducatedResources.cs
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 Acumatica.ISVCB_21.200.001/Model/EducatedResourcesDetail.cs
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; }

}
}
45 changes: 45 additions & 0 deletions Acumatica.ISVCB_21.200.001/Model/ISVSolution.cs
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; }

}
}
21 changes: 21 additions & 0 deletions Acumatica.ISVCB_21.200.001/Model/Versions.cs
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; }

}
}
Loading

0 comments on commit 99209f6

Please sign in to comment.