PxWeb.Api2.Server.Models 2.0.0-beta.11

This is a prerelease version of PxWeb.Api2.Server.Models.
dotnet add package PxWeb.Api2.Server.Models --version 2.0.0-beta.11                
NuGet\Install-Package PxWeb.Api2.Server.Models -Version 2.0.0-beta.11                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PxWeb.Api2.Server.Models" Version="2.0.0-beta.11" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PxWeb.Api2.Server.Models --version 2.0.0-beta.11                
#r "nuget: PxWeb.Api2.Server.Models, 2.0.0-beta.11"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PxWeb.Api2.Server.Models as a Cake Addin
#addin nuget:?package=PxWeb.Api2.Server.Models&version=2.0.0-beta.11&prerelease

// Install PxWeb.Api2.Server.Models as a Cake Tool
#tool nuget:?package=PxWeb.Api2.Server.Models&version=2.0.0-beta.11&prerelease                

PxApiSpecs

https://petstore.swagger.io/?url=https://raw.githubusercontent.com/PxTools/PxApiSpecs/master/PxAPI-2.yml

Documentation for the PxApi

Updating PxApi-2.yml

When creating a PR for updatedating PxAPI-2.yml please use the following command to also include changes in generated server code.

docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v7.11.0  generate -i /local/PxAPI-2.yml -g aspnetcore -c /local/aspnetcore-generator-config.yml -o /local

Replace ${PWD} with $(pwd) when running on Linux

PxWeb.Api2.Server - ASP.NET Core 8.0 Server

This api lets you do 2 things; Find a table(Navigation) and use a table (Table).

Table below is added to show how tables can be described in yml.

Table contains status code this API may return

Status code Description Reason
200 Success The endpoint has delivered response for the request
400 Bad request If the request is not valid
403 Forbidden number of cells exceed the API limit
404 Not found If the URL in request does not exist
429 Too many request Requests exceed the API time limit. Large queries should be run in sequence
50X Internal Server Error The service might be down

Upgrade NuGet Packages

NuGet packages get frequently updated.

To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.

Install dotnet-outdated tool:

dotnet tool install --global dotnet-outdated-tool

Upgrade only to new minor versions of packages

dotnet outdated --upgrade --version-lock Major

Upgrade to all new versions of packages (more likely to include breaking API changes)

dotnet outdated --upgrade

Run

Linux/OS X:

sh build.sh

Windows:

build.bat
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PxWeb.Api2.Server.Models:

Package Downloads
PxWeb.Api2.Server

Server library for PxWeb API 2.0

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-beta.11 43 2/13/2025
2.0.0-beta.10 154 2/11/2025
2.0.0-beta.9 98 2/11/2025
2.0.0-beta.8 254 2/3/2025
2.0.0-beta.7 493 1/13/2025
2.0.0-beta.6 48 1/13/2025
2.0.0-beta.5 1,600 11/12/2024
2.0.0-beta.4 472 11/11/2024
2.0.0-beta.3 754 10/15/2024
2.0.0-beta.2 1,599 7/11/2024
2.0.0-beta.1 56 6/24/2024
0.0.2-alpha.0.44 1,183 6/4/2024