Chilkat Online Tools

PowerBuilder / DHL Express APIs (MyDHL API) / Retrieve available DHL Express products for a one piece Shipment

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_QueryParams
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_ProductName
string ls_ProductCode
string ls_LocalProductCode
string ls_LocalProductCountryCode
string ls_NetworkTypeCode
integer li_IsCustomerAgreement
integer li_Volumetric
integer li_Provided
string ls_UnitOfMeasurement
integer li_NextBusinessDay
string ls_LocalCutoffDateAndTime
string ls_GMTCutoffTime
string ls_PickupEarliest
string ls_PickupLatest
string ls_OriginServiceAreaCode
string ls_OriginFacilityAreaCode
integer li_PickupAdditionalDays
integer li_PickupDayOfWeek
string ls_DeliveryTypeCode
string ls_EstimatedDeliveryDateAndTime
string ls_DestinationServiceAreaCode
string ls_DestinationFacilityAreaCode
integer li_DeliveryAdditionalDays
integer li_DeliveryDayOfWeek
integer li_TotalTransitDays
integer j
integer li_Count_j
string ls_Name
string ls_ServiceCode
string ls_LocalServiceCode
string ls_TypeCode
string ls_ServiceTypeCode
integer li_IsMarketedService
integer li_IsBillingServiceIndicator
string ls_ServiceCodeRuleName
string ls_Description
integer k
integer li_Count_k
string ls_DependentServiceCode
string ls_DependencyRuleName
string ls_DependencyDescription
string ls_DependencyCondition
oleobject loo_Json1
integer li_I1
integer li_Count_i1
string ls_Value
string ls_StrVal
integer i
integer li_Count_i

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat_9_5_0.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

loo_Http.BasicAuth = 1
loo_Http.Login = "<Basic Auth Username>"
loo_Http.Password = "<Basic Auth Password>"

loo_QueryParams = create oleobject
li_rc = loo_QueryParams.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_QueryParams.UpdateString("accountNumber","Ut aliqua")
loo_QueryParams.UpdateString("originCountryCode","CZ")
loo_QueryParams.UpdateInt("originPostalCode",14800)
loo_QueryParams.UpdateString("originCityName","Prague")
loo_QueryParams.UpdateString("destinationCountryCode","CZ")
loo_QueryParams.UpdateInt("destinationPostalCode",14800)
loo_QueryParams.UpdateString("destinationCityName","Prague")
loo_QueryParams.UpdateString("weight","502356858543.692")
loo_QueryParams.UpdateString("length","1581008670.588")
loo_QueryParams.UpdateString("width","335941494.827")
loo_QueryParams.UpdateString("height","1808157249.254")
loo_QueryParams.UpdateString("plannedShippingDate","2020-02-26")
loo_QueryParams.UpdateString("isCustomsDeclarable","false")
loo_QueryParams.UpdateString("unitOfMeasurement","metric")
loo_QueryParams.UpdateString("nextBusinessDay","false")
loo_QueryParams.UpdateString("strictValidation","false")
loo_QueryParams.UpdateString("getAllValueAddedServices","false")
loo_QueryParams.UpdateString("requestEstimatedDeliveryDate","true")
loo_QueryParams.UpdateString("estimatedDeliveryDateType","QDDF")

loo_Http.SetRequestHeader("Webstore-Platform-Name","")
loo_Http.SetRequestHeader("Shipping-System-Platform-Name","")
loo_Http.SetRequestHeader("Message-Reference","d0e7832e-5c98-11ea-bc55-0242ac13")
loo_Http.SetRequestHeader("Plugin-Version","")
loo_Http.SetRequestHeader("Plugin-Name","")
loo_Http.SetRequestHeader("Shipping-System-Platform-Version","")
loo_Http.SetRequestHeader("Accept","application/json")
loo_Http.SetRequestHeader("Message-Reference-Date","Wed, 21 Oct 2015 07:28:00 GMT")
loo_Http.SetRequestHeader("Webstore-Platform-Version","")

loo_Resp = loo_Http.QuickRequestParams("GET","https://api-mock.dhl.com/mydhlapi/products",loo_QueryParams)
if loo_Http.LastMethodSuccess = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_QueryParams
    return
end if

loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")

loo_Resp.GetBodySb(loo_SbResponseBody)

loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Resp.Header
    Write-Debug "Failed."
    destroy loo_Resp
    destroy loo_Http
    destroy loo_QueryParams
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

