diff --git a/Acumatica REST API Client.sln b/Acumatica REST API Client.sln index c072cba1..56ad56de 100644 --- a/Acumatica REST API Client.sln +++ b/Acumatica REST API Client.sln @@ -1,14 +1,10 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29503.13 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Acumatica REST API Example Console Application", "Acumatica REST API Console Application\Acumatica REST API Example Console Application.csproj", "{201508E8-B057-4EFB-AD9D-74C777339C42}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Acumatica.RESTClient", "Acumatica.RESTClient\Acumatica.RESTClient.csproj", "{25008D3F-3D78-4BB9-B14B-0A792AE97892}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SOAPLikeWrapperForREST", "SOAPLikeWrapperForREST\SOAPLikeWrapperForREST.csproj", "{99541823-473A-46E8-AEC0-CE6250F00FE8}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Endpoints", "Endpoints", "{F0B2BD45-79AE-43AF-B737-3018CD95C6E3}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Acumatica.DeviceHub_19.200.001", "Acumatica.DeviceHub_19.200.001\Acumatica.DeviceHub_19.200.001.csproj", "{638D4F3F-4496-44DC-8BAA-6C0F05516A22}" @@ -33,18 +29,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {201508E8-B057-4EFB-AD9D-74C777339C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {201508E8-B057-4EFB-AD9D-74C777339C42}.Debug|Any CPU.Build.0 = Debug|Any CPU - {201508E8-B057-4EFB-AD9D-74C777339C42}.Release|Any CPU.ActiveCfg = Release|Any CPU - {201508E8-B057-4EFB-AD9D-74C777339C42}.Release|Any CPU.Build.0 = Release|Any CPU {25008D3F-3D78-4BB9-B14B-0A792AE97892}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {25008D3F-3D78-4BB9-B14B-0A792AE97892}.Debug|Any CPU.Build.0 = Debug|Any CPU {25008D3F-3D78-4BB9-B14B-0A792AE97892}.Release|Any CPU.ActiveCfg = Release|Any CPU {25008D3F-3D78-4BB9-B14B-0A792AE97892}.Release|Any CPU.Build.0 = Release|Any CPU - {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.Build.0 = Release|Any CPU {638D4F3F-4496-44DC-8BAA-6C0F05516A22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {638D4F3F-4496-44DC-8BAA-6C0F05516A22}.Debug|Any CPU.Build.0 = Debug|Any CPU {638D4F3F-4496-44DC-8BAA-6C0F05516A22}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/Acumatica REST API Console Application/Acumatica REST API Example Console Application.csproj b/Acumatica REST API Console Application/Acumatica REST API Example Console Application.csproj index 7ad3931d..dfbf99a8 100644 --- a/Acumatica REST API Console Application/Acumatica REST API Example Console Application.csproj +++ b/Acumatica REST API Console Application/Acumatica REST API Example Console Application.csproj @@ -33,10 +33,51 @@ 4 - + + ..\packages\Acumatica.RESTClient.1.1.0\lib\net48\Acumatica.RESTClient.dll + + + ..\packages\DefaultEndpoint_20.200.001.1.0.0\lib\net48\DefaultEndpoint_20.200.001.dll + + + ..\packages\JsonSubTypes.1.8.0\lib\net47\JsonSubTypes.dll + + + ..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll + + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + ..\packages\RestSharp.107.1.1\lib\netstandard2.0\RestSharp.dll + + + ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + - + + ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll + + + + ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + + ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll + + + ..\packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + + ..\packages\System.Text.Json.5.0.0\lib\net461\System.Text.Json.dll + + + ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll + + + ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll + @@ -53,20 +94,9 @@ + - - {b26a386b-f5da-4679-acba-1541251b696b} - Acumatica.Default_18.200.001 - - - {cf6f7377-7a11-4d88-ad4d-6440e6994826} - Acumatica.Default_20.200.001 - - - {25008d3f-3d78-4bb9-b14b-0a792ae97892} - Acumatica.RESTClient - {99541823-473a-46e8-aec0-ce6250f00fe8} SOAPLikeWrapperForREST diff --git a/Acumatica REST API Console Application/App.config b/Acumatica REST API Console Application/App.config index dc4d0406..8e8a0951 100644 --- a/Acumatica REST API Console Application/App.config +++ b/Acumatica REST API Console Application/App.config @@ -9,6 +9,10 @@ + + + + diff --git a/Acumatica REST API Console Application/Program.cs b/Acumatica REST API Console Application/Program.cs index 7ccba5ed..37205092 100644 --- a/Acumatica REST API Console Application/Program.cs +++ b/Acumatica REST API Console Application/Program.cs @@ -1,6 +1,6 @@ using Acumatica.Auth.Api; using Acumatica.Auth.Model; -using Acumatica.Default_18_200_001.Api; +using Acumatica.Default_20_200_001.Api; using Acumatica.RESTClient.Client; using System; using System.Collections.Generic; diff --git a/Acumatica REST API Console Application/RESTExample.cs b/Acumatica REST API Console Application/RESTExample.cs index 4334d998..6867a558 100644 --- a/Acumatica REST API Console Application/RESTExample.cs +++ b/Acumatica REST API Console Application/RESTExample.cs @@ -1,7 +1,7 @@ using Acumatica.Auth.Api; using Acumatica.Auth.Model; -using Acumatica.Default_18_200_001.Api; -using Acumatica.Default_18_200_001.Model; +using Acumatica.Default_20_200_001.Api; +using Acumatica.Default_20_200_001.Model; using Acumatica.RESTClient.Client; using RestSharp; using System; diff --git a/Acumatica REST API Console Application/SOAPLikeExample.cs b/Acumatica REST API Console Application/SOAPLikeExample.cs index 2facd2ab..7fce4596 100644 --- a/Acumatica REST API Console Application/SOAPLikeExample.cs +++ b/Acumatica REST API Console Application/SOAPLikeExample.cs @@ -1,4 +1,4 @@ -using Acumatica.Default_18_200_001.Model; +using Acumatica.Default_20_200_001.Model; using SOAPLikeWrapperForREST; using System; @@ -8,7 +8,7 @@ public class SOAPLikeExample { public static void ExampleMethod(string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) { - var restClient = new SOAPLikeClient(siteURL, "/Default/18.200.001"); + var restClient = new SOAPLikeClient(siteURL, "/Default/20.200.001"); try { diff --git a/Acumatica REST API Console Application/packages.config b/Acumatica REST API Console Application/packages.config new file mode 100644 index 00000000..2eaa873e --- /dev/null +++ b/Acumatica REST API Console Application/packages.config @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Example Console Application.sln b/Example Console Application.sln new file mode 100644 index 00000000..c62d1687 --- /dev/null +++ b/Example Console Application.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Acumatica REST API Example Console Application", "Acumatica REST API Console Application\Acumatica REST API Example Console Application.csproj", "{201508E8-B057-4EFB-AD9D-74C777339C42}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SOAPLikeWrapperForREST", "SOAPLikeWrapperForREST\SOAPLikeWrapperForREST.csproj", "{99541823-473A-46E8-AEC0-CE6250F00FE8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {201508E8-B057-4EFB-AD9D-74C777339C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {201508E8-B057-4EFB-AD9D-74C777339C42}.Debug|Any CPU.Build.0 = Debug|Any CPU + {201508E8-B057-4EFB-AD9D-74C777339C42}.Release|Any CPU.ActiveCfg = Release|Any CPU + {201508E8-B057-4EFB-AD9D-74C777339C42}.Release|Any CPU.Build.0 = Release|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DA26CA7D-E30F-41BF-A06B-44407CC5F0F6} + EndGlobalSection +EndGlobal diff --git a/SOAPLikeWrapperForREST.sln b/SOAPLikeWrapperForREST.sln new file mode 100644 index 00000000..c607a279 --- /dev/null +++ b/SOAPLikeWrapperForREST.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SOAPLikeWrapperForREST", "SOAPLikeWrapperForREST\SOAPLikeWrapperForREST.csproj", "{99541823-473A-46E8-AEC0-CE6250F00FE8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {99541823-473A-46E8-AEC0-CE6250F00FE8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2F920B22-A300-4B3C-836F-F7D28D6906E8} + EndGlobalSection +EndGlobal