API Support Forum
OEC API > API Support > What is AccountId in OrderDraft
Author Topic: What is AccountId in OrderDraft
(2 messages, Page 1 of 1)
Moderators: VPfau
BGoyal9136
Posts: 27
Joined: Sep 21, 2017


Posted: Mar 26, 2020 @ 03:17 AM             Msg. 1 of 2
HI ,

previously I am getting account information for OrderDraft from OECClient using below code line :

OECClient.Global.Accounts.First;

Now I am upgrading my application. with latest Gain future api how I can get AccountId Using IGFClient ?


Thanks
Kapil Goyal
VPfau
Moderator
Posts: 164
Joined:


Posted: Mar 27, 2020 @ 08:43 AM             Msg. 2 of 2
Hello Kapil,

you can find account information thru `IAccountsApi IGFClient.Accounts`
See https://gainfutures.com/GFAPI/html/T_GF_Api_Accounts_IAccountsApi.htm
Vitaliy Pfau