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