bl-erp-sdk 1.0.0

dotnet add package bl-erp-sdk --version 1.0.0                
NuGet\Install-Package bl-erp-sdk -Version 1.0.0                
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="bl-erp-sdk" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add bl-erp-sdk --version 1.0.0                
#r "nuget: bl-erp-sdk, 1.0.0"                
#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 bl-erp-sdk as a Cake Addin
#addin nuget:?package=bl-erp-sdk&version=1.0.0

// Install bl-erp-sdk as a Cake Tool
#tool nuget:?package=bl-erp-sdk&version=1.0.0                

SDK for ERP API


Use the API.SetAPI method to store your credentials. Once set you can then use the GET(), POST() and PATCH() methods to call the appropriate endpoints.

The SDK uses a static API class that Can be called from anywhere. You can initialize the API by uses the bellow function:

  • If you have or know a valid Rollmaster token API.SetAPI("your_api_key", "your_rollmaster_alias", "your_token");

  • If you DO NOT have or know a valid Rollmaster token API.SetAPI("your_api_key", "your_rollmaster_alias", "", true, "your_username", "your_password");


API

  • METHOD: SetAPI
  • Arguments:
    • string _apikey : Required rollmaster api key
    • string _apialias : Required rollmaster alias
    • string _token : Required if get token is set to true. Rollmaster token.
    • bool getToken : Required if _token is passed as empty string or null
    • string _username : Required if getToken is passed as true. Rollmaster username
    • string _password : Required if getToken is passed as true. Rollmaster password for user

  • METHOD: POST
  • Arguments:
    • string _endpoint : Required rollmaster endpoint
    • string[] _params : Array of body arguments the endpoint requires. i.e. ["company=1","branch=1"]

  • METHOD: GET
  • Arguments:
    • string _endpoint : Required rollmaster endpoint
    • string[] _params : Array of query arguments the endpoint requires. i.e. ["company=1","branch=1"]

  • METHOD: PATCH
  • Arguments:
    • string _endpoint : Required rollmaster endpoint
    • string[] _params : Array of query arguments the endpoint requires. i.e. ["company=1","branch=1"]
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.0 195 4/3/2023