GET api/ServiceHistoryComments/{ID}

Web Service to retrieve the Comments of a Service History

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of ServiceHistoryComment

Collection of ServiceHistoryComment
NameDescriptionTypeAdditional 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": "2017-12-14T03:56:25.5582493-06:00",
    "RegisteredUserID": 4,
    "RegisteredUserName": "sample string 5",
    "CommentText": "sample string 6",
    "Picture": "sample string 7"
  },
  {
    "ID": 1,
    "ServiceHistoryID": 2,
    "RegisteredDateTime": "2017-12-14T03:56:25.5582493-06: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>2017-12-14T03:56:25.5582493-06: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>2017-12-14T03:56:25.5582493-06:00</RegisteredDateTime>
    <RegisteredUserID>4</RegisteredUserID>
    <RegisteredUserName>sample string 5</RegisteredUserName>
    <ServiceHistoryID>2</ServiceHistoryID>
  </ServiceHistoryComment>
</ArrayOfServiceHistoryComment>