GET api/ModuleGroup/GetModelById/{id}

获取单条XX信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取单条XX信息

ModuleGroupDTO
NameDescriptionTypeAdditional information
Name

路由模块组的名称

string

None.

ModuleIds

关联的模块Id 集合

Collection of integer

None.

Modules

Collection of ModuleTreeDTO

None.

Id

编号

integer

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 'DTO.ModuleTreeDTO'. Path 'Modules[0].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 'DTO.ModuleTreeDTO'. Path 'Modules[0].children'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[DTO.ModuleTreeDTO, DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[DTO.ModuleTreeDTO, DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。