POST api/Task?mode={mode}&key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mode | string |
Required |
|
| key | string |
Default value is |
Body Parameters
taskdetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProjectId | integer |
None. |
|
| ProjectName | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Status | string |
None. |
|
| IsActive | string |
None. |
|
| AssignedToId | string |
None. |
|
| AssignedTo | string |
None. |
|
| AssignedById | string |
None. |
|
| AssignedBy | string |
None. |
|
| CreatedBy | string |
None. |
|
| Mode | integer |
None. |
|
| DisplayOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProjectId": 2,
"ProjectName": "sample string 3",
"Title": "sample string 4",
"Description": "sample string 5",
"Status": "sample string 6",
"IsActive": "sample string 7",
"AssignedToId": "sample string 8",
"AssignedTo": "sample string 9",
"AssignedById": "sample string 10",
"AssignedBy": "sample string 11",
"CreatedBy": "sample string 12",
"Mode": 13,
"DisplayOrder": 14
}
application/xml, text/xml
Sample:
<taskdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApp.Models"> <AssignedBy>sample string 11</AssignedBy> <AssignedById>sample string 10</AssignedById> <AssignedTo>sample string 9</AssignedTo> <AssignedToId>sample string 8</AssignedToId> <CreatedBy>sample string 12</CreatedBy> <Description>sample string 5</Description> <DisplayOrder>14</DisplayOrder> <Id>1</Id> <IsActive>sample string 7</IsActive> <Mode>13</Mode> <ProjectId>2</ProjectId> <ProjectName>sample string 3</ProjectName> <Status>sample string 6</Status> <Title>sample string 4</Title> </taskdetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.