PUT api/PurchaceOrder/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Purchace_Order_Request
NameDescriptionTypeAdditional information
Id

integer

None.

RequestId

string

None.

ProductId

integer

None.

Operator

string

None.

Validation

boolean

None.

Remark

string

None.

TimeStamp

date

None.

Amount

integer

None.

Enable

boolean

None.

RequestType

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RequestId": "sample string 2",
  "ProductId": 3,
  "Operator": "sample string 4",
  "Validation": true,
  "Remark": "sample string 6",
  "TimeStamp": "2026-02-14T08:09:21.4655099+08:00",
  "Amount": 8,
  "Enable": true,
  "RequestType": 64
}

application/xml, text/xml

Sample:
<Purchace_Order_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI">
  <Amount>8</Amount>
  <Enable>true</Enable>
  <Id>1</Id>
  <Operator>sample string 4</Operator>
  <ProductId>3</ProductId>
  <Remark>sample string 6</Remark>
  <RequestId>sample string 2</RequestId>
  <RequestType>64</RequestType>
  <TimeStamp>2026-02-14T08:09:21.4655099+08:00</TimeStamp>
  <Validation>true</Validation>
</Purchace_Order_Request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.