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": "56e77753-2053-4926-be6a-218fa07e463b",
  "OrderId": "530d6ff5-ad7b-48d2-86e9-4a6f412239e5",
  "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"
}