POST api/TMSApp/FreightPlan/BatchSaveFreightPlanForAS?corpID={corpID}

批量分拆 : 提供app调用新增 “AvailableStandard”

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corpID

integer

Required

Body Parameters

Collection of NFreightPlan
NameDescriptionTypeAdditional information
AvailableStandard

国标类型

string

None.

EndTime

计划结束时间

date

None.

ProposalVal

建议分拆量

decimal number

None.

transrelList

承运商

Collection of TansRel

None.

ConsignAreaList

订单发货区域列表

Collection of OrderArea

None.

RcvAreaList

订单收货区域列表

Collection of OrderArea

None.

totalTALimit

分配合计

decimal number

None.

proportion

分配比例

integer

None.

Implementation

是否可以给承运商分配计划量:1.可以 2.不可以(只有收货方可以设置计划量)

integer

None.

IsSetting

是否可以设置计划(0:否, 1:是)

integer

None.

hasSendWeight

订单已发货重量

decimal number

None.

hasFinishWeight

订单已完成重量

decimal number

None.

ReceiverId

收货方Id

integer

None.

ConsignerId

发货方Id

integer

None.

ReceiverName

收货方名称

string

None.

CompleteRate

完成率

string

None.

PlanCalorificValue

计划热量

decimal number

None.

PreOrderStartTime

预派单开始时间

date

None.

PreOrderEndTime

预派单结束时间

date

None.

OrderName

订单名称

string

None.

dispatchWeight

货运计划,对应订单已拉运单的总量

decimal number

None.

PlanType

计划类型,1:总计划,2:日计划,-1:全部

integer

None.

RemainAmount

计划剩余量

decimal number

None.

disWeightOfPlan

当前货运计划的运单总量

decimal number

None.

PlanID

货运计划ID

integer

None.

OrderID

所属订单ID

integer

None.

StartTime

计划开始时间

date

None.

TPValue

计划运输量

decimal number

None.

ArriveTime

到货截止时间

date

None.

fpAreaList

调运计划区域

Collection of FreightPlanArea

None.

Remark

备注

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AvailableStandard": "sample string 1",
    "EndTime": "2020-10-20T22:32:50.4570955+08:00",
    "ProposalVal": 3.1,
    "transrelList": [
      {
        "OrderName": "sample string 1",
        "ConsignerId": 2,
        "ConsignerName": "sample string 3",
        "ReceiverId": 4,
        "ReceiverName": "sample string 5",
        "ShipperName": "sample string 6",
        "TALimit": 7.0,
        "TAId": 8,
        "hasTransportWeight": 9.0,
        "OrderId": 10,
        "ShipperId": 11,
        "TRID": 12,
        "PlanNo": "sample string 13",
        "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"
          }
        ]
      },
      {
        "OrderName": "sample string 1",
        "ConsignerId": 2,
        "ConsignerName": "sample string 3",
        "ReceiverId": 4,
        "ReceiverName": "sample string 5",
        "ShipperName": "sample string 6",
        "TALimit": 7.0,
        "TAId": 8,
        "hasTransportWeight": 9.0,
        "OrderId": 10,
        "ShipperId": 11,
        "TRID": 12,
        "PlanNo": "sample string 13",
        "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"
          }
        ]
      }
    ],
    "ConsignAreaList": [
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      },
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      }
    ],
    "RcvAreaList": [
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      },
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      }
    ],
    "totalTALimit": 4.0,
    "proportion": 5,
    "Implementation": 1,
    "IsSetting": 1,
    "hasSendWeight": 6.0,
    "hasFinishWeight": 7.0,
    "ReceiverId": 8,
    "ConsignerId": 9,
    "ReceiverName": "sample string 10",
    "CompleteRate": "sample string 11",
    "PlanCalorificValue": 12.0,
    "PreOrderStartTime": "2020-10-20T22:32:50.4570955+08:00",
    "PreOrderEndTime": "2020-10-20T22:32:50.4570955+08:00",
    "OrderName": "sample string 15",
    "dispatchWeight": 16.1,
    "PlanType": 17,
    "RemainAmount": 18.1,
    "disWeightOfPlan": 19.1,
    "PlanID": 20,
    "OrderID": 21,
    "StartTime": "2020-10-20T22:32:50.4570955+08:00",
    "TPValue": 1.0,
    "ArriveTime": "2020-10-20T22:32:50.4570955+08:00",
    "fpAreaList": [
      {
        "OrderAreaID": 1,
        "PlanAreaType": 2
      },
      {
        "OrderAreaID": 1,
        "PlanAreaType": 2
      }
    ],
    "Remark": "sample string 24"
  },
  {
    "AvailableStandard": "sample string 1",
    "EndTime": "2020-10-20T22:32:50.4570955+08:00",
    "ProposalVal": 3.1,
    "transrelList": [
      {
        "OrderName": "sample string 1",
        "ConsignerId": 2,
        "ConsignerName": "sample string 3",
        "ReceiverId": 4,
        "ReceiverName": "sample string 5",
        "ShipperName": "sample string 6",
        "TALimit": 7.0,
        "TAId": 8,
        "hasTransportWeight": 9.0,
        "OrderId": 10,
        "ShipperId": 11,
        "TRID": 12,
        "PlanNo": "sample string 13",
        "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"
          }
        ]
      },
      {
        "OrderName": "sample string 1",
        "ConsignerId": 2,
        "ConsignerName": "sample string 3",
        "ReceiverId": 4,
        "ReceiverName": "sample string 5",
        "ShipperName": "sample string 6",
        "TALimit": 7.0,
        "TAId": 8,
        "hasTransportWeight": 9.0,
        "OrderId": 10,
        "ShipperId": 11,
        "TRID": 12,
        "PlanNo": "sample string 13",
        "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"
          }
        ]
      }
    ],
    "ConsignAreaList": [
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      },
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      }
    ],
    "RcvAreaList": [
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      },
      {
        "OrderAreaID": 1,
        "AreaName": "sample string 2"
      }
    ],
    "totalTALimit": 4.0,
    "proportion": 5,
    "Implementation": 1,
    "IsSetting": 1,
    "hasSendWeight": 6.0,
    "hasFinishWeight": 7.0,
    "ReceiverId": 8,
    "ConsignerId": 9,
    "ReceiverName": "sample string 10",
    "CompleteRate": "sample string 11",
    "PlanCalorificValue": 12.0,
    "PreOrderStartTime": "2020-10-20T22:32:50.4570955+08:00",
    "PreOrderEndTime": "2020-10-20T22:32:50.4570955+08:00",
    "OrderName": "sample string 15",
    "dispatchWeight": 16.1,
    "PlanType": 17,
    "RemainAmount": 18.1,
    "disWeightOfPlan": 19.1,
    "PlanID": 20,
    "OrderID": 21,
    "StartTime": "2020-10-20T22:32:50.4570955+08:00",
    "TPValue": 1.0,
    "ArriveTime": "2020-10-20T22:32:50.4570955+08:00",
    "fpAreaList": [
      {
        "OrderAreaID": 1,
        "PlanAreaType": 2
      },
      {
        "OrderAreaID": 1,
        "PlanAreaType": 2
      }
    ],
    "Remark": "sample string 24"
  }
]

Response Information

Resource Description

批量分拆 : 提供app调用新增 “AvailableStandard”

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