POST Api/ModuleCategory/Add
Request Information
URI Parameters
None.
Body Parameters
ModuleCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Intro | string |
None. |
|
| CreateTime | date |
None. |
|
| CreateTimeToString | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "eaa8ae14-ac78-4479-9809-1bf3cf4abdcf",
"Name": "sample string 2",
"Intro": "sample string 3",
"CreateTime": "2026-03-02T19:49:41.4852374+08:00",
"CreateTimeToString": "2026-03-02 19:49:41",
"IsDeleted": true,
"PageIndex": 4,
"PageSize": 5,
"Total": 6
}
application/xml, text/xml
Sample:
<ModuleCategoryDto 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:49:41.4852374+08:00</CreateTime> <Id>eaa8ae14-ac78-4479-9809-1bf3cf4abdcf</Id> <Intro>sample string 3</Intro> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> </ModuleCategoryDto>
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.