I've only made calls for a few dozen DUNS, but so far both parentduns and ultimateparentduns have been blank in every result. Example: GetFamilyTree returns no ultimateparentduns for DUNS 101289510, while GetCompanyDetail returns DUNS 611645420 as the ultimateparentduns for DUNS 101289510.
The return I get is below (partial), which shows the correct ultimate parent duns for 101289510. Are you getting a different return? The first company returned is the ultimate parent, DUNS 611645420, so no ultimate parent is listed. Below that DUNS 101289510 is listed with the ultimate parent of DUNS 611645420.
Ahh, I see the problem. The documentation says that a request to getfamilytree retrieves the company requested and it's children only ("This service only returns the company and all of its descendants, it does not include parent information except parent DUNS and ultimate parent DUNS"). It looks like it's actually returning the ultimate parent of the requested DUNS/ID and all of it's descendants.
When I call GetFamilyTree with the DUNS of one of our clients ("048463103") I get the first level of the family tree of its ultimate parent. The same set of data is returned if I submit the parent ("828378633") or the ultimate parent of both ("47279351"). Is this expected behaviour? How can I get the child of the child of the ultimate parent co?
If the companies are in the same Family Tree you will get the same set of data regardless of which company in the tree you use to call GetFamilyTree. GetFamily Tree returns the ultimate parent of the given DUNS or Hoover's Company ID and all of the children/descendants of that ultimate parent.
To find the parent or children of a given company you could do a GetFamilyTree and write code to iterate over the tree to find the company, then look at its parent or children.
I've only made calls for a few dozen DUNS, but so far both parentduns and ultimateparentduns have been blank in every result. Example: GetFamilyTree returns no ultimateparentduns for DUNS 101289510, while GetCompanyDetail returns DUNS 611645420 as the ultimateparentduns for DUNS 101289510.
Dick Chase – 11 months ago
Oh, and I'm using api v 1.6
bhawley – 11 months ago
Hi Dick,
The return I get is below (partial), which shows the correct ultimate parent duns for 101289510. Are you getting a different return? The first company returned is the ultimate parent, DUNS 611645420, so no ultimate parent is listed. Below that DUNS 101289510 is listed with the ultimate parent of DUNS 611645420.
<web:name>Hibernation Holding Company Inc</web:name>
<web:company-id>611645420</web:company-id>
<web:duns>611645420</web:duns>
<web:parent-duns/>
<web:ultimate-parent-duns/>
<web:revenue>7.300000190735</web:revenue>
<web:currency>USD</web:currency>
<web:location-type>Headquarters</web:location-type>
<web:city>Shelburne</web:city>
<web:state>VT</web:state>
<web:country>United States</web:country>
<web:total-children>4</web:total-children>
<web:children>
<web:child>
<web:number>1</web:number>
<web:name>The Vermont Teddy Bear Co., Inc.</web:name>
<web:company-id>41987101289510</web:company-id>
<web:duns>101289510</web:duns>
<web:parent-duns>611645420</web:parent-duns>
<web:ultimate-parent-duns>611645420</web:ultimate-parent-duns>
<web:revenue>7.199999809265</web:revenue>
<web:currency>USD</web:currency>
<web:location-type>Headquarters/Subsidiary</web:location-type>
<web:city>Shelburne</web:city>
<web:state>VT</web:state>
<web:country>United States</web:country>
<web:children>
Thanks,
Brian
Dick Chase – 11 months ago
Ahh, I see the problem. The documentation says that a request to getfamilytree retrieves the company requested and it's children only ("This service only returns the company and all of its descendants, it does not include parent information except parent DUNS and ultimate parent DUNS"). It looks like it's actually returning the ultimate parent of the requested DUNS/ID and all of it's descendants.
bhawley – 11 months ago
Good catch, we will have to update the documentation so that it is accurate.
Thanks!
Brian
Dick Chase – 11 months ago
Feature request: It would be great if there was something that worked the way this is documented :)
John Ligus – 8 months ago
When I call GetFamilyTree with the DUNS of one of our clients ("048463103") I get the first level of the family tree of its ultimate parent. The same set of data is returned if I submit the parent ("828378633") or the ultimate parent of both ("47279351"). Is this expected behaviour? How can I get the child of the child of the ultimate parent co?
bhawley – 8 months ago
Hi John,
If the companies are in the same Family Tree you will get the same set of data regardless of which company in the tree you use to call GetFamilyTree. GetFamily Tree returns the ultimate parent of the given DUNS or Hoover's Company ID and all of the children/descendants of that ultimate parent.
To find the parent or children of a given company you could do a GetFamilyTree and write code to iterate over the tree to find the company, then look at its parent or children.
http://developer.hoovers.com/page/docs#4.4
John Ligus – 8 months ago
bhawley,
Thank you I will attempt this today.