POST api/Task

To Add the Task

Request Information

URI Parameters

None.

Body Parameters

Task
NameDescriptionTypeAdditional information
TaskID

integer

None.

Title

string

None.

Content

string

None.

DisplayNameTo

string

None.

DisplayNameFrom

string

None.

CreatedDate

date

None.

DueDate

date

None.

Status

string

None.

UserID

integer

None.

IsPrivate

boolean

None.

IsAllowed

boolean

None.

IsDeletable

boolean

None.

IsCompleted

boolean

None.

IsEditableDetailAndDueDate

boolean

None.

IsEditableAssignTo

boolean

None.

IsEditableSubject

boolean

None.

CreatedDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskID": 1,
  "Title": "sample string 2",
  "Content": "sample string 3",
  "DisplayNameTo": "sample string 4",
  "DisplayNameFrom": "sample string 5",
  "CreatedDate": "2017-12-15T14:06:23.4091856-06:00",
  "DueDate": "2017-12-15T14:06:23.4091856-06:00",
  "Status": "sample string 8",
  "UserID": 9,
  "IsPrivate": true,
  "IsAllowed": true,
  "IsDeletable": true,
  "IsCompleted": true,
  "IsEditableDetailAndDueDate": true,
  "IsEditableAssignTo": true,
  "IsEditableSubject": true,
  "CreatedDateTime": "2017-12-15T14:06:23.4091856-06:00"
}

application/xml, text/xml

Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <Content>sample string 3</Content>
  <CreatedDate>2017-12-15T14:06:23.4091856-06:00</CreatedDate>
  <CreatedDateTime>2017-12-15T14:06:23.4091856-06:00</CreatedDateTime>
  <DisplayNameFrom>sample string 5</DisplayNameFrom>
  <DisplayNameTo>sample string 4</DisplayNameTo>
  <DueDate>2017-12-15T14:06:23.4091856-06:00</DueDate>
  <IsAllowed>true</IsAllowed>
  <IsCompleted>true</IsCompleted>
  <IsDeletable>true</IsDeletable>
  <IsEditableAssignTo>true</IsEditableAssignTo>
  <IsEditableDetailAndDueDate>true</IsEditableDetailAndDueDate>
  <IsEditableSubject>true</IsEditableSubject>
  <IsPrivate>true</IsPrivate>
  <Status>sample string 8</Status>
  <TaskID>1</TaskID>
  <Title>sample string 2</Title>
  <UserID>9</UserID>
</Task>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

bool

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>