GET

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

GET Work Order Actual Labor

Retrieve actual labor records for work orders.

GET /ODataApi/v1/GetWorkOrderActualLabor

Endpoint

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

Replace {sitename} with your MVP One site name.

Available fields

FieldData typeDescription
WorkOrderIDStringIdentifier of the work order associated with the labor record.
CostDecimal(18,3)Total actual labor cost.
CraftStringCraft associated with the labor record.
FinishDateDateTimeOffsetDate and time the labor was completed.
HoursDecimal(9,3)Regular labor hours.
OTHoursDecimal(9,3)Overtime labor hours.
OTRateDecimal(18,3)Overtime labor rate.
PeopleIDStringIdentifier of the person associated with the labor record.
RateDecimal(18,3)Regular labor rate.
StartDateDateTimeOffsetDate and time the labor started.
TranTypeStringLabor transaction type.
CreatedByStringUser who created the labor record.
DateCreatedDateTimeOffsetDate and time the labor record was created.
EditedByStringUser who last edited the labor record.
DateEditedDateTimeOffsetDate and time the labor record was last edited.

Example endpoint

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

Optional OData query examples

Return labor for one work order

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

Return selected fields

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderActualLabor?$select=WorkOrderID,PeopleID,Craft,Hours,OTHours,StartDate,FinishDate,Cost

Return the first 10 labor records

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

Sort labor by start date

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderActualLabor?$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 and OTHours use Decimal(9,3) precision.
  • Cost, Rate, and OTRate use Decimal(18,3) precision.
Response

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