GET api/ServiceHistoryComments/{ID}
Web Service to retrieve the Comments of a Service History
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of ServiceHistoryComment
Collection of ServiceHistoryCommentName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ServiceHistoryID | integer |
None. |
|
RegisteredDateTime | date |
None. |
|
RegisteredUserID | integer |
None. |
|
RegisteredUserName | string |
None. |
|
CommentText | string |
None. |
|
Picture | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "ServiceHistoryID": 2, "RegisteredDateTime": "2018-04-21T23:43:15.1522895-05:00", "RegisteredUserID": 4, "RegisteredUserName": "sample string 5", "CommentText": "sample string 6", "Picture": "sample string 7" }, { "ID": 1, "ServiceHistoryID": 2, "RegisteredDateTime": "2018-04-21T23:43:15.1522895-05:00", "RegisteredUserID": 4, "RegisteredUserName": "sample string 5", "CommentText": "sample string 6", "Picture": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfServiceHistoryComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models"> <ServiceHistoryComment> <CommentText>sample string 6</CommentText> <ID>1</ID> <Picture>sample string 7</Picture> <RegisteredDateTime>2018-04-21T23:43:15.1522895-05:00</RegisteredDateTime> <RegisteredUserID>4</RegisteredUserID> <RegisteredUserName>sample string 5</RegisteredUserName> <ServiceHistoryID>2</ServiceHistoryID> </ServiceHistoryComment> <ServiceHistoryComment> <CommentText>sample string 6</CommentText> <ID>1</ID> <Picture>sample string 7</Picture> <RegisteredDateTime>2018-04-21T23:43:15.1522895-05:00</RegisteredDateTime> <RegisteredUserID>4</RegisteredUserID> <RegisteredUserName>sample string 5</RegisteredUserName> <ServiceHistoryID>2</ServiceHistoryID> </ServiceHistoryComment> </ArrayOfServiceHistoryComment>