POST Api/Invoke/UpdatePurchaseOrderNumber

更新采购单外部采购单号

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.UpdatePurchaseOrderNumberModel
NameDescriptionTypeAdditional information
ID

设置ID

globally unique identifier

None.

OrderId

父级ID

globally unique identifier

None.

PurchaseOrderNumber

采购订单号

string

Required

String length: inclusive between 0 and 50

TotalPrice

采购总价

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "19ed6935-9ad6-4571-b6f1-a957180668a5",
  "OrderId": "381c6795-4775-447d-bb0b-b94925246aaa",
  "PurchaseOrderNumber": "sample string 3",
  "TotalPrice": 4.1
}

Response Information

Resource Description

更新采购单外部采购单号

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}