I am attempting to manage an identical situation. The request is an array - a checkout list that can contain 1 or more items. I am using Excel in rows where the item details for the checkout instance are repeated (rows 1-3, or rows 4-9) based upon the number of items being purchased. How can I get the data into the request? I can enter a single line item transaction but cannot find a method for adding addtional line items to the same transaction. Here is a sample of the multi-line item request that I need to manage: (this example has 2 line number sections but it can contain up to 15)
<web:LineItems>
<web:LineItem>
<web:LineNumber>1</web:LineNumber>
<web:ItemType>1</web:ItemType>
<web:Division>024</web:Division>
<web:ItemNumber>000010184</web:ItemNumber>
<web:LineItemAmountTypeCode>1</web:LineItemAmountTypeCode>
<web:DollarValuePreDisc>15.00</web:DollarValuePreDisc>
<web:DollarValuePostDisc>14.00</web:DollarValuePostDisc>
<web:PriceMatchAmount>0</web:PriceMatchAmount>
<web:PriceMatchBonusAmount>0</web:PriceMatchBonusAmount>
<web:Quantity>1</web:Quantity>
<web:TaxAmount>0</web:TaxAmount>
</web:LineItem>
</web:LineItems>
<web:LineItems>
<web:LineItem>
<web:LineNumber>2</web:LineNumber>
<web:ItemType>1</web:ItemType>
<web:Division>024</web:Division>
<web:ItemNumber>000010184</web:ItemNumber>
<web:LineItemAmountTypeCode>1</web:LineItemAmountTypeCode>
<web:DollarValuePreDisc>15.00</web:DollarValuePreDisc>
<web:DollarValuePostDisc>14.00</web:DollarValuePostDisc>
<web:PriceMatchAmount>0</web:PriceMatchAmount>
<web:PriceMatchBonusAmount>0</web:PriceMatchBonusAmount>
<web:Quantity>1</web:Quantity>
<web:TaxAmount>0</web:TaxAmount>
</web:LineItem>
</web:LineItems>