POST api/GroupModuleRelation/AddGroupModuleRelationSubmit

添加一条XX信息

Request Information

URI Parameters

None.

Body Parameters

GroupModuleRelationDTO
NameDescriptionTypeAdditional information
moduleGroupId

模块组Id

integer

None.

moduleId

关联的模块Id

integer

None.

Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "moduleGroupId": 1,
  "moduleId": 2,
  "Id": 3
}

application/xml, text/xml

Sample:
<GroupModuleRelationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 5</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2018-12-12T03:19:15.8409323+08:00</CreateTime>
  <Id>3</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 4</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2018-12-12T03:19:15.8409323+08:00</ModifyTime>
  <ModuleGroupId>1</ModuleGroupId>
  <ModuleId>2</ModuleId>
</GroupModuleRelationDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GroupModuleRelationDTO'.

Response Information

Resource Description

添加一条XX信息

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>