destroy loo_Resp

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "products": [
//     {
//       "productName": "EXPRESS 12:00 DOC",
//       "productCode": "T",
//       "localProductCode": "T",
//       "localProductCountryCode": "US",
//       "networkTypeCode": "TD",
//       "isCustomerAgreement": false,
//       "weight": {
//         "volumetric": 100,
//         "provided": 50,
//         "unitOfMeasurement": "metric"
//       },
//       "breakdown": [
//         {
//           "name": "EXPRESS 12:00 DOC",
//           "serviceCode": "AB",
//           "localServiceCode": "AB",
//           "typeCode": "EXPRESS 12:00",
//           "serviceTypeCode": "XCH",
//           "isCustomerAgreement": false,
//           "isMarketedService": false,
//           "isBillingServiceIndicator": false
//         },
//         {
//           "name": "EXPRESS 12:00 DOC",
//           "serviceCode": "AB",
//           "localServiceCode": "AB",
//           "typeCode": "EXPRESS 12:00",
//           "serviceTypeCode": "XCH",
//           "isCustomerAgreement": false,
//           "isMarketedService": false,
//           "isBillingServiceIndicator": false
//         }
//       ],
//       "serviceCodeMutuallyExclusiveGroups": [
//         {
//           "serviceCodeRuleName": "Exclusive Billing Services",
//           "description": "Mutually exclusive Billing Services - shipment can contain just one of following",
//           "serviceCodes": [
//             {
//               "serviceCode": "PZ"
//             },
//             {
//               "serviceCode": "PZ"
//             }
//           ]
//         },
//         {
//           "serviceCodeRuleName": "Exclusive Billing Services",
//           "description": "Mutually exclusive Billing Services - shipment can contain just one of following",
//           "serviceCodes": [
//             {
//               "serviceCode": "PZ"
//             },
//             {
//               "serviceCode": "PZ"
//             }
//           ]
//         }
//       ],
//       "serviceCodeDependencyRuleGroups": [
//         {
//           "dependentServiceCode": "PZ",
//           "dependencyRuleGroup": [
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             },
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             }
//           ]
//         },
//         {
//           "dependentServiceCode": "PZ",
//           "dependencyRuleGroup": [
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             },
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             }
//           ]
//         }
//       ],
//       "pickupCapabilities": {
//         "nextBusinessDay": false,
//         "localCutoffDateAndTime": "2019-09-18T15:00:00",
//         "GMTCutoffTime": "16:00:00",
//         "pickupEarliest": "09:30:00",
//         "pickupLatest": "16:00:00",
//         "originServiceAreaCode": "ELA",
//         "originFacilityAreaCode": "ELA",
//         "pickupAdditionalDays": 0,
//         "pickupDayOfWeek": 3
//       },
//       "deliveryCapabilities": {
//         "deliveryTypeCode": "QDDC",
//         "estimatedDeliveryDateAndTime": "2019-09-20T12:00:00",
//         "destinationServiceAreaCode": "PRG",
//         "destinationFacilityAreaCode": "PR3",
//         "deliveryAdditionalDays": 0,
//         "deliveryDayOfWeek": 5,
//         "totalTransitDays": 2
//       }
//     },
//     {
//       "productName": "EXPRESS 12:00 DOC",
//       "productCode": "T",
//       "localProductCode": "T",
//       "localProductCountryCode": "US",
//       "networkTypeCode": "TD",
//       "isCustomerAgreement": false,
//       "weight": {
//         "volumetric": 100,
//         "provided": 50,
//         "unitOfMeasurement": "metric"
//       },
//       "breakdown": [
//         {
//           "name": "EXPRESS 12:00 DOC",
//           "serviceCode": "AB",
//           "localServiceCode": "AB",
//           "typeCode": "EXPRESS 12:00",
//           "serviceTypeCode": "XCH",
//           "isCustomerAgreement": false,
//           "isMarketedService": false,
//           "isBillingServiceIndicator": false
//         },
//         {
//           "name": "EXPRESS 12:00 DOC",
//           "serviceCode": "AB",
//           "localServiceCode": "AB",
//           "typeCode": "EXPRESS 12:00",
//           "serviceTypeCode": "XCH",
//           "isCustomerAgreement": false,
//           "isMarketedService": false,
//           "isBillingServiceIndicator": false
//         }
//       ],
//       "serviceCodeMutuallyExclusiveGroups": [
//         {
//           "serviceCodeRuleName": "Exclusive Billing Services",
//           "description": "Mutually exclusive Billing Services - shipment can contain just one of following",
//           "serviceCodes": [
//             {
//               "serviceCode": "PZ"
//             },
//             {
//               "serviceCode": "PZ"
//             }
//           ]
//         },
//         {
//           "serviceCodeRuleName": "Exclusive Billing Services",
//           "description": "Mutually exclusive Billing Services - shipment can contain just one of following",
//           "serviceCodes": [
//             {
//               "serviceCode": "PZ"
//             },
//             {
//               "serviceCode": "PZ"
//             }
//           ]
//         }
//       ],
//       "serviceCodeDependencyRuleGroups": [
//         {
//           "dependentServiceCode": "PZ",
//           "dependencyRuleGroup": [
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             },
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             }
//           ]
//         },
//         {
//           "dependentServiceCode": "PZ",
//           "dependencyRuleGroup": [
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             },
//             {
//               "dependencyRuleName": "Labelfree and PLT rule",
//               "dependencyDescription": "Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly",
//               "dependencyCondition": "Must provide the requiredServiceCode if it is allowed for the productCode",
//               "requiredServiceCodes": [
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 },
//                 {
//                   "serviceCode": {
//                     "value": "<Error: Too many levels of nesting to fake this schema>"
//                   }
//                 }
//               ]
//             }
//           ]
//         }
//       ],
//       "pickupCapabilities": {
//         "nextBusinessDay": false,
//         "localCutoffDateAndTime": "2019-09-18T15:00:00",
//         "GMTCutoffTime": "16:00:00",
//         "pickupEarliest": "09:30:00",
//         "pickupLatest": "16:00:00",
//         "originServiceAreaCode": "ELA",
//         "originFacilityAreaCode": "ELA",
//         "pickupAdditionalDays": 0,
//         "pickupDayOfWeek": 3
//       },
//       "deliveryCapabilities": {
//         "deliveryTypeCode": "QDDC",
//         "estimatedDeliveryDateAndTime": "2019-09-20T12:00:00",
//         "destinationServiceAreaCode": "PRG",
//         "destinationFacilityAreaCode": "PR3",
//         "deliveryAdditionalDays": 0,
//         "deliveryDayOfWeek": 5,
//         "totalTransitDays": 2
//       }
//     }
//   ],
//   "warnings": [
//     "Limited products capabilities",
//     "Limited products capabilities"
//   ]
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

