POST api/SysStaffMenuGroup/AddSysStaffMenuGroupSubmit

Request Information

URI Parameters

None.

Body Parameters

SysStaffMenuGroupDTO
NameDescriptionTypeAdditional information
StaffID

integer

None.

MenuGroupId

integer

None.

CreateOn

date

None.

CreateBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffID": 1,
  "MenuGroupId": 2,
  "CreateOn": "2019-03-22T03:49:43.6528284+08:00",
  "CreateBy": 4
}

application/xml, text/xml

Sample:
<SysStaffMenuGroupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>4</CreateBy>
  <CreateOn>2019-03-22T03:49:43.6528284+08:00</CreateOn>
  <MenuGroupId>2</MenuGroupId>
  <StaffID>1</StaffID>
</SysStaffMenuGroupDTO>

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

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>