POST api/calander/addtask

Request Information

URI Parameters

None.

Body Parameters

CalendarTask
NameDescriptionTypeAdditional information
TaskId

integer

None.

Title

string

None.

Description

string

None.

Priority

string

None.

TaskDate

date

None.

AssignedByEmployeeID

integer

None.

AssignedToEmployeeID

integer

None.

CreatedAt

date

None.

IsClear

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskId": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "Priority": "sample string 4",
  "TaskDate": "2026-01-09T01:00:18.9196104+05:30",
  "AssignedByEmployeeID": 6,
  "AssignedToEmployeeID": 7,
  "CreatedAt": "2026-01-09T01:00:18.9196104+05:30",
  "IsClear": true
}

application/xml, text/xml

Sample:
<CalendarTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pwacrmapi">
  <AssignedByEmployeeID>6</AssignedByEmployeeID>
  <AssignedToEmployeeID>7</AssignedToEmployeeID>
  <CreatedAt>2026-01-09T01:00:18.9196104+05:30</CreatedAt>
  <Description>sample string 3</Description>
  <IsClear>true</IsClear>
  <Priority>sample string 4</Priority>
  <TaskDate>2026-01-09T01:00:18.9196104+05:30</TaskDate>
  <TaskId>1</TaskId>
  <Title>sample string 2</Title>
</CalendarTask>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>