POST admin/waybill/save
Request Information
URI Parameters
None.
Body Parameters
Waybill| Name | 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. |
|
| TypeId | integer |
None. |
|
| ExtId | integer |
None. |
|
| ShipTypeId | integer |
None. |
|
| StartWeight | decimal number |
None. |
|
| EndWeight | decimal number |
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-10-24T14:34:08.7713078+08:00",
"CreatedUserId": 8,
"UpdatedDate": "2025-10-24T14:34:08.7713078+08:00",
"UpdatedUserId": 10,
"PlanFinDate": "2025-10-24T14:34:08.7713078+08:00",
"ActualFinDate": "2025-10-24T14:34:08.7713078+08:00",
"DevId": 13,
"TypeId": 14,
"ExtId": 15,
"ShipTypeId": 16,
"StartWeight": 17.0,
"EndWeight": 18.0
}
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-10-24T14:34:08.7713078+08:00</ActualFinDate> <AddressFrom>sample string 4</AddressFrom> <AddressTo>sample string 5</AddressTo> <CreatedDate>2025-10-24T14:34:08.7713078+08:00</CreatedDate> <CreatedUserId>8</CreatedUserId> <DevId>13</DevId> <DriverUserId>2</DriverUserId> <EndWeight>18</EndWeight> <ExtId>15</ExtId> <Id>1</Id> <PlanFinDate>2025-10-24T14:34:08.7713078+08:00</PlanFinDate> <ShipTypeId>16</ShipTypeId> <StartWeight>17</StartWeight> <StatusId>6</StatusId> <SysAreaId>3</SysAreaId> <TypeId>14</TypeId> <UpdatedDate>2025-10-24T14:34:08.7713078+08:00</UpdatedDate> <UpdatedUserId>10</UpdatedUserId> </Waybill>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RtBase| Name | 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>