question

Upvotes
Accepted
46 2 1 5

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?

redi-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
46 2 1 5

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.