Purchase Orders
Retrieve and manage purchase order records.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| POID | String | X | X |
| ReleaseID | Int32 | X | X |
| Buyer | String | X | X |
| ExchangeRate | Decimal(19,6) | X | X |
| MiscellaneousCost | Decimal(18,3) | X | X |
| Notes | String | X | X |
| OrderedDate | DateTimeOffset | X | X |
| Boolean | X | X | |
| PromisedDate | DateTimeOffset | X | X |
| RequestedBy | String | X | X |
| ShippingCost | Decimal(18,3) | X | X |
| ShipVia | String | X | X |
| Status | String | X | X |
| Terms | String | X | X |
| Type | String | X | X |
| UnitOfWeight | String | X | X |
| VendorAddress1 | String | ||
| VendorAddress2 | String | ||
| VendorCity | String | ||
| VendorCountry | String | ||
| VendorFax | String | ||
| VendorID | String | X | X |
| VendorPhone | String | ||
| VendorState | String | ||
| VendorZipCode | String | ||
| Weight | Decimal(9,3) | X | X |
| CreatedBy | String | ||
| DateCreated | DateTimeOffset | ||
| EditedBy | String | ||
| DateEdited | DateTimeOffset |
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
Statusallowed values:Ready,Cancelled,Ordered,Receiving,Completed,Invoiced
