GET

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET Work Order Material

Retrieve material cost records for work orders.

GET /ODataApi/v1/GetWorkOrderMaterial

Endpoint

https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial

Replace {sitename} with your MVP One site name.

Available fields

FieldData typeDescription
WorkOrderIDStringIdentifier of the work order associated with the material cost.
DescriptionStringDescription of the material cost.
DateDateTimeOffsetDate and time of the material transaction.
MaterialStringMaterial identifier or material description.
QuantityDecimal(9,3)Quantity of material used.
TotalCostDecimal(18,3)Total material cost applied to the work order.
CreatedByStringUser who created the material cost record.
DateCreatedDateTimeOffsetDate and time the material cost record was created.

Example endpoint

GET https://company.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial

Optional OData query examples

Return material costs for one work order

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial?$filter=WorkOrderID eq 'WO-1001'

Return selected fields

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial?$select=WorkOrderID,Material,Quantity,TotalCost,Date

Return the first 10 material cost records

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial?$top=10

Sort material costs by date

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderMaterial?$orderby=Date desc

Notes

  • Use single quotes around string values in $filter expressions.
  • OData filter values are case-sensitive.
  • Use $select to return only the fields your application needs.
  • Quantity uses Decimal(9,3) precision.
  • TotalCost uses Decimal(18,3) precision.
Response

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!