itwo40.sdk
1.0.0
dotnet add package itwo40.sdk --version 1.0.0
NuGet\Install-Package itwo40.sdk -Version 1.0.0
<PackageReference Include="itwo40.sdk" Version="1.0.0" />
paket add itwo40.sdk --version 1.0.0
#r "nuget: itwo40.sdk, 1.0.0"
// Install itwo40.sdk as a Cake Addin
#addin nuget:?package=itwo40.sdk&version=1.0.0
// Install itwo40.sdk as a Cake Tool
#tool nuget:?package=itwo40.sdk&version=1.0.0
MTWOPaaS .NET SDK
If you want to access our APIs MTWOPaaS .NET SDK can make it a lot easier. Our .NET SDK includes ready-made data structures and takes care of all the gritty, low-level HTTP intricacies for you.
Installation
NuGet
The easiest way to install this SDK is by using NuGet. Visual Studio have NuGet plugins, but you can also run the following command in the Package Manager Console:
PM> Install-Package itwo40.sdk -Version 1.0.0
Or you can run this command in the command line:
nuget install itwo40.sdk
Getting Started
Please follow the above installation instruction and execute the following C# code:
Configuration
string Context = "YourClientContext";
string BasePath = "YourBasePath";
string result = new SetConfig().SetConfiguration(BasePath, "YourUserName", "YourPassword", Context);
Implementation
BasicspublicapivApi basicspublicapivApi = new BasicspublicapivApi();
// Get Method : /basics/publicapi/address/2.0
int? skip = 0;
int? top = 10;
string select = null;
string orderBy = null;
string filter = null;
List<AddressInfoResponse> addressInfo = new List<AddressInfoResponse>();
addressInfo = basicspublicapivApi.GetBasicsPublicapiAddress20(skip, top, select, orderBy, filter);
// POST Method : / basics/publicapi/address/2.0
AddressInfoRequest addressInfoRequest = new AddressInfoRequest();
addressInfoRequest.CountryId = 56;
addressInfoRequest.AddressModified = false;
AddressInfoResponse addressInfoResponse = new AddressInfoResponse();
addressInfoResponse = basicspublicapivApi.PostBasicsPublicapiAddress20(addressInfoRequest);
// DELETE Method : /basics/publicapi/address/2.0?id={id}
int? id = 1025776;
string status = basicspublicapivApi.DeleteBasicsPublicapiAddress20(id);
// PATCH : /basics/publicapi/address/2.0/{id}
int? id = 818;
AddressInfoRequest addressInfoRequest = new AddressInfoRequest();
////Do use same Object data for second call
addressInfoRequest.CountryId = 56;
addressInfoRequest.AddressModified = false;
addressInfoRequest.Version = 4;
AddressInfoResponse addressinforesponse = new AddressInfoResponse();
addressinforesponse = basicspublicapivApi.PatchBasicsPublicapiAddress20id(id, addressInfoRequest);
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
Summary of changes made in this release of the package.