PUT api/{siteCode}/PurchaseOrder/UpdateOrder

Updates the order confirmation date and number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteCode

The site code.

integer

Required

Body Parameters

The update order confirmation object.

UpdateOrder
NameDescriptionTypeAdditional information
ID

integer

Required

ConfirmationNumber

string

String length: inclusive between 0 and 50

ConfirmationDate

date

None.

Mode

string

String length: inclusive between 0 and 50

RequiredDate

date

None.

DivisionCode

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ConfirmationNumber": "sample string 2",
  "ConfirmationDate": "2025-02-05T06:59:52.1594958+00:00",
  "Mode": "sample string 3",
  "RequiredDate": "2025-02-05T06:59:52.1594958+00:00",
  "DivisionCode": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ID>1</ID>
  <ConfirmationNumber>sample string 2</ConfirmationNumber>
  <ConfirmationDate>2025-02-05T06:59:52.1594958+00:00</ConfirmationDate>
  <Mode>sample string 3</Mode>
  <RequiredDate>2025-02-05T06:59:52.1594958+00:00</RequiredDate>
  <DivisionCode>sample string 4</DivisionCode>
</UpdateOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HTTP Status Code 200

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.