GET api/driver/list?deliveryState={deliveryState}

待配送仓库和地址列表,0待取货,1配送中。需要检查配送状态DeliveryState,当DeliveryState为1(菜车手已经取货待仓管确认)时,限制api确认送达功能

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deliveryState

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfDriverShipModel
NameDescriptionTypeAdditional information
data

Collection of DriverShipModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "OrderId": 1,
      "OrderNo": "sample string 2",
      "RecommendTime": "2025-12-26T20:15:47.1423584+08:00",
      "DeliveryState": 0,
      "RepositoryId": 4,
      "RepositoryName": "sample string 5",
      "RepositoryAddress": "sample string 6",
      "CustomerName": "sample string 7",
      "CustomerAddress": "sample string 8",
      "StoreManagerPhoneNumber": "sample string 9",
      "CustomerPhoneNumber": "sample string 10",
      "CreateTime": "2025-12-26T20:15:47.1423584+08:00",
      "ArriveTime": "2025-12-26T20:15:47.1423584+08:00",
      "data": [
        {
          "Title": "sample string 1",
          "VenderName": "sample string 2",
          "ProductVarietyName": "sample string 3",
          "ProductClassName": "sample string 4",
          "TheTime": "2025-12-26T20:15:47.1423584+08:00",
          "Count": 5,
          "Price": 6.0
        },
        {
          "Title": "sample string 1",
          "VenderName": "sample string 2",
          "ProductVarietyName": "sample string 3",
          "ProductClassName": "sample string 4",
          "TheTime": "2025-12-26T20:15:47.1423584+08:00",
          "Count": 5,
          "Price": 6.0
        }
      ]
    },
    {
      "OrderId": 1,
      "OrderNo": "sample string 2",
      "RecommendTime": "2025-12-26T20:15:47.1423584+08:00",
      "DeliveryState": 0,
      "RepositoryId": 4,
      "RepositoryName": "sample string 5",
      "RepositoryAddress": "sample string 6",
      "CustomerName": "sample string 7",
      "CustomerAddress": "sample string 8",
      "StoreManagerPhoneNumber": "sample string 9",
      "CustomerPhoneNumber": "sample string 10",
      "CreateTime": "2025-12-26T20:15:47.1423584+08:00",
      "ArriveTime": "2025-12-26T20:15:47.1423584+08:00",
      "data": [
        {
          "Title": "sample string 1",
          "VenderName": "sample string 2",
          "ProductVarietyName": "sample string 3",
          "ProductClassName": "sample string 4",
          "TheTime": "2025-12-26T20:15:47.1423584+08:00",
          "Count": 5,
          "Price": 6.0
        },
        {
          "Title": "sample string 1",
          "VenderName": "sample string 2",
          "ProductVarietyName": "sample string 3",
          "ProductClassName": "sample string 4",
          "TheTime": "2025-12-26T20:15:47.1423584+08:00",
          "Count": 5,
          "Price": 6.0
        }
      ]
    }
  ],
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfDriverShipModelUJ8Augit 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:DriverShipModel>
      <d2p1:ArriveTime>2025-12-26T20:15:47.1423584+08:00</d2p1:ArriveTime>
      <d2p1:CreateTime>2025-12-26T20:15:47.1423584+08:00</d2p1:CreateTime>
      <d2p1:CustomerAddress>sample string 8</d2p1:CustomerAddress>
      <d2p1:CustomerName>sample string 7</d2p1:CustomerName>
      <d2p1:CustomerPhoneNumber>sample string 10</d2p1:CustomerPhoneNumber>
      <d2p1:DeliveryState>Assigned</d2p1:DeliveryState>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>sample string 2</d2p1:OrderNo>
      <d2p1:RecommendTime>2025-12-26T20:15:47.1423584+08:00</d2p1:RecommendTime>
      <d2p1:RepositoryAddress>sample string 6</d2p1:RepositoryAddress>
      <d2p1:RepositoryId>4</d2p1:RepositoryId>
      <d2p1:RepositoryName>sample string 5</d2p1:RepositoryName>
      <d2p1:StoreManagerPhoneNumber>sample string 9</d2p1:StoreManagerPhoneNumber>
      <d2p1:data>
        <d2p1:ApiCommonDisplayModel>
          <d2p1:Count>5</d2p1:Count>
          <d2p1:Price>6</d2p1:Price>
          <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
          <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
          <d2p1:TheTime>2025-12-26T20:15:47.1423584+08:00</d2p1:TheTime>
          <d2p1:Title>sample string 1</d2p1:Title>
          <d2p1:VenderName>sample string 2</d2p1:VenderName>
        </d2p1:ApiCommonDisplayModel>
        <d2p1:ApiCommonDisplayModel>
          <d2p1:Count>5</d2p1:Count>
          <d2p1:Price>6</d2p1:Price>
          <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
          <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
          <d2p1:TheTime>2025-12-26T20:15:47.1423584+08:00</d2p1:TheTime>
          <d2p1:Title>sample string 1</d2p1:Title>
          <d2p1:VenderName>sample string 2</d2p1:VenderName>
        </d2p1:ApiCommonDisplayModel>
      </d2p1:data>
    </d2p1:DriverShipModel>
    <d2p1:DriverShipModel>
      <d2p1:ArriveTime>2025-12-26T20:15:47.1423584+08:00</d2p1:ArriveTime>
      <d2p1:CreateTime>2025-12-26T20:15:47.1423584+08:00</d2p1:CreateTime>
      <d2p1:CustomerAddress>sample string 8</d2p1:CustomerAddress>
      <d2p1:CustomerName>sample string 7</d2p1:CustomerName>
      <d2p1:CustomerPhoneNumber>sample string 10</d2p1:CustomerPhoneNumber>
      <d2p1:DeliveryState>Assigned</d2p1:DeliveryState>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>sample string 2</d2p1:OrderNo>
      <d2p1:RecommendTime>2025-12-26T20:15:47.1423584+08:00</d2p1:RecommendTime>
      <d2p1:RepositoryAddress>sample string 6</d2p1:RepositoryAddress>
      <d2p1:RepositoryId>4</d2p1:RepositoryId>
      <d2p1:RepositoryName>sample string 5</d2p1:RepositoryName>
      <d2p1:StoreManagerPhoneNumber>sample string 9</d2p1:StoreManagerPhoneNumber>
      <d2p1:data>
        <d2p1:ApiCommonDisplayModel>
          <d2p1:Count>5</d2p1:Count>
          <d2p1:Price>6</d2p1:Price>
          <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
          <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
          <d2p1:TheTime>2025-12-26T20:15:47.1423584+08:00</d2p1:TheTime>
          <d2p1:Title>sample string 1</d2p1:Title>
          <d2p1:VenderName>sample string 2</d2p1:VenderName>
        </d2p1:ApiCommonDisplayModel>
        <d2p1:ApiCommonDisplayModel>
          <d2p1:Count>5</d2p1:Count>
          <d2p1:Price>6</d2p1:Price>
          <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
          <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
          <d2p1:TheTime>2025-12-26T20:15:47.1423584+08:00</d2p1:TheTime>
          <d2p1:Title>sample string 1</d2p1:Title>
          <d2p1:VenderName>sample string 2</d2p1:VenderName>
        </d2p1:ApiCommonDisplayModel>
      </d2p1:data>
    </d2p1:DriverShipModel>
  </data>
</ResponseOfArrayOfDriverShipModelUJ8Augit>