Enterprise Part Type

Enterprise Part Type

Retrieve and manage enterprise part type records.

FieldData TypePOSTPATCH
PartTypeStringXX
DescriptionStringXX
IsActiveBooleanXX
CreatedByString
DateCreatedDateTime
EditedByString
DateEditedDateTime

Key: PartType

Required property: PartType

Endpoints

GET

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

Description: Retrieve enterprise part type records.

POST

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

Description: Create an enterprise part type record.

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

PATCH

URL: https://{site}.mvpplant.com/ODataApi/v1/EnterprisePartTypes('partType')

Description: Update an existing enterprise part type 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/EnterprisePartTypes?$select=PartType,Description

  • Filter active records:
    https://{site}.mvpplant.com/ODataApi/v1/EnterprisePartTypes?$filter=IsActive eq true

  • Sort by part type:
    https://{site}.mvpplant.com/ODataApi/v1/EnterprisePartTypes?$orderby=PartType

  • Return the first 10 records:
    https://{site}.mvpplant.com/ODataApi/v1/EnterprisePartTypes?$top=10

Notes

  • CreatedBy, DateCreated, EditedBy, and DateEdited are system-generated fields.
  • Use PartType as the key field for enterprise part type records.