How would I define BundleIdList since it's just an array with no named element?
"BundleIdList": [1101],
Code: Select all
{
"ErrorCode": 0,
"ShipmentResponse": {
"PackageDefaults": {
"ErrorCode": 0,
"ErrorMessage": "No error",
"ArriveTime": "23:59:59",
"ManifestId": 0,
"RatedService": {
"Symbol": "CONNECTSHIP_UPS.UPS.GND",
"Name": "UPS Ground (CSAdapter)"
},
"Service": {
"Symbol": "CONNECTSHIP_UPS.UPS.GND",
"Name": "UPS Ground (CSAdapter)"
},
"ShippedService": {
"Symbol": "CONNECTSHIP_UPS.UPS.GND",
"Name": "UPS Ground (CSAdapter)"
},
"TimeInTransitDays": -1,
"BaseCharge": {
"Amount": 22.58,
"Currency": "USD"
},
"BundleIdList": [1101],
"FuelSurcharge": {
"Amount": 4.66,
"Currency": "USD"
},
"Special": {
"Amount": 9.51,
"Currency": "USD"
},
"TimeInTransit": "FOREVER",
"Total": {
"Amount": 32.09,
"Currency": "USD"
}
}
}
}