ePages 7.47.0 - DE_EPAGES/DHLIntraship/API/SOAP/WebServiceClient.pm

Package DE_EPAGES::DHLIntraship::API::SOAP::WebServiceClient

Description

Functions

createShipmentOrder
createTransportLayer
getManifest
getPackstationsByAddress
new
setSOAPOperationName

createShipmentOrder

execute the createShipmentOrder SOAP request throws HttpError if result is empty.

Syntax
createShipmentOrder( $ShippingLabel );
Input
$ShippingLabel (Object)
Shipping label Object
Return
$aResponse (refarray)
Simplified response array

createTransportLayer

Creates Transport Layer

Syntax
createTransportLayer( );
Return
$TransportLayer (XML::Compile::Transport::SOAPHTTP)
Transport Layer

getManifest

Retrieve manifest report for an specified date

Syntax
getManifest( $hInputParameters );
Input
$hInputParameters (ref.hash)
hash with credentials and date
Return
$aResponse (refarray)
Simplified response array

getPackstationsByAddress

Retrieve the list of packstations from DHL Intraship

Syntax
getPackstationsByAddress( $ShippingFulfillmentMethod );
Input
$ShippingFulfillmentMethod (object)
ShipingFulfillmentMethod object
Return
$aPackstations (refarray)
List of packstations

new

constructor

Syntax
new($Builder, $Parser, $IsTest, $hLoginData);
Input
$Builder (String)
Builder package
$Parser (String)
Parser package
$IsTest (boolean)
Whether is test or not
$hLoginData (hash)
Login data
Return
$self (object)
self

setSOAPOperationName

sets the SOAP operation name.

Syntax
setSOAPOperationName('createShipmentOrder');
Input
$Input1 (String)
Name of the SOAP operation