GET

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

GET Work Order Service

Retrieve service cost records for work orders.

GET /ODataApi/v1/GetWorkOrderServices

Endpoint

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

Replace {sitename} with your MVP One site name.

Available fields

FieldData typeDescription
WorkOrderIDStringIdentifier of the work order associated with the service cost.
CompanyStringCompany providing the service.
FinishDateDateTimeOffsetDate and time the service was completed.
HoursDecimal(9,3)Number of service hours.
NameStringName of the service.
StartDateDateTimeOffsetDate and time the service started.
TotalCostDecimal(18,3)Total service cost applied to the work order.
CreatedByStringUser who created the service cost record.
DateCreatedDateTimeOffsetDate and time the service cost record was created.

Example endpoint

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

Optional OData query examples

Return service costs for one work order

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

Return selected fields

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServices?$select=WorkOrderID,Company,Name,Hours,TotalCost,StartDate,FinishDate

Return the first 10 service cost records

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

Sort service costs by start date

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServices?$orderby=StartDate 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.
  • Hours 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!