GET api/permission/loadall

加载权限

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

加载权限

JsonRtnDtoOfListOfActionPermission
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of ActionPermission

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "Id": "sample string 1",
      "ActionType": 2,
      "PId": "sample string 3",
      "ActionName": "sample string 4",
      "ControllerName": "sample string 5",
      "Description": "sample string 6",
      "IsSystem": true,
      "IsEnabled": true,
      "Sort": 1,
      "CreatedTime": "2024-09-25T00:09:21.3749003+08:00"
    },
    {
      "Id": "sample string 1",
      "ActionType": 2,
      "PId": "sample string 3",
      "ActionName": "sample string 4",
      "ControllerName": "sample string 5",
      "Description": "sample string 6",
      "IsSystem": true,
      "IsEnabled": true,
      "Sort": 1,
      "CreatedTime": "2024-09-25T00:09:21.3749003+08:00"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":"sample string 1","ActionType":2,"PId":"sample string 3","ActionName":"sample string 4","ControllerName":"sample string 5","Description":"sample string 6","IsSystem":true,"IsEnabled":true,"Sort":1,"CreatedTime":"2024-09-25T00:09:21.3749003+08:00"},{"Id":"sample string 1","ActionType":2,"PId":"sample string 3","ActionName":"sample string 4","ControllerName":"sample string 5","Description":"sample string 6","IsSystem":true,"IsEnabled":true,"Sort":1,"CreatedTime":"2024-09-25T00:09:21.3749003+08:00"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfActionPermissionmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:ActionPermission>
      <d2p1:ActionName>sample string 4</d2p1:ActionName>
      <d2p1:ActionType>2</d2p1:ActionType>
      <d2p1:ControllerName>sample string 5</d2p1:ControllerName>
      <d2p1:CreatedTime>2024-09-25T00:09:21.3749003+08:00</d2p1:CreatedTime>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsEnabled>true</d2p1:IsEnabled>
      <d2p1:IsSystem>true</d2p1:IsSystem>
      <d2p1:PId>sample string 3</d2p1:PId>
      <d2p1:Sort>1</d2p1:Sort>
    </d2p1:ActionPermission>
    <d2p1:ActionPermission>
      <d2p1:ActionName>sample string 4</d2p1:ActionName>
      <d2p1:ActionType>2</d2p1:ActionType>
      <d2p1:ControllerName>sample string 5</d2p1:ControllerName>
      <d2p1:CreatedTime>2024-09-25T00:09:21.3749003+08:00</d2p1:CreatedTime>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsEnabled>true</d2p1:IsEnabled>
      <d2p1:IsSystem>true</d2p1:IsSystem>
      <d2p1:PId>sample string 3</d2p1:PId>
      <d2p1:Sort>1</d2p1:Sort>
    </d2p1:ActionPermission>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfActionPermissionmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":"sample string 1","ActionType":2,"PId":"sample string 3","ActionName":"sample string 4","ControllerName":"sample string 5","Description":"sample string 6","IsSystem":true,"IsEnabled":true,"Sort":1,"CreatedTime":"2024-09-25T00:09:21.3749003+08:00"},{"Id":"sample string 1","ActionType":2,"PId":"sample string 3","ActionName":"sample string 4","ControllerName":"sample string 5","Description":"sample string 6","IsSystem":true,"IsEnabled":true,"Sort":1,"CreatedTime":"2024-09-25T00:09:21.3749003+08:00"}]});