POST api/GroupModuleRelation/EditGroupModuleRelationSubmit

Request Information

URI Parameters

None.

Body Parameters

GroupModuleRelationDTO
NameDescriptionTypeAdditional information
moduleGroupId

integer

None.

moduleId

integer

None.

Id

integer

None.

CreateBy

创建人

string

None.

CreateTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "moduleGroupId": 1,
  "moduleId": 2,
  "Id": 3,
  "CreateBy": "sample string 5",
  "CreateTime": "2019-04-21T16:05:18.7613205+08:00"
}

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>2019-04-21T16:05:18.7613205+08:00</CreateTime>
  <Id>3</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 4</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-04-21T16:05:18.7613205+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

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>