Manufacturers
Retrieve and manage manufacturer records.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| MFRID | String | X | X |
| Description | String | X | X |
| Phone | String | X | X |
| Fax | String | X | X |
| Address1 | String | X | X |
| Address2 | String | X | X |
| State | String | X | X |
| ZipCode | String | X | X |
| Country | String | X | X |
| Web | String | X | X |
| Notes | String | X | X |
| AccountNo | String | X | X |
| City | String | X | X |
| IsActive | Boolean | X | X |
| DateCreated | DateTime | ||
| CreatedBy | String | ||
| DateEdited | DateTime | ||
| EditedBy | String |
Key: MFRID
Required property: MFRID
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/Manufacturers
Description: Retrieve manufacturer records.
POST
URL: https://{site}.mvpplant.com/ODataApi/v1/Manufacturers
Description: Create a manufacturer record.
Body: Send the property values marked in the POST column.
PATCH
URL: https://{site}.mvpplant.com/ODataApi/v1/Manufacturers('mfrID')
Description: Update an existing manufacturer 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/Manufacturers?$select=MFRID,Description,Phone -
Filter active manufacturers:
https://{site}.mvpplant.com/ODataApi/v1/Manufacturers?$filter=IsActive eq true -
Sort by manufacturer ID:
https://{site}.mvpplant.com/ODataApi/v1/Manufacturers?$orderby=MFRID -
Return the first 10 records:
https://{site}.mvpplant.com/ODataApi/v1/Manufacturers?$top=10
Notes
CreatedBy,DateCreated,EditedBy, andDateEditedare system-generated fields.- Use
MFRIDas the key field for manufacturer records.
