POST api/AdminRole/bindAdminRole_Pri

Request Information

URI Parameters

None.

Body Parameters

WORK_AdminRole_Pri
NameDescriptionTypeAdditional information
ID

integer

None.

RoleID

integer

None.

PriID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "RoleID": 2,
  "PriID": 3
}

application/xml, text/xml

Sample:
<WORK_AdminRole_Pri xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Domain.Entities">
  <ID>1</ID>
  <PriID>3</PriID>
  <RoleID>2</RoleID>
</WORK_AdminRole_Pri>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResOfString
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models">
  <code>1</code>
  <data />
  <msg>sample string 2</msg>
</HttpResOfstring>