GET api/DriverManagement?pageIndex={pageIndex}&pageSize={pageSize}&name={name}&status={status}&startTime={startTime}&endTime={endTime}
获取司机管理列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageIndex |
当前页 |
integer |
Required |
| pageSize |
每页数量 |
integer |
Required |
| name |
司机名称 |
string |
Default value is |
| status |
审核状态 |
integer |
None. |
| startTime |
起始时间 |
date |
None. |
| endTime |
结束时间 |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
InfoResultOfPagerSourceOfServiceDriverDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PagerSourceOfServiceDriverDto |
None. |
|
| IsSuccess |
是否成功:true:成功,false:失败 |
boolean |
None. |
| Msg |
返回消息 |
string |
None. |
| Extra |
特定信息 |
string |
None. |
| Code |
内部代码:[成功 000000|失败 000001|未登陆/未授权 000002] |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Data": [
{
"Id": 1,
"ContactName": "sample string 2",
"LinkMobile": "sample string 3",
"AuditState": 1,
"AuditStateName": "sample string 4",
"DriverType": 1,
"DriverTypeName": "sample string 5",
"CreateDate": "2026-03-31 21:46:59",
"Account": "sample string 6"
},
{
"Id": 1,
"ContactName": "sample string 2",
"LinkMobile": "sample string 3",
"AuditState": 1,
"AuditStateName": "sample string 4",
"DriverType": 1,
"DriverTypeName": "sample string 5",
"CreateDate": "2026-03-31 21:46:59",
"Account": "sample string 6"
}
],
"PageIndex": 1,
"PageSize": 2,
"RecordCount": 3,
"PageCount": 4
},
"IsSuccess": true,
"Msg": "sample string 2",
"Extra": "sample string 3",
"Code": "sample string 4"
}
application/xml, text/xml
Sample:
<InfoResultOfPagerSourceOfServiceDriverDto8taVmWcUom1kJJU9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData">
<Code>sample string 4</Code>
<Extra>sample string 3</Extra>
<IsSuccess>true</IsSuccess>
<Msg>sample string 2</Msg>
<Data>
<PageCount>4</PageCount>
<PageIndex>1</PageIndex>
<PageSize>2</PageSize>
<RecordCount>3</RecordCount>
<Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto">
<d3p1:ServiceDriverDto>
<d3p1:Account>sample string 6</d3p1:Account>
<d3p1:AuditState>1</d3p1:AuditState>
<d3p1:AuditStateName>sample string 4</d3p1:AuditStateName>
<d3p1:ContactName>sample string 2</d3p1:ContactName>
<d3p1:CreateDate>2026-03-31T21:46:59.6103371+08:00</d3p1:CreateDate>
<d3p1:DriverType>1</d3p1:DriverType>
<d3p1:DriverTypeName>sample string 5</d3p1:DriverTypeName>
<d3p1:Id>1</d3p1:Id>
<d3p1:LinkMobile>sample string 3</d3p1:LinkMobile>
</d3p1:ServiceDriverDto>
<d3p1:ServiceDriverDto>
<d3p1:Account>sample string 6</d3p1:Account>
<d3p1:AuditState>1</d3p1:AuditState>
<d3p1:AuditStateName>sample string 4</d3p1:AuditStateName>
<d3p1:ContactName>sample string 2</d3p1:ContactName>
<d3p1:CreateDate>2026-03-31T21:46:59.6103371+08:00</d3p1:CreateDate>
<d3p1:DriverType>1</d3p1:DriverType>
<d3p1:DriverTypeName>sample string 5</d3p1:DriverTypeName>
<d3p1:Id>1</d3p1:Id>
<d3p1:LinkMobile>sample string 3</d3p1:LinkMobile>
</d3p1:ServiceDriverDto>
</Data>
</Data>
</InfoResultOfPagerSourceOfServiceDriverDto8taVmWcUom1kJJU9>