GET api/WorkOrderComments/GetOfficeComments?workOrderId={workOrderId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workOrderId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CommentModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
WorkOrderID | integer |
None. |
|
UserID | Object |
None. |
|
UserName | string |
None. |
|
Submitted | date |
None. |
|
Comments | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "WorkOrderID": 2, "UserID": {}, "UserName": "sample string 4", "Submitted": "2025-09-03T14:06:30.0698959+00:00", "Comments": "sample string 6" }, { "ID": 1, "WorkOrderID": 2, "UserID": {}, "UserName": "sample string 4", "Submitted": "2025-09-03T14:06:30.0698959+00:00", "Comments": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIClassLibrary.DataAccess"> <CommentModel> <Comments>sample string 6</Comments> <ID>1</ID> <Submitted>2025-09-03T14:06:30.0698959+00:00</Submitted> <UserID /> <UserName>sample string 4</UserName> <WorkOrderID>2</WorkOrderID> </CommentModel> <CommentModel> <Comments>sample string 6</Comments> <ID>1</ID> <Submitted>2025-09-03T14:06:30.0698959+00:00</Submitted> <UserID /> <UserName>sample string 4</UserName> <WorkOrderID>2</WorkOrderID> </CommentModel> </ArrayOfCommentModel>