GET api/Sector/Hierarchy?customerId={customerId}&businessId={businessId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

businessId

integer

Required

Body Parameters

None.

Response Information

Resource Description

HierarchyAreaManager
NameDescriptionTypeAdditional information
Descendants

Collection of HierarchyAreaManager

None.

AreaManagers

Collection of ConciseAreaMnager

None.

IdManager

integer

None.

Label

string

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 'myReportysModels.HierarchyAreaManager'. Path 'Descendants'.

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 'myReportysModels.HierarchyAreaManager'. Path 'Descendants'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Le graphique de l'objet pour le type 'System.Collections.Generic.List`1[[myReportysModels.HierarchyAreaManager, myReportysModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contient des cycles et il est impossible de le sérialiser si le suivi de référence est désactivé.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Le graphique de l'objet pour le type 'System.Collections.Generic.List`1[[myReportysModels.HierarchyAreaManager, myReportysModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contient des cycles et il est impossible de le sérialiser si le suivi de référence est désactivé.