Thank you very much for your detailed reply and help. The links are very useful.
Basically I'm trying to automate a shipping process. Currently simple address labels are printed from an existing web application for each order which needs to be shipped. After this, each shipment is entered manually on DHL's portal to request a shipment, book a collection etc. When the simple address label is printed I would like to send the data automatically to DHL, request the shipment, book the collection and print out the DHL label.
Ideally I would like to display the shipment details on a validation screen before the shipment request is sent to DHL.
I'm able to connect to DHL's API test service via the Postman application. I have a Postman JSON collection file which contains sample requests for all of the DHL services and I was able to get a response form the server.
If you could advise how to write some of these sample requests in Perl as a first step that would be greatly appreciated.
Thank you again for your help.
Update: I also have the WSDL files for the API services such as address validation, request pickup etc. I was wondering if I could use these with a module such as XML::Compile::WSDL11?
Update2: I also have the open API specifications in YAML format. I was wondering if I could use this with YAML::XS?
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.