Purchase Orders

Purchase Orders

Retrieve and manage purchase order records.

FieldData TypePOSTPATCH
POIDStringXX
ReleaseIDInt32XX
BuyerStringXX
ExchangeRateDecimal(19,6)XX
MiscellaneousCostDecimal(18,3)XX
NotesStringXX
OrderedDateDateTimeOffsetXX
PrintBooleanXX
PromisedDateDateTimeOffsetXX
RequestedByStringXX
ShippingCostDecimal(18,3)XX
ShipViaStringXX
StatusStringXX
TermsStringXX
TypeStringXX
UnitOfWeightStringXX
VendorAddress1String
VendorAddress2String
VendorCityString
VendorCountryString
VendorFaxString
VendorIDStringXX
VendorPhoneString
VendorStateString
VendorZipCodeString
WeightDecimal(9,3)XX
CreatedByString
DateCreatedDateTimeOffset
EditedByString
DateEditedDateTimeOffset

Key: POID, ReleaseID

Endpoints

GET

URL: https://{site}.mvpplant.com/ODataApi/v1/PurchaseOrders

Description: Retrieve purchase order records.

POST

URL: https://{site}.mvpplant.com/ODataApi/v1/PurchaseOrders

Description: Create a purchase order record.

Body: Send the property values marked in the POST column.

PATCH

URL: https://{site}.mvpplant.com/ODataApi/v1/PurchaseOrders(POID='poID',ReleaseID=releaseID)

Description: Update an existing purchase order record.

Body: Send only the property values you want to update from the PATCH column.

Notes

  • Status allowed values: Ready, Cancelled, Ordered, Receiving, Completed, Invoiced