GET api/role/LoadAll
加载所有角色
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
加载所有角色
JsonRtnDtoOfListOfRolesName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of Roles |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "RolesID": 1, "RolesName": "sample string 2", "Remark": "sample string 3", "EstablishDate": "2024-09-25T00:05:35.1397067+08:00", "Inlay": true, "IsSystem": true, "Pid": 7 }, { "RolesID": 1, "RolesName": "sample string 2", "Remark": "sample string 3", "EstablishDate": "2024-09-25T00:05:35.1397067+08:00", "Inlay": true, "IsSystem": true, "Pid": 7 } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:05:35.1397067+08:00","Inlay":true,"IsSystem":true,"Pid":7},{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:05:35.1397067+08:00","Inlay":true,"IsSystem":true,"Pid":7}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfRolesmEDjlcEG 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:Roles> <d2p1:EstablishDate>2024-09-25T00:05:35.1397067+08:00</d2p1:EstablishDate> <d2p1:Inlay>true</d2p1:Inlay> <d2p1:IsSystem>true</d2p1:IsSystem> <d2p1:Pid>7</d2p1:Pid> <d2p1:Remark>sample string 3</d2p1:Remark> <d2p1:RolesID>1</d2p1:RolesID> <d2p1:RolesName>sample string 2</d2p1:RolesName> </d2p1:Roles> <d2p1:Roles> <d2p1:EstablishDate>2024-09-25T00:05:35.1397067+08:00</d2p1:EstablishDate> <d2p1:Inlay>true</d2p1:Inlay> <d2p1:IsSystem>true</d2p1:IsSystem> <d2p1:Pid>7</d2p1:Pid> <d2p1:Remark>sample string 3</d2p1:Remark> <d2p1:RolesID>1</d2p1:RolesID> <d2p1:RolesName>sample string 2</d2p1:RolesName> </d2p1:Roles> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfRolesmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:05:35.1397067+08:00","Inlay":true,"IsSystem":true,"Pid":7},{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:05:35.1397067+08:00","Inlay":true,"IsSystem":true,"Pid":7}]});