POST Api/Service/Order/UpdatePurchaseOrder
更新采购单信息
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.UpdatePurchaseOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
设置ID |
globally unique identifier |
None. |
| OrderId |
父级ID |
globally unique identifier |
None. |
| PurchaseOrderNumber |
采购订单号 |
string |
Required String length: inclusive between 0 and 50 |
| PurchaseOrderType |
采购单类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.PurchaseOrderType |
None. |
| TotalPrice |
采购总价 |
decimal number |
None. |
| PlatName |
采购平台名称 |
string |
Required String length: inclusive between 0 and 50 |
| PurchaseTag |
采购路由标识 |
string |
String length: inclusive between 0 and 20 |
| ProviderCode |
采购数据源标识 |
string |
String length: inclusive between 0 and 20 |
| CabinLevel |
采购舱位级别 |
SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType |
None. |
| CabinCode |
采购舱位 |
string |
Required String length: inclusive between 0 and 3 |
| ProductRules |
采购产品规则 |
string |
None. |
| Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{
"ID": "0ee54c95-d881-4672-81e3-4bd7f3020413",
"OrderId": "c8906933-08e8-493c-a0e3-4598a4d9b318",
"PurchaseOrderNumber": "sample string 3",
"PurchaseOrderType": 0,
"TotalPrice": 4.1,
"PlatName": "sample string 5",
"PurchaseTag": "sample string 6",
"ProviderCode": "sample string 7",
"CabinLevel": 0,
"CabinCode": "sample string 8",
"ProductRules": "sample string 9",
"Remarks": "sample string 10"
}
Response Information
Resource Description
更新采购单信息
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}