I'm trying to create a new order via the API. So far, everyting is working fine, but I need to be able to set certain values, all of which are all ITrustee types. Since, the constructor is private, and the Trustee table doesn't look like a valid lookup table, how can I get a reference to ITrustee, which I can assign to my order.
Thanks,
Order Creation via API (2)
Moderator: Phil Barton
Order Creation via API (2)
Robert
Re: Order Creation via API (2)
Your instance of the IOrder interface contains a property called AllUsers. This returns an IList<ITrustee> of all the available users within the system. You can use this to find the ITrustee that you need.
Re: Order Creation via API (2)
Thanks Hadi, that's the key. Have a great weekend!!Hadi Chemaly wrote:Your instance of the IOrder interface contains a property called AllUsers. This returns an IList<ITrustee> of all the available users within the system. You can use this to find the ITrustee that you need.
Robert