GET api/TMSApp/RailFreightNew/GetRailBatchInfo?batchID={batchID}

获取批次信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
batchID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取批次信息

MsgBaseApiPageOfrail_batch
NameDescriptionTypeAdditional information
Status

返回状态0:失败,1:成功

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

rail_batch

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": {
    "IsHasEquipment": 1,
    "ResultData": {
      "data": [
        "sample string 1",
        "sample string 2"
      ],
      "recordsTotal": 3,
      "recordsFiltered": 3,
      "flag": true,
      "recordsSumTotal": 6.0
    },
    "paramList": [
      {
        "BPVID": 1,
        "BatchID": 2,
        "CPId": 3,
        "PName": "sample string 4",
        "PValue": 1.0,
        "PUnit": "sample string 5",
        "IsDeleted": 64,
        "IsKeyParam": 64
      },
      {
        "BPVID": 1,
        "BatchID": 2,
        "CPId": 3,
        "PName": "sample string 4",
        "PValue": 1.0,
        "PUnit": "sample string 5",
        "IsDeleted": 64,
        "IsKeyParam": 64
      }
    ],
    "TransportSN": "sample string 1",
    "TransportOrderName": "sample string 2",
    "carriageList": [
      {
        "StartTrips": "sample string 1",
        "batchNumber": "sample string 2",
        "result": 3,
        "EndStationName": "sample string 4",
        "EndStationID": 5,
        "CorpName": "sample string 6",
        "ID": 7,
        "BatchID": 1,
        "CarriageNo": "sample string 8",
        "GarriageWeight": 1.0,
        "GoodsWeight": 1.0,
        "GoodsUnit": "sample string 9",
        "TransportStatus": 1,
        "CurrentStationId": 1,
        "CurrentStationName": "sample string 10",
        "CurrentStationLocation": "sample string 11",
        "CurrentStationTimeStamp": "2020-10-23T14:06:22.653762+08:00",
        "ReferenceNum": "sample string 13",
        "CreateBy": 14,
        "CreateTime": "2020-10-23T14:06:22.653762+08:00",
        "UpdateBy": 16,
        "UpdateTime": "2020-10-23T14:06:22.653762+08:00",
        "IsDeleted": 64,
        "ChangeTime": "2020-10-23T14:06:22.653762+08:00",
        "ArriveTime": "2020-10-23T14:06:22.653762+08:00",
        "DepartureTime": "2020-10-23T14:06:22.653762+08:00",
        "ReceiveWeight": 1.0,
        "ReceiveStationTime": "2020-10-23T14:06:22.653762+08:00",
        "CompleteWeigtTime": "2020-10-23T14:06:22.653762+08:00",
        "TerminalID": 1,
        "TerminalNo": "sample string 19",
        "remark": "sample string 20"
      },
      {
        "StartTrips": "sample string 1",
        "batchNumber": "sample string 2",
        "result": 3,
        "EndStationName": "sample string 4",
        "EndStationID": 5,
        "CorpName": "sample string 6",
        "ID": 7,
        "BatchID": 1,
        "CarriageNo": "sample string 8",
        "GarriageWeight": 1.0,
        "GoodsWeight": 1.0,
        "GoodsUnit": "sample string 9",
        "TransportStatus": 1,
        "CurrentStationId": 1,
        "CurrentStationName": "sample string 10",
        "CurrentStationLocation": "sample string 11",
        "CurrentStationTimeStamp": "2020-10-23T14:06:22.653762+08:00",
        "ReferenceNum": "sample string 13",
        "CreateBy": 14,
        "CreateTime": "2020-10-23T14:06:22.653762+08:00",
        "UpdateBy": 16,
        "UpdateTime": "2020-10-23T14:06:22.653762+08:00",
        "IsDeleted": 64,
        "ChangeTime": "2020-10-23T14:06:22.653762+08:00",
        "ArriveTime": "2020-10-23T14:06:22.653762+08:00",
        "DepartureTime": "2020-10-23T14:06:22.653762+08:00",
        "ReceiveWeight": 1.0,
        "ReceiveStationTime": "2020-10-23T14:06:22.653762+08:00",
        "CompleteWeigtTime": "2020-10-23T14:06:22.653762+08:00",
        "TerminalID": 1,
        "TerminalNo": "sample string 19",
        "remark": "sample string 20"
      }
    ],
    "TotalCarriageNum": 3,
    "TotalCarriageDeadweight": 4.0,
    "OrderId": 5,
    "OrderName": "sample string 6",
    "CurrentCorpId": 7,
    "ID": 8,
    "BatchNumber": "sample string 9",
    "TransOrderID": 1,
    "StartStationID": 1,
    "EndStationID": 1,
    "StartStationName": "sample string 10",
    "EndStationName": "sample string 11",
    "StartStationCode": "sample string 12",
    "EndStationCode": "sample string 13",
    "StartDateTime": "2020-10-23T14:06:22.653762+08:00",
    "EndDateTime": "2020-10-23T14:06:22.653762+08:00",
    "Status": 1,
    "Remark": "sample string 14",
    "CreatUserID": "sample string 15",
    "CreatTime": "2020-10-23T14:06:22.653762+08:00",
    "StartUserInfoCode": "sample string 17",
    "EndUserInfoCode": "sample string 18",
    "TransportUserInfoCode": "sample string 19",
    "CreateBy": 20,
    "CreateTime": "2020-10-23T14:06:22.653762+08:00",
    "UpdateBy": 22,
    "UpdateTime": "2020-10-23T14:06:22.653762+08:00",
    "IsDeleted": 64,
    "ConsignerID": 25,
    "ReceiverID": 26,
    "ShipperID": 27
  }
}