Enterprise Part Type
Retrieve and manage enterprise part type records.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| PartType | String | X | X |
| Description | String | X | X |
| IsActive | Boolean | X | X |
| CreatedBy | String | ||
| DateCreated | DateTime | ||
| EditedBy | String | ||
| DateEdited | DateTime |
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, andDateEditedare system-generated fields.- Use
PartTypeas the key field for enterprise part type records.
