POST api/Dept/getPageDeptList
Request Information
URI Parameters
None.
Body Parameters
EntSysDept| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DeptCode | string |
None. |
|
| DeptName | string |
None. |
|
| Descr | string |
None. |
|
| Status | string |
None. |
|
| CreateBy | string |
None. |
|
| CreateTime | date |
None. |
|
| Plant | string |
None. |
|
| ShowSeqence | integer |
None. |
|
| Usd1 | string |
None. |
|
| Usd2 | string |
None. |
|
| Organization_Code | string |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"deptCode": "sample string 2",
"deptName": "sample string 3",
"descr": "sample string 4",
"status": "sample string 5",
"createBy": "sample string 6",
"createTime": "2025-10-29 14:39:14",
"plant": "sample string 7",
"showSeqence": 8,
"usd1": "sample string 9",
"usd2": "sample string 10",
"organization_Code": "sample string 11",
"pageSize": 12,
"pageIndex": 13,
"totalCount": 14
}
application/xml, text/xml
Sample:
<EntSysDept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>13</PageIndex> <PageSize>12</PageSize> <TotalCount>14</TotalCount> <CreateBy>sample string 6</CreateBy> <CreateTime>2025-10-29T14:39:14.9225622+08:00</CreateTime> <DeptCode>sample string 2</DeptCode> <DeptName>sample string 3</DeptName> <Descr>sample string 4</Descr> <Id>1</Id> <Organization_Code>sample string 11</Organization_Code> <Plant>sample string 7</Plant> <ShowSeqence>8</ShowSeqence> <Status>sample string 5</Status> <Usd1>sample string 9</Usd1> <Usd2>sample string 10</Usd2> </EntSysDept>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfPagedResultDataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Data | PagedResultDataTable |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"success": true,
"data": {
"totalCount": 1,
"items": null
},
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<ReturnResultOfPagedResultDataTableDN9A7J8d xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">
<d2p1:items i:nil="true" />
<d2p1:totalCount>1</d2p1:totalCount>
</Data>
<Message>sample string 3</Message>
<Status>1</Status>
<Success>true</Success>
</ReturnResultOfPagedResultDataTableDN9A7J8d>