array(1) {
["accessTokenResponse"]=>
array(5) {
["token"]=>
string(32) "38aa463223cf4d53afc764bde2eccbce"
["token_type"]=>
string(6) "Bearer"
["expires_in_seconds"]=>
string(5) "79343"
["client_id"]=>
string(16) "LTExMTgwNTI4MTY="
["responseStatus"]=>
array(3) {
["code"]=>
string(6) "100000"
["message"]=>
string(40) "Service operation completed successfully"
["messageDetails"]=>
string(22) "Access token assigned."
}
}
}
38aa463223cf4d53afc764bde2eccbce
array(1) {
["labelRequest"]=>
array(2) {
["hdr"]=>
array(5) {
["messageType"]=>
string(5) "LABEL"
["messageDateTime"]=>
string(19) "18-04-2025 09:03:01"
["accessToken"]=>
string(32) "38aa463223cf4d53afc764bde2eccbce"
["messageVersion"]=>
string(3) "1.4"
["messageLanguage"]=>
string(2) "en"
}
["bd"]=>
array(7) {
["pickupAccountId"]=>
string(10) "5264574522"
["soldToAccountId"]=>
string(10) "5264574522"
["handoverMethod"]=>
int(2)
["pickupDateTime"]=>
string(31) "2016-01-13T16 =>20 =>27+11 =>20"
["pickupAddress"]=>
array(10) {
["name"]=>
string(6) "JEFFRY"
["address1"]=>
string(22) "DHL eCommerce Malaysia"
["address2"]=>
NULL
["city"]=>
string(7) "Puchong"
["state"]=>
string(8) "Selangor"
["district"]=>
NULL
["country"]=>
string(2) "MY"
["postCode"]=>
string(5) "47100"
["phone"]=>
string(10) "0123456789"
["email"]=>
NULL
}
["shipmentItems"]=>
array(1) {
[0]=>
array(17) {
["consigneeAddress"]=>
array(11) {
["name"]=>
string(5) "ADRIN"
["address1"]=>
string(16) "NO 3 JALAN PPU 1"
["address2"]=>
string(33) "Taman Perindustrian Puchong Utama"
["address3"]=>
NULL
["city"]=>
string(7) "Puchong"
["state"]=>
string(8) "Selangor"
["district"]=>
NULL
["country"]=>
string(2) "MY"
["postCode"]=>
string(5) "47100"
["phone"]=>
string(10) "0123456789"
["email"]=>
NULL
}
["returnAddress"]=>
array(12) {
["companyName"]=>
string(22) "DHL eCommerce Malaysia"
["name"]=>
string(6) "JEFFRY"
["address1"]=>
string(13) "DHL eCommerce"
["address2"]=>
NULL
["address3"]=>
NULL
["city"]=>
string(7) "Puchong"
["state"]=>
string(8) "Selangor"
["district"]=>
NULL
["country"]=>
string(2) "MY"
["postCode"]=>
string(5) "47100"
["phone"]=>
string(10) "0123456789"
["email"]=>
NULL
}
["shipmentID"]=>
string(15) "MYJDG7346524632"
["returnMode"]=>
string(2) "02"
["deliveryConfirmationNo"]=>
NULL
["packageDesc"]=>
string(4) "TEST"
["totalWeight"]=>
int(3000)
["totalWeightUOM"]=>
string(1) "G"
["dimensionUOM"]=>
string(2) "cm"
["productCode"]=>
string(3) "PDO"
["codValue"]=>
NULL
["insuranceValue"]=>
NULL
["totalValue"]=>
NULL
["currency"]=>
string(3) "MYR"
["remarks"]=>
NULL
["isMult"]=>
string(5) "false"
["deliveryOption"]=>
string(1) "C"
}
}
["label"]=>
array(3) {
["pageSize"]=>
string(7) "400x600"
["format"]=>
string(3) "PNG"
["layout"]=>
string(3) "1x1"
}
}
}
}
HTTP/1.1 200 OK
Cache-Control: no-store, max-age=0
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Set-Cookie: name=labelapi; Domain=dhlecommerce.asia; path=/ ; Secure; HttpOnly
Content-Control: no-cache
Content-Security-Policy: script-src 'self'
Strict-Transport-Security: max-age=63072000; includeSubDomains
x-frame-options: Deny
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Date: Fri, 18 Apr 2025 01:03:01 GMT
Content-Length: 444
Set-Cookie: TS0133cfee=010448b655fd4173085f321b535e39ba5ff6a5386a380ce5292794306f7a638fc246e21effa8f50978d90ccb928c053be5e00482c7; Path=/;
Set-Cookie: TS012cf483=010448b655bd819f98b61b0cd690fddc6c93145a90380ce5292794306f7a638fc246e21effa3a3f25cc2c287d6bccb9d60e046f4f97dc1f5fabe1769e426b793ff8f51de72; path=/ ; domain=dhlecommerce.asia
{
"labelResponse" : {
"hdr" : {
"messageType" : "LABEL",
"messageDateTime" : "2025-04-18T09:03:01+08:00",
"messageVersion" : "1.0"
},
"bd" : {
"labels" : [ ],
"responseStatus" : {
"code" : "202",
"message" : "Message validation failed.",
"messageDetails" : "Input validation failed : Unable to process label request.Please provide correct request message."
}
}
}
}
NULL