POST Api/Role/Del
Request Information
URI Parameters
None.
Body Parameters
RoleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Remark | string |
None. |
|
| CreateTime | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsEnable | boolean |
None. |
|
| MenuList | Collection of globally unique identifier |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "08f74561-88e3-40cb-8dc2-bd78fda0788e",
"Name": "sample string 2",
"Remark": "sample string 3",
"CreateTime": "2026-03-02T19:54:34.7480743+08:00",
"IsDeleted": true,
"IsEnable": true,
"MenuList": [
"96df6fcf-bc94-4784-93eb-33603b101dd6",
"a44531b6-46b4-4b82-a0db-b2cc02ac0920"
],
"PageIndex": 4,
"PageSize": 5,
"Total": 6
}
application/xml, text/xml
Sample:
<RoleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
<_x003C_PageIndex_x003E_k__BackingField>4</_x003C_PageIndex_x003E_k__BackingField>
<_x003C_PageSize_x003E_k__BackingField>5</_x003C_PageSize_x003E_k__BackingField>
<_x003C_Total_x003E_k__BackingField>6</_x003C_Total_x003E_k__BackingField>
<CreateTime>2026-03-02T19:54:34.7480743+08:00</CreateTime>
<Id>08f74561-88e3-40cb-8dc2-bd78fda0788e</Id>
<IsDeleted>true</IsDeleted>
<IsEnable>true</IsEnable>
<MenuList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>96df6fcf-bc94-4784-93eb-33603b101dd6</d2p1:guid>
<d2p1:guid>a44531b6-46b4-4b82-a0db-b2cc02ac0920</d2p1:guid>
</MenuList>
<Name>sample string 2</Name>
<Remark>sample string 3</Remark>
</RoleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.