POST api/PurchaseOrderResponses

Imports a supplier response to a Purchase Order

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials

Returns:
200 OK - If received response is valid and is accepted
400 BadRequest - If validation fails. Reason is supplied in response.
401 Unauthorized - If credentials are invalid

Request Information

URI Parameters

None.

Body Parameters

The invoice to import

PurchaseOrderResponse
NameDescriptionTypeAdditional information
InterfaceTarget

Defines the interface submitting the response
1 - Response is from ShipServ
2 - Response is from OpenTRANS
4 - Response is from EDI

integer

Required

Range: inclusive between 0 and 4

PurchaseOrderNo

The identifier for the Purchase Order in Sertica

string

Required

Max length: 20

ConfirmationNo

The supplier confirmation no

string

Required

Max length: 20

ConfirmationStatus

The confirmation status
0 - The Purchase Order was rejected
1 - The Purchase Order was accepted

integer

Required

Range: inclusive between 0 and 1

ConfirmationRemarks

Any remarks related to the confirmation

string

Max length: 2000

ConfirmationDate

The date and time of the confirmation

date

Required

Request Formats

application/json, text/json

Sample:
{
  "InterfaceTarget": 1,
  "PurchaseOrderNo": "sample string 2",
  "ConfirmationNo": "sample string 3",
  "ConfirmationStatus": 4,
  "ConfirmationRemarks": "sample string 5",
  "ConfirmationDate": "2026-01-11T09:29:41.0537859+02:00"
}

application/xml, text/xml

Sample:
<PurchaseOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <InterfaceTarget>1</InterfaceTarget>
  <PurchaseOrderNo>sample string 2</PurchaseOrderNo>
  <ConfirmationNo>sample string 3</ConfirmationNo>
  <ConfirmationStatus>4</ConfirmationStatus>
  <ConfirmationRemarks>sample string 5</ConfirmationRemarks>
  <ConfirmationDate>2026-01-11T09:29:41.0537859+02:00</ConfirmationDate>
</PurchaseOrderResponse>

Response Information

Resource Description

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.