i = 0
li_Count_i = loo_JResp.SizeOfArray("products")
do while i < li_Count_i
    loo_JResp.I = i
    ls_ProductName = loo_JResp.StringOf("products[i].productName")
    ls_ProductCode = loo_JResp.StringOf("products[i].productCode")
    ls_LocalProductCode = loo_JResp.StringOf("products[i].localProductCode")
    ls_LocalProductCountryCode = loo_JResp.StringOf("products[i].localProductCountryCode")
    ls_NetworkTypeCode = loo_JResp.StringOf("products[i].networkTypeCode")
    li_IsCustomerAgreement = loo_JResp.BoolOf("products[i].isCustomerAgreement")
    li_Volumetric = loo_JResp.IntOf("products[i].weight.volumetric")
    li_Provided = loo_JResp.IntOf("products[i].weight.provided")
    ls_UnitOfMeasurement = loo_JResp.StringOf("products[i].weight.unitOfMeasurement")
    li_NextBusinessDay = loo_JResp.BoolOf("products[i].pickupCapabilities.nextBusinessDay")
    ls_LocalCutoffDateAndTime = loo_JResp.StringOf("products[i].pickupCapabilities.localCutoffDateAndTime")
    ls_GMTCutoffTime = loo_JResp.StringOf("products[i].pickupCapabilities.GMTCutoffTime")
    ls_PickupEarliest = loo_JResp.StringOf("products[i].pickupCapabilities.pickupEarliest")
    ls_PickupLatest = loo_JResp.StringOf("products[i].pickupCapabilities.pickupLatest")
    ls_OriginServiceAreaCode = loo_JResp.StringOf("products[i].pickupCapabilities.originServiceAreaCode")
    ls_OriginFacilityAreaCode = loo_JResp.StringOf("products[i].pickupCapabilities.originFacilityAreaCode")
    li_PickupAdditionalDays = loo_JResp.IntOf("products[i].pickupCapabilities.pickupAdditionalDays")
    li_PickupDayOfWeek = loo_JResp.IntOf("products[i].pickupCapabilities.pickupDayOfWeek")
    ls_DeliveryTypeCode = loo_JResp.StringOf("products[i].deliveryCapabilities.deliveryTypeCode")
    ls_EstimatedDeliveryDateAndTime = loo_JResp.StringOf("products[i].deliveryCapabilities.estimatedDeliveryDateAndTime")
    ls_DestinationServiceAreaCode = loo_JResp.StringOf("products[i].deliveryCapabilities.destinationServiceAreaCode")
    ls_DestinationFacilityAreaCode = loo_JResp.StringOf("products[i].deliveryCapabilities.destinationFacilityAreaCode")
    li_DeliveryAdditionalDays = loo_JResp.IntOf("products[i].deliveryCapabilities.deliveryAdditionalDays")
    li_DeliveryDayOfWeek = loo_JResp.IntOf("products[i].deliveryCapabilities.deliveryDayOfWeek")
    li_TotalTransitDays = loo_JResp.IntOf("products[i].deliveryCapabilities.totalTransitDays")
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("products[i].breakdown")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Name = loo_JResp.StringOf("products[i].breakdown[j].name")
        ls_ServiceCode = loo_JResp.StringOf("products[i].breakdown[j].serviceCode")
        ls_LocalServiceCode = loo_JResp.StringOf("products[i].breakdown[j].localServiceCode")
        ls_TypeCode = loo_JResp.StringOf("products[i].breakdown[j].typeCode")
        ls_ServiceTypeCode = loo_JResp.StringOf("products[i].breakdown[j].serviceTypeCode")
        li_IsCustomerAgreement = loo_JResp.BoolOf("products[i].breakdown[j].isCustomerAgreement")
        li_IsMarketedService = loo_JResp.BoolOf("products[i].breakdown[j].isMarketedService")
        li_IsBillingServiceIndicator = loo_JResp.BoolOf("products[i].breakdown[j].isBillingServiceIndicator")
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("products[i].serviceCodeMutuallyExclusiveGroups")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_ServiceCodeRuleName = loo_JResp.StringOf("products[i].serviceCodeMutuallyExclusiveGroups[j].serviceCodeRuleName")
        ls_Description = loo_JResp.StringOf("products[i].serviceCodeMutuallyExclusiveGroups[j].description")
        k = 0
        li_Count_k = loo_JResp.SizeOfArray("products[i].serviceCodeMutuallyExclusiveGroups[j].serviceCodes")
        do while k < li_Count_k
            loo_JResp.K = k
            ls_ServiceCode = loo_JResp.StringOf("products[i].serviceCodeMutuallyExclusiveGroups[j].serviceCodes[k].serviceCode")
            k = k + 1
        loop
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("products[i].serviceCodeDependencyRuleGroups")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_DependentServiceCode = loo_JResp.StringOf("products[i].serviceCodeDependencyRuleGroups[j].dependentServiceCode")
        k = 0
        li_Count_k = loo_JResp.SizeOfArray("products[i].serviceCodeDependencyRuleGroups[j].dependencyRuleGroup")
        do while k < li_Count_k
            loo_JResp.K = k
            ls_DependencyRuleName = loo_JResp.StringOf("products[i].serviceCodeDependencyRuleGroups[j].dependencyRuleGroup[k].dependencyRuleName")
            ls_DependencyDescription = loo_JResp.StringOf("products[i].serviceCodeDependencyRuleGroups[j].dependencyRuleGroup[k].dependencyDescription")
            ls_DependencyCondition = loo_JResp.StringOf("products[i].serviceCodeDependencyRuleGroups[j].dependencyRuleGroup[k].dependencyCondition")

            loo_Json1 = loo_JResp.ObjectOf("products[i].serviceCodeDependencyRuleGroups[j].dependencyRuleGroup[k]")
            li_I1 = 0
            li_Count_i1 = loo_Json1.SizeOfArray("requiredServiceCodes")
            do while li_I1 < li_Count_i1
                loo_Json1.I = li_I1
                ls_Value = loo_Json1.StringOf("requiredServiceCodes[i].serviceCode.value")
                li_I1 = li_I1 + 1
            loop
            destroy loo_Json1
            k = k + 1
        loop
        j = j + 1
    loop
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("warnings")
do while i < li_Count_i
    loo_JResp.I = i
    ls_StrVal = loo_JResp.StringOf("warnings[i]")
    i = i + 1
