POST api/StaffModuleGroup/EditStaffModuleGroupSubmit

Request Information

URI Parameters

None.

Body Parameters

StaffModuleGroupDTO
NameDescriptionTypeAdditional information
Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1
}

application/xml, text/xml

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

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 'StaffModuleGroupDTO'.

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>