Created
January 18, 2012 20:18
-
-
Save rclements/1635295 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "<?xml version='1.0' ?><AccessRequest><AccessLicenseNumber>5C8FCA563C3B0528</AccessLicenseNumber><UserId>aptshipping</UserId><Password>Apt59441</Password></AccessRequest>" | |
| "<?xml version='1.0' encoding='UTF-8' ?><VoidShipmentRequest><Request><RequestAction>Void</RequestAction><RequestOption>1</RequestOption></Request><ExpandedVoidShipment><ShipmentIdentificationNumber>383212</ShipmentIdentificationNumber><TrackingNumber>1Z2220060290602143</TrackingNumber></ExpandedVoidShipment></VoidShipmentRequest>" | |
| "<?xml version=\"1.0\"?><VoidShipmentResponse><Response><TransactionReference></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>190102</ErrorCode><ErrorDescription>No shipment found within the allowed void period</ErrorDescription></Error></Response></VoidShipmentResponse>" | |
| options i'm passing {:key=>"5C8FCA563C3B0528", :login=>"aptshipping", :test=>true, :password=>"Apt59441"} | |
| TEST_URL = 'https://wwwcie.ups.com' | |
| :void => 'ups.app/xml/Void' | |
| Tracking Number = 1Z2220060290602143 | |
| I got this tracking number from your api documentation for testing voids. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment