Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.40 KB | None | 0 0
  1. {
  2.    "UPSSecurity": {
  3.       "UsernameToken": {
  4.          "Username": "196F8V.api",
  5.          "Password": "Mexico01"
  6.       },
  7.       "ServiceAccessToken": {
  8.          "AccessLicenseNumber": "1D3ED44C1E60C1E8"
  9.       }
  10.    },
  11.    "ShipmentRequest": {
  12.       "Request": {
  13.          "RequestOption": "validate",
  14.          "TransactionReference": {
  15.             "CustomerContext": "orderId #7945793"
  16.          }
  17.       },
  18.       "Shipment": {
  19.          "Description": [
  20.             {
  21.                "Description": "Goji berry",
  22.                "Unit": {
  23.                   "Number": 1,
  24.                   "Value": 590
  25.                },
  26.                "SEDTotalValue": 700
  27.             }
  28.          ],
  29.          "Shipper": {
  30.             "Name": "TWOWTRADE LLC",
  31.             "AttentionName": "2WTRADE",
  32.             "ShipperNumber": "196F8V",
  33.             "Address": {
  34.                "AddressLine": [
  35.                   "Cuautitlán Izcalli,Estado de México"
  36.                ],
  37.                "City": "Cuautitlán Izcalli",
  38.                "PostalCode": "54769",
  39.                "CountryCode": "MX"
  40.             }
  41.          },
  42.          "ShipTo": {
  43.             "Name": "Amparo bautista",
  44.             "Phone": {
  45.                "Number": "5218682259517"
  46.             },
  47.             "EmailAddress": "",
  48.             "Address": {
  49.                "AddressLine": [
  50.                   "test 1"
  51.                ],
  52.                "City": "Cuautitlán Izcalli",
  53.                "StateProvinceCode": "54769",
  54.                "PostalCode": "54769",
  55.                "CountryCode": "MX"
  56.             }
  57.          },
  58.          "ShipFrom": {
  59.             "Name": "Laura Delgado",
  60.             "AttentionName": "Laura Delgado",
  61.             "Phone": {
  62.                "Number": "5558619500"
  63.             },
  64.             "Address": {
  65.                "AddressLine": [
  66.                   "Cuautitlán Izcalli,Estado de México"
  67.                ],
  68.                "City": "Cuautitlán Izcalli",
  69.                "PostalCode": "54769",
  70.                "CountryCode": "MX"
  71.             }
  72.          },
  73.          "PaymentInformation": {
  74.             "ShipmentCharge": {
  75.                "Type": "01",
  76.                "BillShipper": {
  77.                   "AccountNumber": "196F8V"
  78.                }
  79.             }
  80.          },
  81.          "Service": {
  82.             "Code": "65"
  83.          },
  84.          "Package": {
  85.             "Packaging": {
  86.                "Code": "04"
  87.             },
  88.             "Dimensions": {
  89.                "UnitOfMeasurement": {
  90.                   "Code": "CM"
  91.                },
  92.                "Length": "0",
  93.                "Width": "0",
  94.                "Height": "0"
  95.             },
  96.             "PackageWeight": {
  97.                "UnitOfMeasurement": {
  98.                   "Code": "KGS"
  99.                },
  100.                "Weight": "1"
  101.             }
  102.          }
  103.       },
  104.       "PackageServiceOptions": {
  105.          "COD": {
  106.             "CODCode": "1",
  107.             "CODFundsCode": "0",
  108.             "CODAmount": {
  109.                "CurrencyCode": "USD",
  110.                "MonetaryValue": "150"
  111.             }
  112.          }
  113.       },
  114.       "LabelSpecification": {
  115.          "LabelImageFormat": {
  116.             "Code": "GIF"
  117.          }
  118.       },
  119.       "Product": [
  120.          {
  121.             "Description": "Goji berry",
  122.             "Unit": {
  123.                "Number": 1,
  124.                "Value": 590
  125.             },
  126.             "SEDTotalValue": 700
  127.          }
  128.       ]
  129.    }
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement