DHL.MyDHL_API.RESTLibrary
1.5.0-rc
See the version list below for details.
dotnet add package DHL.MyDHL_API.RESTLibrary --version 1.5.0-rc
NuGet\Install-Package DHL.MyDHL_API.RESTLibrary -Version 1.5.0-rc
<PackageReference Include="DHL.MyDHL_API.RESTLibrary" Version="1.5.0-rc" />
paket add DHL.MyDHL_API.RESTLibrary --version 1.5.0-rc
#r "nuget: DHL.MyDHL_API.RESTLibrary, 1.5.0-rc"
// 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 | Versions 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. |
-
.NETFramework 4.6.1
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 12.0.3)
- System.ComponentModel.Annotations (>= 4.7.0)
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 12.0.3)
- System.ComponentModel.Annotations (>= 4.7.0)
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.