POST api/PurchaseOrder/Update

Request Information

URI Parameters

None.

Body Parameters

UpdatePurchaseOrderRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CreatedId

globally unique identifier

None.

ImporterId

globally unique identifier

None.

Note

string

None.

PurchaseOrderDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "94f18840-898f-4abf-a7a3-536c8efc1a37",
  "CreatedId": "594f48db-922f-463f-b498-80207d82c4e1",
  "ImporterId": "b9b39816-4ded-4521-a1bb-1bd40391e20d",
  "Note": "sample string 4",
  "PurchaseOrderDateTime": "2026-04-14T21:56:17.1717003+07:00"
}

application/xml, text/xml

Sample:
<UpdatePurchaseOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.PurchaseOrder">
  <CreatedId>594f48db-922f-463f-b498-80207d82c4e1</CreatedId>
  <Id>94f18840-898f-4abf-a7a3-536c8efc1a37</Id>
  <ImporterId>b9b39816-4ded-4521-a1bb-1bd40391e20d</ImporterId>
  <Note>sample string 4</Note>
  <PurchaseOrderDateTime>2026-04-14T21:56:17.1717003+07:00</PurchaseOrderDateTime>
</UpdatePurchaseOrderRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdatePurchaseOrderRequest'.

Response Information

Resource Description

None.