POST api/ServiceHistoryComments

Web Service to add a Comment to an Analyzer Service History

Request Information

URI Parameters

None.

Body Parameters

ServiceHistoryComment
NameDescriptionTypeAdditional information
ID

integer

None.

ServiceHistoryID

integer

None.

RegisteredDateTime

date

None.

RegisteredUserID

integer

None.

RegisteredUserName

string

None.

CommentText

string

None.

Picture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ServiceHistoryID": 2,
  "RegisteredDateTime": "2017-12-15T14:07:07.2364647-06:00",
  "RegisteredUserID": 4,
  "RegisteredUserName": "sample string 5",
  "CommentText": "sample string 6",
  "Picture": "sample string 7"
}

application/xml, text/xml

Sample:
<ServiceHistoryComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <CommentText>sample string 6</CommentText>
  <ID>1</ID>
  <Picture>sample string 7</Picture>
  <RegisteredDateTime>2017-12-15T14:07:07.2364647-06:00</RegisteredDateTime>
  <RegisteredUserID>4</RegisteredUserID>
  <RegisteredUserName>sample string 5</RegisteredUserName>
  <ServiceHistoryID>2</ServiceHistoryID>
</ServiceHistoryComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

int - ServiceHistoryCommentID (or) -1, if error

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>