GET

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

GET Work Order Comments

Retrieve work order comment records.

GET /ODataApi/v1/GetWorkOrderComments

Endpoint

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

Replace {sitename} with your MVP One site name.

Available fields

FieldData typeDescription
WorkOrderIDStringIdentifier of the work order associated with the comment.
CommentStringWork order comment text.
UsernameStringUsername associated with the comment.
CreatedByStringUser who created the comment record.
DateCreatedDateTimeOffsetDate and time the comment record was created.
EditedByStringUser who last edited the comment record.
DateEditedDateTimeOffsetDate and time the comment record was last edited.

Example endpoint

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

Optional OData query examples

Return comments for one work order

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

Return selected fields

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderComments?$select=WorkOrderID,Comment,Username,DateCreated

Return the first 10 comments

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

Sort comments by creation date

GET https://{sitename}.mvpplant.com/ODataApi/v1/GetWorkOrderComments?$orderby=DateCreated 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.
Response

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