Enterprise Part
Retrieve and manage enterprise part records.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| PartID | String | X | X |
| Description | String | X | X |
| Type | String | X | X |
| UOM | String | X | X |
| Weight | Decimal | X | X |
| UOW | String | X | X |
| MFRID | String | X | X |
| PartClass | String | X | X |
| Model | String | X | X |
| UNSPSCCode | String | X | X |
| Stock | String | X | X |
| BalanceAccount | String | X | X |
| ExpenseAccount | String | X | X |
| WriteOffAccount | String | X | X |
| Notes | String | X | X |
| Specifications | String | X | X |
| IsActive | Boolean | X | X |
| SingleSource | Boolean | X | X |
| CreatedBy | String | ||
| DateCreated | DateTime | ||
| EditedBy | String | ||
| DateEdited | DateTime |
Key: PartID
Required property: PartID
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts
Description: Retrieve enterprise part records.
POST
URL: https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts
Description: Create an enterprise part record.
Body: Send the property values marked in the POST column.
PATCH
URL: https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts('partID')
Description: Update an existing enterprise part 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/EnterpriseParts?$select=PartID,Description,Type -
Filter active records:
https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts?$filter=IsActive eq true -
Sort by part ID:
https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts?$orderby=PartID -
Return the first 10 records:
https://{site}.mvpplant.com/ODataApi/v1/EnterpriseParts?$top=10
Notes
CreatedBy,DateCreated,EditedBy, andDateEditedare system-generated fields.- Use
PartIDas the key field for enterprise part records.
