-
Notifications
You must be signed in to change notification settings - Fork 22
Add Tracking Error Details to SDK Response #8
Conversation
Hi @kdrdmr, thank you for the contribution. The classes in I suggest mapping the conditions collection to a simple TrackingInfo::$awbConditions = [
"[ConditionCode]: [ConditionData]",
// …
] |
@mam08ixo hi, Please let me know clearly; if your comment about only usage |
Yes, my point is that you expose the internal type Map the additional error information (these AWB conditions) to a native type like This would still be a backward compatibility breaking change but we'll deal with that when releasing a new version. |
ba0c99f
to
638c236
Compare
Hi again @mam08ixo |
Hi again @mam08ixo ; |
I think he is just not in the office over the public holiday and the bridge day. :-) |
i noticed some minor coding style issues, would be nice if you could fix them. I do not know the exact coding style used here, it seems missing in the README or composer.json - but just take a look at the existing code. Also your doc for awbConditions seems wrong to me, it should be at least Cheers. |
Hi @CybotTM Greetings |
The Thank you for the contribution. |
On trackingRequest if awbStatus is Failure webservice return as some information in Condition array. we can use and log this infos. but current master branch doesn't return this with tracking info.
[@mam08ixo]:
Example web service error response (excerpt):
The SDK includes the
ActionStatus
field with its public response but omits the details.This PR attempts to change that.