loop


destroy loo_Http
destroy loo_QueryParams
destroy loo_SbResponseBody
destroy loo_JResp

Curl Command

curl -G -d "accountNumber=Ut%20aliqua"
	-d "originCountryCode=CZ"
	-d "originPostalCode=14800"
	-d "originCityName=Prague"
	-d "destinationCountryCode=CZ"
	-d "destinationPostalCode=14800"
	-d "destinationCityName=Prague"
	-d "weight=502356858543.692"
	-d "length=1581008670.588"
	-d "width=335941494.827"
	-d "height=1808157249.254"
	-d "plannedShippingDate=2020-02-26"
	-d "isCustomsDeclarable=false"
	-d "unitOfMeasurement=metric"
	-d "nextBusinessDay=false"
	-d "strictValidation=false"
	-d "getAllValueAddedServices=false"
	-d "requestEstimatedDeliveryDate=true"
	-d "estimatedDeliveryDateType=QDDF"
	-u '<Basic Auth Username>:<Basic Auth Password>'
	-H "Message-Reference: d0e7832e-5c98-11ea-bc55-0242ac13"
	-H "Message-Reference-Date: Wed, 21 Oct 2015 07:28:00 GMT"
	-H "Plugin-Name:  "
	-H "Plugin-Version:  "
	-H "Shipping-System-Platform-Name:  "
	-H "Shipping-System-Platform-Version:  "
	-H "Webstore-Platform-Name:  "
	-H "Webstore-Platform-Version:  "
	-H "Accept: application/json"
https://api-mock.dhl.com/mydhlapi/products

Postman Collection Item JSON

