get
https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServices
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET Work Order Service
Retrieve service cost records for work orders.
GET /ODataApi/v1/GetWorkOrderServicesEndpoint
https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServicesReplace {sitename} with your MVP One site name.
Available fields
| Field | Data type | Description |
|---|---|---|
WorkOrderID | String | Identifier of the work order associated with the service cost. |
Company | String | Company providing the service. |
FinishDate | DateTimeOffset | Date and time the service was completed. |
Hours | Decimal(9,3) | Number of service hours. |
Name | String | Name of the service. |
StartDate | DateTimeOffset | Date and time the service started. |
TotalCost | Decimal(18,3) | Total service cost applied to the work order. |
CreatedBy | String | User who created the service cost record. |
DateCreated | DateTimeOffset | Date and time the service cost record was created. |
Example endpoint
GET https://company.mvpplant.com/ODataApi/v1/GetWorkOrderServicesOptional 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,FinishDateReturn the first 10 service cost records
GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServices?$top=10Sort service costs by start date
GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderServices?$orderby=StartDate descNotes
- Use single quotes around string values in
$filterexpressions. - OData filter values are case-sensitive.
- Use
$selectto return only the fields your application needs. HoursusesDecimal(9,3)precision.TotalCostusesDecimal(18,3)precision.
