POST waybill/set-driver
Request Information
URI Parameters
None.
Body Parameters
WaybillName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DriverUserId | integer |
None. |
|
SysAreaId | integer |
None. |
|
AddressFrom | string |
None. |
|
AddressTo | string |
None. |
|
StatusId | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedUserId | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedUserId | integer |
None. |
|
PlanFinDate | date |
None. |
|
ActualFinDate | date |
None. |
|
DevId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "DriverUserId": 2, "SysAreaId": 3, "AddressFrom": "sample string 4", "AddressTo": "sample string 5", "StatusId": 6, "CreatedDate": "2025-04-24T08:29:29.4517169+08:00", "CreatedUserId": 8, "UpdatedDate": "2025-04-24T08:29:29.4517169+08:00", "UpdatedUserId": 10, "PlanFinDate": "2025-04-24T08:29:29.4517169+08:00", "ActualFinDate": "2025-04-24T08:29:29.4517169+08:00", "DevId": 13 }
application/xml, text/xml
Sample:
<Waybill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YHT.Core"> <ActualFinDate>2025-04-24T08:29:29.4517169+08:00</ActualFinDate> <AddressFrom>sample string 4</AddressFrom> <AddressTo>sample string 5</AddressTo> <CreatedDate>2025-04-24T08:29:29.4517169+08:00</CreatedDate> <CreatedUserId>8</CreatedUserId> <DevId>13</DevId> <DriverUserId>2</DriverUserId> <Id>1</Id> <PlanFinDate>2025-04-24T08:29:29.4517169+08:00</PlanFinDate> <StatusId>6</StatusId> <SysAreaId>3</SysAreaId> <UpdatedDate>2025-04-24T08:29:29.4517169+08:00</UpdatedDate> <UpdatedUserId>10</UpdatedUserId> </Waybill>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RtBaseName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2" }
application/xml, text/xml
Sample:
<RtBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseWebApi.Model"> <code>1</code> <msg>sample string 2</msg> </RtBase>