XML Repeating Block Structure

Purpose

This structure is used when adding repeating blocks with the same Block ID within a single XML request message. This is currently only used when adding SKU information on the "Gift Card.Add Loyalty Points" request type.

Syntax:

<Blocks>

      <Block id="xx">

            <Param_Name>{Parameter Value}</Param_Name>

      </Block>

      <Block id="xx">

            <Param_Name>{Parameter Value}</Param_Name>

      </Block>

</Blocks>

Example:

<Blocks>

      <Block id="67">

            <SKU_Number>000000000000001</SKU_Number>

            <Price>100</Price>

            <Quantity>15</Quantity>

      </Block>

      <Block id="67">

            <SKU_Number>000000000000001</SKU_Number>

            <Price>200</Price>

            <Quantity>10</Quantity>

       </Block>

</Blocks>

note

This multiple block structure is also used in the DCC Rate Request Response message because there are multiple rate blocks returned.