GET api/TMSApp/BuyOrder/GetBuyOrderDetailByContractNumber?contractNumber={contractNumber}
根据合同编号获取自动创建采购订单所需要的数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contractNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
根据合同编号获取自动创建采购订单所需要的数据
MsgBaseApiPageOfBuyOrderDetailName | Description | Type | Additional information |
---|---|---|---|
Status |
返回状态0:失败,1:成功 |
integer |
None. |
Msg |
返回消息 |
string |
None. |
Data |
返回数据内容,默认为空 |
BuyOrderDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Msg": "sample string 2", "Data": { "contractCode": "sample string 1", "contractName": "sample string 2", "Consigner": { "Id": 1, "Name": "sample string 1", "Linkman": "sample string 2", "Mobile": "sample string 3", "AreaId": 1, "AreaName": "sample string 4" }, "OrderName": "sample string 3", "Receiver": { "Id": 1, "Name": "sample string 1", "Linkman": "sample string 2", "Mobile": "sample string 3", "AreaId": 1, "AreaName": "sample string 4" }, "TotalNumber": 1.0, "CoalName": "sample string 4", "StartDate": "2025-01-02T21:07:46.0266364+08:00", "EndDate": "2025-01-02T21:07:46.0266364+08:00", "CarType": 5, "DispatchRestrict": 6, "IsDispatchInArea": true, "IsHaveGPS": true, "IsRequireReceipt": true, "IsThreePartyApprovedCar": true, "Number": 11.0, "UnitPrice": 12.0, "Total": 13.0 } }