FuelSDK-CSharp icon indicating copy to clipboard operation
FuelSDK-CSharp copied to clipboard

Difference between ETList.Post() and ETList.Get()

Open mpaivm opened this issue 6 years ago • 0 comments

Hello

I noticed that while the Post() call below correctly creates a list under the business unit identified by businessUnitId

var sub = new ETList { AuthStub = etCredentials, Client = new ClientID { ID = businessUnitId }, ListName = "My List", Description = "My Description" };

var result = await Task.Run(() => sub.Post());

however, the Get() call below retrieves the lists under the root organization ( The ID for which is encoded in the AuthStub )

var sub = new ETList { AuthStub = SdkClient, Client = new ClientID { ID = businessUnitId }, }; var result = await Task.Run(() => sub.Get());

Is there any way to make the ETList.Get() call look under the businessUnitID ?

TIA Manoj

mpaivm avatar Oct 18 '17 20:10 mpaivm