Replenishment
Retrieve part stock replenishment records.
Use the Replenishment GET endpoint to query part stock replenishment data.
GET /ODataApi/v1/PartStockReplenishmentEndpoint
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishmentReplace {sitename} with your MVP One site name.
How to query replenishment records
Use OData query parameters to filter, select, sort, and limit replenishment records.
| Query option | Description | Example |
|---|---|---|
$filter | Filters replenishment records by field value. | $filter=WarehouseID eq 'MAIN' |
$select | Returns only the specified fields. | $select=PartID,WarehouseID,ReorderMethod |
$top | Limits the number of records returned. | $top=10 |
$orderby | Sorts returned records. | $orderby=PartID |
Examples
Filter by warehouse
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$filter=WarehouseID eq 'MAIN'Select specific fields
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$select=PartID,WarehouseID,ReorderMethodReturn the first 10 records
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$top=10Sort by part ID
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$orderby=PartIDCombine query options
https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$filter=WarehouseID eq 'MAIN'&$select=PartID,WarehouseID,ReorderMethod&$top=10&$orderby=PartIDNotes
- OData query option names are case-sensitive.
- Use single quotes around string values in
$filter. - Replace
{sitename}with your MVP One site name. - Encode spaces if your client does not encode URLs automatically.
