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": "7b483e66-7c92-4a3a-8049-40e09743f327",
  "OrderId": "3ec5841a-0775-4da0-96bb-bde4a20d67ab",
  "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"
}