Title: International Time in Transit - FedexAvailabilityCommitmentRequest · Issue #113 · python-fedex-devs/python-fedex · GitHub
Open Graph Title: International Time in Transit - FedexAvailabilityCommitmentRequest · Issue #113 · python-fedex-devs/python-fedex
X Title: International Time in Transit - FedexAvailabilityCommitmentRequest · Issue #113 · python-fedex-devs/python-fedex
Description: Hi all, Thanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit. avc_request = FedexAvailabilityCommitmentRequest(CONFIG_OBJ) ...
Open Graph Description: Hi all, Thanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit. avc_request = FedexAv...
X Description: Hi all, Thanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit. avc_request = FedexAv...
Opengraph URL: https://github.com/python-fedex-devs/python-fedex/issues/113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"International Time in Transit - FedexAvailabilityCommitmentRequest","articleBody":"Hi all,\r\n\r\nThanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit.\r\n\r\n```\r\n avc_request = FedexAvailabilityCommitmentRequest(CONFIG_OBJ)\r\n avc_request.Origin.PostalCode = sender_postal\r\n avc_request.Origin.CountryCode = sender_country\r\n avc_request.Destination.PostalCode = receiver_postal\r\n avc_request.Destination.CountryCode = receiver_country\r\n avc_request.CarrierCode = 'FDXE'\r\n avc_request.ShipDate = shipment_date\r\n\r\n avc_request.send_request()\r\n print(avc_request.response)\r\n print('----start------')\r\n for option in avc_request.response.Options:\r\n if hasattr(option, 'TransitTime'):\r\n print(option.Service)\r\n print(option.TransitTime)\r\n print('----end------')\r\n```\r\navc_request.response prints the following, but there is no transit time to pull for each service:\r\n\r\n```\r\n(reply){\r\n HighestSeverity = \"SUCCESS\"\r\n Notifications[] = \r\n (Notification){\r\n Severity = \"SUCCESS\"\r\n Source = \"vacs\"\r\n Code = \"000\"\r\n Message = \"SUCCESS\"\r\n LocalizedMessage = \"SUCCESS\"\r\n },\r\n Version = \r\n (VersionId){\r\n ServiceId = \"vacs\"\r\n Major = 4\r\n Intermediate = 0\r\n Minor = 0\r\n }\r\n Options[] = \r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_PRIORITY\"\r\n DestinationStationId = \"MNLA \"\r\n DestinationAirportId = \"MNL\"\r\n },\r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_ECONOMY\"\r\n DestinationStationId = \"MNLA \"\r\n DestinationAirportId = \"MNL\"\r\n },\r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_PRIORITY_FREIGHT\"\r\n DestinationStationId = \"MNLA \"\r\n DestinationAirportId = \"MNL\"\r\n },\r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_ECONOMY_FREIGHT\"\r\n DestinationStationId = \"MNLA \"\r\n DestinationAirportId = \"MNL\"\r\n },\r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_PRIORITY_DISTRIBUTION\"\r\n },\r\n (ServiceAvailabilityOption){\r\n Service = \"INTERNATIONAL_DISTRIBUTION_FREIGHT\"\r\n },\r\n }\r\n```\r\n","author":{"url":"https://github.com/Helix31522","@type":"Person","name":"Helix31522"},"datePublished":"2019-06-02T17:13:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/113/python-fedex/issues/113"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4b3df1d6-c7ad-64dc-c598-3bf9386e9016 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF74:3E5E5E:55ECAE:71FCF2:696B6F0A |
| html-safe-nonce | 25d5716c1c9db908b36a4684fe9ef00e97d383855940e60bd1d174d54a827189 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjc0OjNFNUU1RTo1NUVDQUU6NzFGQ0YyOjY5NkI2RjBBIiwidmlzaXRvcl9pZCI6Ijg3NTQ5MjMwMTc5NjAzODYzMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3599a36dac68a524556a6815c780448a24997c269996ce02d1dbb98f6a9af7a |
| hovercard-subject-tag | issue:451213550 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-fedex-devs/python-fedex/113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f0d952bbd355f9267fde3d392e4b76635d02f17565fa02b636286a4ae06d9163/python-fedex-devs/python-fedex/issues/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0d952bbd355f9267fde3d392e4b76635d02f17565fa02b636286a4ae06d9163/python-fedex-devs/python-fedex/issues/113 |
| og:image:alt | Hi all, Thanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit. avc_request = FedexAv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Helix31522 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-fedex-devs/python-fedex git https://github.com/python-fedex-devs/python-fedex.git |
| octolytics-dimension-user_id | 16729406 |
| octolytics-dimension-user_login | python-fedex-devs |
| octolytics-dimension-repository_id | 825701 |
| octolytics-dimension-repository_nwo | python-fedex-devs/python-fedex |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 825701 |
| octolytics-dimension-repository_network_root_nwo | python-fedex-devs/python-fedex |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width