GET api/menu/GetDefaultMenuByRoleId?roleId={roleId}

加载角色默认菜单

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

加载角色默认菜单

JsonRtnDtoOfListOfInt32
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    1,
    2
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[1,2]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfintuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfintuHEDJ7Dj>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[1,2]});