apiups

How can i generate UPS HighValueReport?


I am trying to move from UPS Testing to Production. They required that i pass some tests.

One of them is to produce HighValueReport by using insuredvalue greater than $999 .

I don't know the property for this insuredvalue.


Solution

  • Insured value should be part of the Package element.

    <ShipmentConfirmRequest>
    <Shipment>
    <Package>
    <PackageWeight>
    <UnitOfMeasurement>
    <Code>LBS</Code>
    </UnitOfMeasurement>
    <Weight>5.0</Weight>
    </PackageWeight>
    <PackageServiceOptions>
    <InsuredValue>
    <CurrencyCode>USD</CurrencyCode>
    <MonetaryValue>1000</MonetaryValue>
    </InsuredValue>
    </PackageServiceOptions>
    </Package>
    </Shipment>
    </ShipmentConfirmRequest>
    

    Once you submit your high value transation you'll get a control log returned in the element of the . Print two copies of the control log.