GET CompanyTree/{Id}?reference={reference}

CompanyTree - Konsernirakenne

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

businessId or DUNS

string

Required

reference

optional

string

Default value is

Body Parameters

None.

Response Information

Resource Description

CompanyTree
NameDescriptionTypeAdditional information
DUNS

string

None.

CompanyId

string

None.

Name

string

None.

Country

string

None.

PercentageOwned

integer

None.

Children

Collection of CompanyTree

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Kaupparekisteri.Models.CompanyTree.Company'. Path 'Children'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Kaupparekisteri.Models.CompanyTree.Company'. Path 'Children'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: There was an error generating the XML document.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: There was an error generating the XML document.