DHL - Time in Transit

Carrier
DHL
Action
Time in Transit
{
  "carrier": "DHL",
  "action": "timeintransit",
  "params": {
    "test": true,
    "shipper": "RocketShipIt",
    "ship_contact": "Mark Sanborn",
    "ship_phone": "1231231234",
    "ship_state": "CA",
    "ship_code": "90210",
    "ship_country": "US",
    "to_country": "US",
    "to_code": "90210",
    "pickup_date": "2018-06-25",
    "ready_time": "0900",
    "currency": "USD",
    "customs_value": 5000
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'DHL',
  'action' => 'timeintransit',
  'params' => 
  array (
    'test' => true,
    'shipper' => 'RocketShipIt',
    'ship_contact' => 'Mark Sanborn',
    'ship_phone' => '1231231234',
    'ship_state' => 'CA',
    'ship_code' => '90210',
    'ship_country' => 'US',
    'to_country' => 'US',
    'to_code' => '90210',
    'pickup_date' => '2018-06-25',
    'ready_time' => '0900',
    'currency' => 'USD',
    'customs_value' => 5000,
  ),
)
);

rs.request(
  {'action': 'timeintransit',
 'carrier': 'DHL',
 'params': {'currency': 'USD',
            'customs_value': 5000,
            'pickup_date': '2018-06-25',
            'ready_time': '0900',
            'ship_code': '90210',
            'ship_contact': 'Mark Sanborn',
            'ship_country': 'US',
            'ship_phone': '1231231234',
            'ship_state': 'CA',
            'shipper': 'RocketShipIt',
            'test': True,
            'to_code': '90210',
            'to_country': 'US'}}

)

rs.request(
  {"carrier"=>"DHL",
 "action"=>"timeintransit",
 "params"=>
  {"test"=>true,
   "shipper"=>"RocketShipIt",
   "ship_contact"=>"Mark Sanborn",
   "ship_phone"=>"1231231234",
   "ship_state"=>"CA",
   "ship_code"=>"90210",
   "ship_country"=>"US",
   "to_country"=>"US",
   "to_code"=>"90210",
   "pickup_date"=>"2018-06-25",
   "ready_time"=>"0900",
   "currency"=>"USD",
   "customs_value"=>5000}}

)

rocketshipit.request(
  {
  "carrier": "DHL",
  "action": "timeintransit",
  "params": {
    "test": true,
    "shipper": "RocketShipIt",
    "ship_contact": "Mark Sanborn",
    "ship_phone": "1231231234",
    "ship_state": "CA",
    "ship_code": "90210",
    "ship_country": "US",
    "to_country": "US",
    "to_code": "90210",
    "pickup_date": "2018-06-25",
    "ready_time": "0900",
    "currency": "USD",
    "customs_value": 5000
  }
}
)

← All DHL examples