Enterprise Part

Enterprise Part

Retrieve and manage enterprise part records.

FieldData TypePOSTPATCH
PartIDStringXX
DescriptionStringXX
TypeStringXX
UOMStringXX
WeightDecimalXX
UOWStringXX
MFRIDStringXX
PartClassStringXX
ModelStringXX
UNSPSCCodeStringXX
StockStringXX
BalanceAccountStringXX
ExpenseAccountStringXX
WriteOffAccountStringXX
NotesStringXX
SpecificationsStringXX
IsActiveBooleanXX
SingleSourceBooleanXX
CreatedByString
DateCreatedDateTime
EditedByString
DateEditedDateTime

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, and DateEdited are system-generated fields.
  • Use PartID as the key field for enterprise part records.