在这里,我在USPS中有一个问题。我只想为Box不为信件定价,但我仍在获得信件价格。
下面是我的请求XML
<RateV4Request USERID="xxx">
<Revision>2</Revision>
<RateClientType>008</RateClientType>
<Package ID="1ST">
<Service>ALL</Service>
<ZipOrigination>44106</ZipOrigination>
<ZipDestination>20770</ZipDestination>
<Pounds>0</Pounds>
<Ounces>3.5</Ounces>
<Container/>
<Size>REGULAR</Size>
<Machinable>true</Machinable>
<RatePriceType>B</RatePriceType>
<RatePaymentType>3</RatePaymentType>
</Package>
<Package ID="2ND">
<Service>PRIORITY</Service>
<ZipOrigination>44106</ZipOrigination>
<ZipDestination>20770</ZipDestination>
<Pounds>1</Pounds>
<Ounces>8</Ounces>
<Container>NONRECTANGULAR</Container>
<Size>LARGE</Size>
<Width>15</Width>
<Length>30</Length>
<Height>15</Height>
<Girth>55</Girth>
<Value>1000</Value>
<SpecialServices>
<SpecialService>1</SpecialService>
</SpecialServices>
<RatePriceType>B</RatePriceType>
<RatePaymentType>3</RatePaymentType>
</Package>
<Package ID="3RD">
<Service>ALL</Service>
<ZipOrigination>90210</ZipOrigination>
<ZipDestination>96698</ZipDestination>
<Pounds>8</Pounds>
<Ounces>32</Ounces>
<Container/>
<Size>REGULAR</Size>
<Machinable>true</Machinable>
<DropOffTime>23:59</DropOffTime>
<ShipDate>2013-07-28</ShipDate>
<RatePriceType>B</RatePriceType>
<RatePaymentType>3</RatePaymentType>
</Package>
</RateV4Request>
我该如何测量这些包装是USPS标签中的大,小,中型,而Container将是NONRECTANGULAR或RECTANGULAR,我如何定义表格的长度,宽度,高度,高度。是否可以为USPS api计算以上两个参数。