POST api/TMSApp/TransRel/AddTransRel?corpID={corpID}
新增托运订单
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
corpID |
用户所属公司ID |
integer |
Required |
Body Parameters
新增托运订单对象
TansRelBaseName | Description | Type | Additional information |
---|---|---|---|
OrderId |
订单编号 |
integer |
None. |
ShipperId |
承运商编号 |
integer |
None. |
TRID |
托运订单ID |
integer |
None. |
PlanNo |
计划卡号 |
string |
None. |
ConOrderAreaList |
托运单发货区域列表 |
Collection of OrderArea |
None. |
RcvOrderAreaList |
托运单收货区域列表 |
Collection of OrderArea |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1, "ShipperId": 2, "TRID": 3, "PlanNo": "sample string 4", "ConOrderAreaList": [ { "OrderAreaID": 1, "AreaName": "sample string 2" }, { "OrderAreaID": 1, "AreaName": "sample string 2" } ], "RcvOrderAreaList": [ { "OrderAreaID": 1, "AreaName": "sample string 2" }, { "OrderAreaID": 1, "AreaName": "sample string 2" } ] }
Response Information
Resource Description
新增托运订单
MsgBaseApiPageOfStringName | Description | Type | Additional information |
---|---|---|---|
Status |
返回状态0:失败,1:成功 |
integer |
None. |
Msg |
返回消息 |
string |
None. |
Data |
返回数据内容,默认为空 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Msg": "sample string 2", "Data": "sample string 3" }