POST api/InstantCommunication

Method to Add new Instant Communication record to DataBase

Request Information

URI Parameters

None.

Body Parameters

InstantCommunications
NameDescriptionTypeAdditional information
InstantCommunicationID

integer

None.

Title

string

None.

Content

string

None.

commentId

integer

None.

Comment

string

None.

CreatedAt

date

None.

IsRead

boolean

None.

CommunicationTypeID

integer

None.

CommunicationType

string

None.

From

string

None.

To

string

None.

ToUserID

integer

None.

IsEditableAssignTo

boolean

None.

IsEditableStatus

boolean

None.

IsEditableSubject

boolean

None.

IsEditableDetail

boolean

None.

IsEditableByLogUser

boolean

None.

Picture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InstantCommunicationID": 1,
  "Title": "sample string 2",
  "Content": "sample string 3",
  "commentId": 4,
  "Comment": "sample string 5",
  "CreatedAt": "2017-12-14T03:52:46.8907871-06:00",
  "IsRead": true,
  "CommunicationTypeID": 8,
  "CommunicationType": "sample string 9",
  "From": "sample string 10",
  "To": "sample string 11",
  "ToUserID": 12,
  "IsEditableAssignTo": true,
  "IsEditableStatus": true,
  "IsEditableSubject": true,
  "IsEditableDetail": true,
  "IsEditableByLogUser": true,
  "Picture": "sample string 18"
}

application/xml, text/xml

Sample:
<InstantCommunications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <Comment>sample string 5</Comment>
  <CommunicationType>sample string 9</CommunicationType>
  <CommunicationTypeID>8</CommunicationTypeID>
  <Content>sample string 3</Content>
  <CreatedAt>2017-12-14T03:52:46.8907871-06:00</CreatedAt>
  <From>sample string 10</From>
  <InstantCommunicationID>1</InstantCommunicationID>
  <IsEditableAssignTo>true</IsEditableAssignTo>
  <IsEditableByLogUser>true</IsEditableByLogUser>
  <IsEditableDetail>true</IsEditableDetail>
  <IsEditableStatus>true</IsEditableStatus>
  <IsEditableSubject>true</IsEditableSubject>
  <IsRead>true</IsRead>
  <Picture>sample string 18</Picture>
  <Title>sample string 2</Title>
  <To>sample string 11</To>
  <ToUserID>12</ToUserID>
  <commentId>4</commentId>
</InstantCommunications>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

bool true = OK, false = Fail

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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