account set from API not showing up in Redi Plus UI?

I tried to set the account by using

ORDER hOrder = new ORDER();


hOrder.Account = "Demo";


but after submitted successfully, I checked in REDI UI, it shows display account as empty.
but when i created from REDI UI, it shows display account as "DEMO".
Is that something I am missing from API side?

Tagged:

Best Answer

  • JManoharan
    JManoharan Explorer
    Answer ✓

    Found the answer. I need to set account after set the exchange in code. like this

    ptOrder.Exchange = "*ticket"; //PT is a bunch of tickets

    ptOrder.Account="Demo"; //ptOrder.Exchange must be set before ptOrder.Account (otherwise this will be ignored)

    It works as expected