POST api/TMSApp/TransAssignment/BatchSaveTransAssignmen?corpID={corpID}

批量保存承运分配计划

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corpID

用户所属公司ID

integer

Required

Body Parameters

批量保存承运分配对象集合

Collection of TransAssignmentBase
NameDescriptionTypeAdditional information
ShipperName

承运单位名称

string

None.

ShipperId

承运商编号

integer

None.

TALimit

运输限额,承运分配计划量

decimal number

None.

StartTime

承运分配开始有效日期

date

None.

OrderId

订单编号

integer

None.

OrderName

订单名称:用于标注现有系统中存在的陕煤1等现象。保证客户能够理解其含义

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ShipperName": "sample string 1",
    "ShipperId": 2,
    "TALimit": 3.0,
    "StartTime": "2020-10-27T05:58:40.8023292+08:00",
    "OrderId": 5,
    "OrderName": "sample string 6"
  },
  {
    "ShipperName": "sample string 1",
    "ShipperId": 2,
    "TALimit": 3.0,
    "StartTime": "2020-10-27T05:58:40.8023292+08:00",
    "OrderId": 5,
    "OrderName": "sample string 6"
  }
]

Response Information

Resource Description

批量保存承运分配计划

MsgBaseApiPageOfString
NameDescriptionTypeAdditional 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"
}