POST api/AddOrUpdateTask
Request Information
URI Parameters
None.
Body Parameters
TaskManagement| Name | Description | Type | Additional information |
|---|---|---|---|
| Task_ID | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Status_ID | integer |
None. |
|
| Priority_ID | integer |
None. |
|
| Due_Date | string |
None. |
|
| Project_ID | string |
None. |
|
| Department_ID | integer |
None. |
|
| User_ID | integer |
None. |
|
| TeamID | integer |
None. |
|
| Comment | string |
None. |
|
| Url | string |
None. |
|
| TaskTypeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Task_ID": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"Status_ID": 4,
"Priority_ID": 5,
"Due_Date": "sample string 6",
"Project_ID": "sample string 7",
"Department_ID": 8,
"User_ID": 9,
"TeamID": 10,
"Comment": "sample string 11",
"Url": "sample string 12",
"TaskTypeID": 13
}
application/xml, text/xml
Sample:
<TaskManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayrollApp.Models"> <Comment>sample string 11</Comment> <Department_ID>8</Department_ID> <Description>sample string 3</Description> <Due_Date>sample string 6</Due_Date> <Priority_ID>5</Priority_ID> <Project_ID>sample string 7</Project_ID> <Status_ID>4</Status_ID> <TaskTypeID>13</TaskTypeID> <Task_ID>1</Task_ID> <TeamID>10</TeamID> <Title>sample string 2</Title> <Url>sample string 12</Url> <User_ID>9</User_ID> </TaskManagement>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.