DHL.MyDHL_API.RESTLibrary 1.5.0-rc

This is a prerelease version of DHL.MyDHL_API.RESTLibrary.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DHL.MyDHL_API.RESTLibrary --version 1.5.0-rc
NuGet\Install-Package DHL.MyDHL_API.RESTLibrary -Version 1.5.0-rc
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="DHL.MyDHL_API.RESTLibrary" Version="1.5.0-rc" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DHL.MyDHL_API.RESTLibrary --version 1.5.0-rc
#r "nuget: DHL.MyDHL_API.RESTLibrary, 1.5.0-rc"
#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 DHL.MyDHL_API.RESTLibrary as a Cake Addin
#addin nuget:?package=DHL.MyDHL_API.RESTLibrary&version=1.5.0-rc&prerelease

// Install DHL.MyDHL_API.RESTLibrary as a Cake Tool
#tool nuget:?package=DHL.MyDHL_API.RESTLibrary&version=1.5.0-rc&prerelease

This project is a reference implementation of MyDHL API in .NET.

This project includes:

  • A library for RESTful MyDHL API operations
  • A test application for all MyDHL API operations

This project will include (at a later date):

  • A library for SOAP MyDHL API operations (work in progress)

Please note that this is all a work in progress. This message will be removed when all components reach v1.0 state

RESTful Library

Implemented RESTful Operations

  • Rate Query
  • Shipment Generation
  • Pickup Request
  • Cancel/Delete Pickup
  • Tracking
  • ePOD Retrieve

Pending RESTful Operations

  • Update Shipment

SOAP Library

Implemented SOAP Operations

--none--

Pending SOAP Operations

  • Rate Query
  • Shipment Generation
  • Update Shipment
  • Pickup Request
  • Cancel/Delete Pickup
  • Tracking
  • ePOD Retrieve

Usage

Requirements

To use the test app, you must create a credentials.txt and ensure that it is included while building. This file should contain your username on line 1 and your password on line 2. Do not include this in source control if you intent to publish to the Internet.

You also have the option to use the defaults.json file to set default values which all forms in the test app will use to pre-populate the form (saving your time). Do not include this in source control if you intend to publish to the Internet.

A defaults-example.json file is included for your reference.

Example

Instantiate the MyDHLAPI object

MyDHLAPI myDHLAPI = new MyDHLAPI(username, password, baseURL);

Call the appropriate method (tracking as an example)

resp = myDHLAPI.KnownAWBTracking(new List<string>() { "1234567891" }
                              , Enums.LevelOfDetails.AllCheckpoints
                              , Enums.PiecesEnabled.Both
                              , Enums.EstimatedDeliveryDateEnabled.Yes);
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 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. 
.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 was computed. 
.NET Framework net461 is compatible.  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

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.5.4 12,343 3/22/2020

Initial public release.