How to get sub companies display

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi,

I have to get display related to sub Company only.. To get displays created under company can be accessed through core.display.list(). Is there any way to get  display in sub company.

Thanks
Photo of aathi rajkumar

aathi rajkumar

  • 154 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Hi Aathi,
Have you had a look at the section concerning core.display.list() in the Developer documentation? Thanks!
Photo of aathi rajkumar

aathi rajkumar

  • 154 Points 100 badge 2x thumb
my code looks like this

Core core = new Core(transport, jsonfactory, credential);
APIResponseDisplayWrapper company = core.display().list().execute();

When i execute this , i cant pass my company id and i m getting display related to parent company
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Is the ID being used the main Company ID or the Sub Company's ID?