PUT Api/PurchaseOrders/UpdatePurchaseOrderItem

Request Information

URI Parameters

None.

Body Parameters

PurchaseOrderItem
NameDescriptionTypeAdditional information
PurchaseOrderItemId

integer

None.

PurchaseOrderId

integer

None.

InventoryId

integer

None.

Quantity

integer

None.

Received

integer

None.

ReceivedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "purchaseOrderItemId": 1,
  "purchaseOrderId": 2,
  "inventoryId": 3,
  "quantity": 4,
  "received": 1,
  "receivedDate": "2026-05-06T01:20:39.0333563+02:00"
}

text/html

Sample:
{"purchaseOrderItemId":1,"purchaseOrderId":2,"inventoryId":3,"quantity":4,"received":1,"receivedDate":"2026-05-06T01:20:39.0333563+02:00"}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'UrgentCareExtra.Data.Models.CptCodeCategory' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'UrgentCareExtra.Data.Models.CptCodeCategory' contains cycles and cannot be serialized if reference tracking is disabled.

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 'PurchaseOrderItem'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.