post
https://{sitename}.mvpplant.com/ODataApi/v1/WorkOrders('')/AddComment
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST Add Comment
Add a comment to an existing work order.
POST /ODataApi/v1/WorkOrders('{name}')/AddCommentEndpoint
https://{sitename}.mvpplant.com/ODataApi/v1/WorkOrders('{name}')/AddCommentReplace:
{sitename}with your MVP One site name.{name}with the work order name or identifier.
Path parameter
| Parameter | Data type | Required | Description |
|---|---|---|---|
name | String | Yes | Work order name or identifier for the work order that receives the comment. |
Request body fields
| Field | Data type | Required | Description |
|---|---|---|---|
Comment | String | Yes | Comment text to add to the work order. |
Username | String | Yes | Username associated with the comment. |
Example request
{
"Comment": "Inspection completed. Replacement part is on order.",
"Username": "JSMITH"
}Example endpoint
POST https://company.mvpplant.com/ODataApi/v1/WorkOrders('WO-1001')/AddCommentResponse
A successful request returns a Boolean value:
trueNotes
- The work order must already exist before you call this endpoint.
- Use single quotes around the work order name or identifier in the endpoint URL.
- Include both
CommentandUsernamein every request.