{
  "name": "Retrieve available DHL Express products for a one piece Shipment",
  "request": {
    "method": "GET",
    "header": [
      {
        "description": "Please provide message reference\n",
        "key": "Message-Reference",
        "value": "d0e7832e-5c98-11ea-bc55-0242ac13"
      },
      {
        "description": "Optional reference date in the  HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2",
        "key": "Message-Reference-Date",
        "value": "Wed, 21 Oct 2015 07:28:00 GMT"
      },
      {
        "description": "Please provide name of the plugin (applicable to 3PV only)\n",
        "key": "Plugin-Name",
        "value": " "
      },
      {
        "description": "Please provide version of the plugin (applicable to 3PV only)\n",
        "key": "Plugin-Version",
        "value": " "
      },
      {
        "description": "Please provide name of the shipping platform(applicable to 3PV only)\n",
        "key": "Shipping-System-Platform-Name",
        "value": " "
      },
      {
        "description": "Please provide version of the shipping platform (applicable to 3PV only)\n",
        "key": "Shipping-System-Platform-Version",
        "value": " "
      },
      {
        "description": "Please provide name of the webstore platform (applicable to 3PV only)\n",
        "key": "Webstore-Platform-Name",
        "value": " "
      },
      {
        "description": "Please provide version of the webstore platform (applicable to 3PV only)\n",
        "key": "Webstore-Platform-Version",
        "value": " "
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/products?accountNumber=Ut aliqua&originCountryCode=CZ&originPostalCode=14800&originCityName=Prague&destinationCountryCode=CZ&destinationPostalCode=14800&destinationCityName=Prague&weight=502356858543.692&length=1581008670.588&width=335941494.827&height=1808157249.254&plannedShippingDate=2020-02-26&isCustomsDeclarable=false&unitOfMeasurement=metric&nextBusinessDay=false&strictValidation=false&getAllValueAddedServices=false&requestEstimatedDeliveryDate=true&estimatedDeliveryDateType=QDDF",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "products"
      ],
      "query": [
        {
          "key": "accountNumber",
          "value": "Ut aliqua",
          "description": "(Required) DHL Express customer account number"
        },
        {
          "key": "originCountryCode",
          "value": "CZ",
          "description": "(Required) A short text string code (see values defined in ISO 3166) specifying the shipment origin country. https://gs1.org/voc/Country, Alpha-2 Code"
        },
        {
          "key": "originPostalCode",
          "value": "14800",
          "description": "Text specifying the postal code for an address. https://gs1.org/voc/postalCode"
        },
        {
          "key": "originCityName",
          "value": "Prague",
          "description": "(Required) Text specifying the city name"
        },
        {
          "key": "destinationCountryCode",
          "value": "CZ",
          "description": "(Required) A short text string code (see values defined in ISO 3166) specifying the shipment destination country. https://gs1.org/voc/Country, Alpha-2 Code"
        },
        {
          "key": "destinationPostalCode",
          "value": "14800",
          "description": "Text specifying the postal code for an address. https://gs1.org/voc/postalCode"
        },
        {
          "key": "destinationCityName",
          "value": "Prague",
          "description": "(Required) Text specifying the city name"
        },
        {
          "key": "weight",
          "value": "502356858543.692",
          "description": "(Required) Gross weight of the shipment including packaging."
        },
        {
          "key": "length",
          "value": "1581008670.588",
          "description": "(Required) Total length of the shipment including packaging."
        },
        {
          "key": "width",
          "value": "335941494.827",
          "description": "(Required) Total width of the shipment including packaging."
        },
        {
          "key": "height",
          "value": "1808157249.254",
          "description": "(Required) Total height of the shipment including packaging."
        },
        {
          "key": "plannedShippingDate",
          "value": "2020-02-26",
          "description": "(Required) Timestamp represents the date you plan to ship your prospected shipment\n"
        },
        {
          "key": "isCustomsDeclarable",
          "value": "false",
          "description": "(Required) "
        },
        {
          "key": "unitOfMeasurement",
          "value": "metric",
          "description": "(Required) The UnitOfMeasurement node conveys the unit of measurements used in the operation. This single value corresponds to the units of weight and measurement which are used throughout the message processing.\n"
        },
        {
          "key": "nextBusinessDay",
          "value": "false",
          "description": "When set to true and there are no products available for given plannedShippingDate then products available for the next possible pickup date are returned\n"
        },
        {
          "key": "strictValidation",
          "value": "false",
          "description": "If set to true, indicate strict DCT validation of address details, and validation of product and service(s) combination provided in request."
        },
        {
          "key": "getAllValueAddedServices",
          "value": "false",
          "description": "Option to return list of all value added services and its rule groups if applicable"
        },
        {
          "key": "requestEstimatedDeliveryDate",
          "value": "true",
          "description": "Option to return Estimated Delivery Date in response"
        },
        {
          "key": "estimatedDeliveryDateType",
          "value": "QDDF",
          "description": "Estimated Delivery Date Type. QDDF: is the fastest 'docs' transit time as quoted to the customer at booking or shipment creation. No custom clearance is considered. QDDC: constitutes DHL's service commitment as quoted at booking or shipment creation. QDDc builds in clearance time, and potentially other special perational non-transport component(s), when relevant. "
        }
      ]
    },
    "description": "The GET Products API will return DHL's product capabilities for a certain set of input data. \nUsing the shipper and receiver address as well as the dimension and weight of the piece belonging to a shipment, this operation returns the available products.\n"
  },
  "response": [
    {
      "name": "Products found",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          },
          {
            "description": "Please provide message reference\n",
            "key": "Message-Reference",
            "value": "d0e7832e-5c98-11ea-bc55-0242ac13"
          },
          {
            "description": "Optional reference date in the  HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2",
            "key": "Message-Reference-Date",
            "value": "Wed, 21 Oct 2015 07:28:00 GMT"
          },
          {
            "description": "Please provide name of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the shipping platform(applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the shipping platform (applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Version",
            "value": " "
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products?accountNumber=Ut aliqua&originCountryCode=CZ&originPostalCode=14800&originCityName=Prague&destinationCountryCode=CZ&destinationPostalCode=14800&destinationCityName=Prague&weight=502356858543.692&length=1581008670.588&width=335941494.827&height=1808157249.254&plannedShippingDate=2020-02-26&isCustomsDeclarable=false&unitOfMeasurement=metric&nextBusinessDay=false&strictValidation=false&getAllValueAddedServices=false&requestEstimatedDeliveryDate=true&estimatedDeliveryDateType=QDDF",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products"
          ],
          "query": [
            {
              "key": "accountNumber",
              "value": "Ut aliqua"
            },
            {
              "key": "originCountryCode",
              "value": "CZ"
            },
            {
              "key": "originPostalCode",
              "value": "14800"
            },
            {
              "key": "originCityName",
              "value": "Prague"
            },
            {
              "key": "destinationCountryCode",
              "value": "CZ"
            },
            {
              "key": "destinationPostalCode",
              "value": "14800"
            },
            {
              "key": "destinationCityName",
              "value": "Prague"
            },
            {
              "key": "weight",
              "value": "502356858543.692"
            },
            {
              "key": "length",
              "value": "1581008670.588"
            },
            {
              "key": "width",
              "value": "335941494.827"
            },
            {
              "key": "height",
              "value": "1808157249.254"
            },
            {
              "key": "plannedShippingDate",
              "value": "2020-02-26"
            },
            {
              "key": "isCustomsDeclarable",
              "value": "false"
            },
            {
              "key": "unitOfMeasurement",
              "value": "metric"
            },
            {
              "key": "nextBusinessDay",
              "value": "false"
            },
            {
              "key": "strictValidation",
              "value": "false"
            },
            {
              "key": "getAllValueAddedServices",
              "value": "false"
            },
            {
              "key": "requestEstimatedDeliveryDate",
              "value": "true"
            },
            {
              "key": "estimatedDeliveryDateType",
              "value": "QDDF"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"products\": [\n    {\n      \"productName\": \"EXPRESS 12:00 DOC\",\n      \"productCode\": \"T\",\n      \"localProductCode\": \"T\",\n      \"localProductCountryCode\": \"US\",\n      \"networkTypeCode\": \"TD\",\n      \"isCustomerAgreement\": false,\n      \"weight\": {\n        \"volumetric\": 100,\n        \"provided\": 50,\n        \"unitOfMeasurement\": \"metric\"\n      },\n      \"breakdown\": [\n        {\n          \"name\": \"EXPRESS 12:00 DOC\",\n          \"serviceCode\": \"AB\",\n          \"localServiceCode\": \"AB\",\n          \"typeCode\": \"EXPRESS 12:00\",\n          \"serviceTypeCode\": \"XCH\",\n          \"isCustomerAgreement\": false,\n          \"isMarketedService\": false,\n          \"isBillingServiceIndicator\": false\n        },\n        {\n          \"name\": \"EXPRESS 12:00 DOC\",\n          \"serviceCode\": \"AB\",\n          \"localServiceCode\": \"AB\",\n          \"typeCode\": \"EXPRESS 12:00\",\n          \"serviceTypeCode\": \"XCH\",\n          \"isCustomerAgreement\": false,\n          \"isMarketedService\": false,\n          \"isBillingServiceIndicator\": false\n        }\n      ],\n      \"serviceCodeMutuallyExclusiveGroups\": [\n        {\n          \"serviceCodeRuleName\": \"Exclusive Billing Services\",\n          \"description\": \"Mutually exclusive Billing Services - shipment can contain just one of following\",\n          \"serviceCodes\": [\n            {\n              \"serviceCode\": \"PZ\"\n            },\n            {\n              \"serviceCode\": \"PZ\"\n            }\n          ]\n        },\n        {\n          \"serviceCodeRuleName\": \"Exclusive Billing Services\",\n          \"description\": \"Mutually exclusive Billing Services - shipment can contain just one of following\",\n          \"serviceCodes\": [\n            {\n              \"serviceCode\": \"PZ\"\n            },\n            {\n              \"serviceCode\": \"PZ\"\n            }\n          ]\n        }\n      ],\n      \"serviceCodeDependencyRuleGroups\": [\n        {\n          \"dependentServiceCode\": \"PZ\",\n          \"dependencyRuleGroup\": [\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            },\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"dependentServiceCode\": \"PZ\",\n          \"dependencyRuleGroup\": [\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            },\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"pickupCapabilities\": {\n        \"nextBusinessDay\": false,\n        \"localCutoffDateAndTime\": \"2019-09-18T15:00:00\",\n        \"GMTCutoffTime\": \"16:00:00\",\n        \"pickupEarliest\": \"09:30:00\",\n        \"pickupLatest\": \"16:00:00\",\n        \"originServiceAreaCode\": \"ELA\",\n        \"originFacilityAreaCode\": \"ELA\",\n        \"pickupAdditionalDays\": 0,\n        \"pickupDayOfWeek\": 3\n      },\n      \"deliveryCapabilities\": {\n        \"deliveryTypeCode\": \"QDDC\",\n        \"estimatedDeliveryDateAndTime\": \"2019-09-20T12:00:00\",\n        \"destinationServiceAreaCode\": \"PRG\",\n        \"destinationFacilityAreaCode\": \"PR3\",\n        \"deliveryAdditionalDays\": 0,\n        \"deliveryDayOfWeek\": 5,\n        \"totalTransitDays\": 2\n      }\n    },\n    {\n      \"productName\": \"EXPRESS 12:00 DOC\",\n      \"productCode\": \"T\",\n      \"localProductCode\": \"T\",\n      \"localProductCountryCode\": \"US\",\n      \"networkTypeCode\": \"TD\",\n      \"isCustomerAgreement\": false,\n      \"weight\": {\n        \"volumetric\": 100,\n        \"provided\": 50,\n        \"unitOfMeasurement\": \"metric\"\n      },\n      \"breakdown\": [\n        {\n          \"name\": \"EXPRESS 12:00 DOC\",\n          \"serviceCode\": \"AB\",\n          \"localServiceCode\": \"AB\",\n          \"typeCode\": \"EXPRESS 12:00\",\n          \"serviceTypeCode\": \"XCH\",\n          \"isCustomerAgreement\": false,\n          \"isMarketedService\": false,\n          \"isBillingServiceIndicator\": false\n        },\n        {\n          \"name\": \"EXPRESS 12:00 DOC\",\n          \"serviceCode\": \"AB\",\n          \"localServiceCode\": \"AB\",\n          \"typeCode\": \"EXPRESS 12:00\",\n          \"serviceTypeCode\": \"XCH\",\n          \"isCustomerAgreement\": false,\n          \"isMarketedService\": false,\n          \"isBillingServiceIndicator\": false\n        }\n      ],\n      \"serviceCodeMutuallyExclusiveGroups\": [\n        {\n          \"serviceCodeRuleName\": \"Exclusive Billing Services\",\n          \"description\": \"Mutually exclusive Billing Services - shipment can contain just one of following\",\n          \"serviceCodes\": [\n            {\n              \"serviceCode\": \"PZ\"\n            },\n            {\n              \"serviceCode\": \"PZ\"\n            }\n          ]\n        },\n        {\n          \"serviceCodeRuleName\": \"Exclusive Billing Services\",\n          \"description\": \"Mutually exclusive Billing Services - shipment can contain just one of following\",\n          \"serviceCodes\": [\n            {\n              \"serviceCode\": \"PZ\"\n            },\n            {\n              \"serviceCode\": \"PZ\"\n            }\n          ]\n        }\n      ],\n      \"serviceCodeDependencyRuleGroups\": [\n        {\n          \"dependentServiceCode\": \"PZ\",\n          \"dependencyRuleGroup\": [\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            },\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"dependentServiceCode\": \"PZ\",\n          \"dependencyRuleGroup\": [\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            },\n            {\n              \"dependencyRuleName\": \"Labelfree and PLT rule\",\n              \"dependencyDescription\": \"Labelfree requires Paperless Trade (PLT) only if PLT is allowed for product globaly\",\n              \"dependencyCondition\": \"Must provide the requiredServiceCode if it is allowed for the productCode\",\n              \"requiredServiceCodes\": [\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                },\n                {\n                  \"serviceCode\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"pickupCapabilities\": {\n        \"nextBusinessDay\": false,\n        \"localCutoffDateAndTime\": \"2019-09-18T15:00:00\",\n        \"GMTCutoffTime\": \"16:00:00\",\n        \"pickupEarliest\": \"09:30:00\",\n        \"pickupLatest\": \"16:00:00\",\n        \"originServiceAreaCode\": \"ELA\",\n        \"originFacilityAreaCode\": \"ELA\",\n        \"pickupAdditionalDays\": 0,\n        \"pickupDayOfWeek\": 3\n      },\n      \"deliveryCapabilities\": {\n        \"deliveryTypeCode\": \"QDDC\",\n        \"estimatedDeliveryDateAndTime\": \"2019-09-20T12:00:00\",\n        \"destinationServiceAreaCode\": \"PRG\",\n        \"destinationFacilityAreaCode\": \"PR3\",\n        \"deliveryAdditionalDays\": 0,\n        \"deliveryDayOfWeek\": 5,\n        \"totalTransitDays\": 2\n      }\n    }\n  ],\n  \"warnings\": [\n    \"Limited products capabilities\",\n    \"Limited products capabilities\"\n  ]\n}"
    },
    {
      "name": "Wrong input parameters",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          },
          {
            "description": "Please provide message reference\n",
            "key": "Message-Reference",
            "value": "d0e7832e-5c98-11ea-bc55-0242ac13"
          },
          {
            "description": "Optional reference date in the  HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2",
            "key": "Message-Reference-Date",
            "value": "Wed, 21 Oct 2015 07:28:00 GMT"
          },
          {
            "description": "Please provide name of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the shipping platform(applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the shipping platform (applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Version",
            "value": " "
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products?accountNumber=Ut aliqua&originCountryCode=CZ&originPostalCode=14800&originCityName=Prague&destinationCountryCode=CZ&destinationPostalCode=14800&destinationCityName=Prague&weight=502356858543.692&length=1581008670.588&width=335941494.827&height=1808157249.254&plannedShippingDate=2020-02-26&isCustomsDeclarable=false&unitOfMeasurement=metric&nextBusinessDay=false&strictValidation=false&getAllValueAddedServices=false&requestEstimatedDeliveryDate=true&estimatedDeliveryDateType=QDDF",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products"
          ],
          "query": [
            {
              "key": "accountNumber",
              "value": "Ut aliqua"
            },
            {
              "key": "originCountryCode",
              "value": "CZ"
            },
            {
              "key": "originPostalCode",
              "value": "14800"
            },
            {
              "key": "originCityName",
              "value": "Prague"
            },
            {
              "key": "destinationCountryCode",
              "value": "CZ"
            },
            {
              "key": "destinationPostalCode",
              "value": "14800"
            },
            {
              "key": "destinationCityName",
              "value": "Prague"
            },
            {
              "key": "weight",
              "value": "502356858543.692"
            },
            {
              "key": "length",
              "value": "1581008670.588"
            },
            {
              "key": "width",
              "value": "335941494.827"
            },
            {
              "key": "height",
              "value": "1808157249.254"
            },
            {
              "key": "plannedShippingDate",
              "value": "2020-02-26"
            },
            {
              "key": "isCustomsDeclarable",
              "value": "false"
            },
            {
              "key": "unitOfMeasurement",
              "value": "metric"
            },
            {
              "key": "nextBusinessDay",
              "value": "false"
            },
            {
              "key": "strictValidation",
              "value": "false"
            },
            {
              "key": "getAllValueAddedServices",
              "value": "false"
            },
            {
              "key": "requestEstimatedDeliveryDate",
              "value": "true"
            },
            {
              "key": "estimatedDeliveryDateType",
              "value": "QDDF"
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"instance\": \"/expressapi/products\",\n  \"detail\": \"The account number is not found or invalid. Please check the account number and retry.\",\n  \"title\": \"Bad request\",\n  \"message\": \"Bad request\",\n  \"status\": \"400\"\n}"
    },
    {
      "name": "Process errors",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          },
          {
            "description": "Please provide message reference\n",
            "key": "Message-Reference",
            "value": "d0e7832e-5c98-11ea-bc55-0242ac13"
          },
          {
            "description": "Optional reference date in the  HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2",
            "key": "Message-Reference-Date",
            "value": "Wed, 21 Oct 2015 07:28:00 GMT"
          },
          {
            "description": "Please provide name of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the plugin (applicable to 3PV only)\n",
            "key": "Plugin-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the shipping platform(applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the shipping platform (applicable to 3PV only)\n",
            "key": "Shipping-System-Platform-Version",
            "value": " "
          },
          {
            "description": "Please provide name of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Name",
            "value": " "
          },
          {
            "description": "Please provide version of the webstore platform (applicable to 3PV only)\n",
            "key": "Webstore-Platform-Version",
            "value": " "
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products?accountNumber=Ut aliqua&originCountryCode=CZ&originPostalCode=14800&originCityName=Prague&destinationCountryCode=CZ&destinationPostalCode=14800&destinationCityName=Prague&weight=502356858543.692&length=1581008670.588&width=335941494.827&height=1808157249.254&plannedShippingDate=2020-02-26&isCustomsDeclarable=false&unitOfMeasurement=metric&nextBusinessDay=false&strictValidation=false&getAllValueAddedServices=false&requestEstimatedDeliveryDate=true&estimatedDeliveryDateType=QDDF",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products"
          ],
          "query": [
            {
              "key": "accountNumber",
              "value": "Ut aliqua"
            },
            {
              "key": "originCountryCode",
              "value": "CZ"
            },
            {
              "key": "originPostalCode",
              "value": "14800"
            },
            {
              "key": "originCityName",
              "value": "Prague"
            },
            {
              "key": "destinationCountryCode",
              "value": "CZ"
            },
            {
              "key": "destinationPostalCode",
              "value": "14800"
            },
            {
              "key": "destinationCityName",
              "value": "Prague"
            },
            {
              "key": "weight",
              "value": "502356858543.692"
            },
            {
              "key": "length",
              "value": "1581008670.588"
            },
            {
              "key": "width",
              "value": "335941494.827"
            },
            {
              "key": "height",
              "value": "1808157249.254"
            },
            {
              "key": "plannedShippingDate",
              "value": "2020-02-26"
            },
            {
              "key": "isCustomsDeclarable",
              "value": "false"
            },
            {
              "key": "unitOfMeasurement",
              "value": "metric"
            },
            {
              "key": "nextBusinessDay",
              "value": "false"
            },
            {
              "key": "strictValidation",
              "value": "false"
            },
            {
              "key": "getAllValueAddedServices",
              "value": "false"
            },
            {
              "key": "requestEstimatedDeliveryDate",
              "value": "true"
            },
            {
              "key": "estimatedDeliveryDateType",
              "value": "QDDF"
            }
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"instance\": \"/expressapi/products\",\n  \"detail\": \"999: Process failure occurred. Process ID associated for that transaction (1234567890)\",\n  \"title\": \"Internal Server Error\",\n  \"message\": \"Internal Server Error\",\n  \"code\": \"500\"\n}"
    }
  ]
}