Search Engine: Elastic

Article ID: 130943, created on Jun 8, 2017, last review on Jun 8, 2017

  • Applies to:
  • Business Automation 7.0

Symptoms

GetPromotionDetails_API execution with the following parameters:

<string>PromoID</string>
    </value>
        <value>
             <i4>1</i4>
         </value>

Returns the following error:

System ErrorData packet type error. Type: 12 Index: 2

While Billing API Reference states:

Str Value: The value of the Key parameter. The parameter takes one of these values:
an integer promotion ID in OA Billing when Key = PromoID;
a string promotion code in OA Billing when Key = PromoCode.

Cause

The documentation is not accurate. A request #PBA-80504 "Update GetPromotionDetails_API description" has been created to correct the documentation.

Resolution

Please use the following syntax in case of PromoID is used as key:

<string>PromoID</string>
    </value>
        <value>
            <string>1</string>
        </value>

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 c0f836394088a28cc30dd0e5fe8b600e b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF