Part Vendors
Retrieve and manage vendor records linked to parts.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| PartID | String | X | X |
| VendorID | String | X | X |
| MFRID | String | X | X |
| Primary | Boolean | X | X |
| UnitCost | Decimal | X | X |
| VendorPartID | String | X | X |
| MFRPartID | String | X | X |
| OEM | Boolean | X | X |
| LeadTime | Decimal | X | X |
| UOP | String | X | X |
| QtyPerUOP | Decimal | X | X |
| MinOrderQty | Decimal | X | X |
| MinimumOrderCost | Decimal | X | X |
Key: PartID, VendorID, MFRID
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/PartVendors
Description: Retrieve vendor records linked to parts.
POST
URL: https://{site}.mvpplant.com/ODataApi/v1/PartVendors
Description: Create a part vendor record.
Body: Send the property values marked in the POST column.
PATCH
URL: https://{site}.mvpplant.com/ODataApi/v1/PartVendors(PartID='partID',VendorID='vendorID',MFRID='mfrID')
Description: Update an existing part vendor record.
Body: Send only the property values you want to update from the PATCH column.
OData Query Examples
-
Select specific fields:
https://{site}.mvpplant.com/ODataApi/v1/PartVendors?$select=PartID,VendorID,MFRID,UnitCost -
Filter primary part vendors:
https://{site}.mvpplant.com/ODataApi/v1/PartVendors?$filter=Primary eq true -
Return the first 10 records:
https://{site}.mvpplant.com/ODataApi/v1/PartVendors?$top=10
Notes
- Use the composite key
PartID,VendorID, andMFRIDto identify a part vendor record.
