Rates & Service Selection XML Response

XML Response Sample

<?xml version="1.0"?>

<RatingServiceSelectionResponse>

  <Response>

    <TransactionReference>

      <CustomerContext>Rating and Service</CustomerContext>

      <XpciVersion>1.0001</XpciVersion>

    </TransactionReference>

    <ResponseStatusCode>1</ResponseStatusCode>

    <ResponseStatusDescription>Success</ResponseStatusDescription>

  </Response>

  <RatedShipment>

    <Service>

      <Code>01</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>41.51</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>41.51</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>

    <ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

  <RatedShipment>

    <Service>

      <Code>14</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>69.36</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>69.36</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>0</GuaranteedDaysToDelivery>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

  <RatedShipment>

    <Service>

      <Code>13</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>35.44</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>35.44</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>

    <ScheduledDeliveryTime>4:30 P.M.</ScheduledDeliveryTime>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

  <RatedShipment>

    <Service>

      <Code>02</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>24.20</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>24.20</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

  <RatedShipment>

    <Service>

      <Code>12</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>17.42</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>17.42</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

  <RatedShipment>

    <Service>

      <Code>03</Code>

    </Service>

    <BillingWeight>

      <UnitOfMeasurement>

        <Code>LBS</Code>

      </UnitOfMeasurement>

      <Weight>33.0</Weight>

    </BillingWeight>

    <TransportationCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>7.25</MonetaryValue>

    </TransportationCharges>

    <ServiceOptionsCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>0.00</MonetaryValue>

    </ServiceOptionsCharges>

    <TotalCharges>

      <CurrencyCode>USD</CurrencyCode>

      <MonetaryValue>7.25</MonetaryValue>

    </TotalCharges>

    <GuaranteedDaysToDelivery>0</GuaranteedDaysToDelivery>

    <RatedPackage>

      <ServiceOptionsCharges>

        <CurrencyCode>USD</CurrencyCode>

        <MonetaryValue>0.00</MonetaryValue>

      </ServiceOptionsCharges>

      <Weight>33.0</Weight>

      <BillingWeight>

        <UnitOfMeasurement>

          <Code>LBS</Code>

        </UnitOfMeasurement>

        <Weight>33.0</Weight>

      </BillingWeight>

    </RatedPackage>

  </RatedShipment>

</RatingServiceSelectionResponse>

 

 

Download Rates & Service Selection XML Samples

 

 

Return to Top

 

Copyright � 2006 United Parcel Service of America, Inc.