Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to track the order information? #12

Open
Bill0826 opened this issue Jul 1, 2015 · 2 comments
Open

how to track the order information? #12

Bill0826 opened this issue Jul 1, 2015 · 2 comments

Comments

@Bill0826
Copy link

Bill0826 commented Jul 1, 2015

hello alfallouji !
when i use the DHL-API,There is no corresponding method to track the order information !
Can you give an example? thank you !

@rollingbox
Copy link

// Test a tracking request using DHL XML API
$request = new Tracking();
$request->SiteID = "";
$request->Password = "";
$request->MessageTime = gmdate('c');
$request->MessageReference = '1234567890123456789012345678901';
$request->LanguageCode = 'en';
$request->AWBNumber = "Your tracking number";
$request->LevelOfDetails = 'ALL_CHECK_POINTS';
$request->PiecesEnabled = 'S';

    $client = new WebserviceClient();
    $xml = $client->call($request);
    $result = new TrackingResponse();
    $response = $this->initXML($xml);

Here you go

@Yugandharjaiswal
Copy link

Class 'Tracking' not found

can you tell me alias name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants