UPS-API / api-documentation

MIT License
32 stars 19 forks source link

Quantum View Manifest Package in v2 is array, but returns object #117

Open CORREAves opened 1 month ago

CORREAves commented 1 month ago

By the new definition for the Quantum View API v2 the package is generated as an array but when curl to the same API the Package arrives as an object.

"Package": {
    "Activity": {
        "Date": "20240528",
        "Time": "094800"
    },
    "Description": "Lock equipment",
    "Dimensions": {
        "Length": "00000000",
        "Width": "00000000",
        "Height": "00000000"
    },
    "DimensionalWeight": {
        "UnitOfMeasurement": {
            "Code": "KGS"
        },
        "Weight": "0000000"
    },
    "PackageWeight": {
        "Weight": "+0007.0"
    },
    "TrackingNumber": "...",
    "ReferenceNumber": {
        "Number": "1",
        "Code": "00",
        "Value": "..."
    },
    "PackageServiceOptions": {
        "COD": ""
    }
},