我正在尝试从 Aramex API 跟踪发货。以下结果是我从发送到跟踪货件编号 59398114932 的请求中得到的响应:
stdClass Object
(
[Transaction] => stdClass Object
(
[Reference1] =>
[Reference2] =>
[Reference3] =>
[Reference4] =>
[Reference5] =>
)
[Notifications] => stdClass Object
(
)
[HasErrors] =>
[TrackingResults] => stdClass Object
(
[KeyValueOfstringArrayOfTrackingResultmFAkxlpY] => stdClass Object
(
[Key] => 59398114932
[Value] => stdClass Object
(
[TrackingResult] => stdClass Object
(
[WaybillNumber] => 59398114932
[UpdateCode] => SH005
[UpdateDescription] => Delivered
[UpdateDateTime] => 2016-09-26T14:45:00
[UpdateLocation] => new york
[Comments] => joe
[ProblemCode] =>
)
)
)
)
)
但我真正需要的只是[UpdateDescription]
上面的回复,以便知道货物何时送达。我怎样才能回应它?
这是我发送的请求:
$auth_call = $soapClient->TrackShipments($params);
发货编号由$params
阵列发送。