GET api/driver/info
菜车手获取信息
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseOfDriverInfoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DriverInfoModel |
None. |
|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"UserId": 1,
"ImgUrl": "sample string 2",
"UserName": "sample string 3",
"DriverId": 4,
"Name": "sample string 5",
"PhoneNumber": "sample string 6"
},
"errcode": "sample string 1",
"errmsg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseOfDriverInfoModelUJ8Augit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
<errcode>sample string 1</errcode>
<errmsg>sample string 2</errmsg>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
<d2p1:DriverId>4</d2p1:DriverId>
<d2p1:ImgUrl>sample string 2</d2p1:ImgUrl>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:PhoneNumber>sample string 6</d2p1:PhoneNumber>
<d2p1:UserId>1</d2p1:UserId>
<d2p1:UserName>sample string 3</d2p1:UserName>
</data>
</ResponseOfDriverInfoModelUJ8Augit>