POST api/Project?username={username}&div={div}&type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| div | integer |
Required |
|
| type | string |
Required |
Body Parameters
taskschpost| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskName | string |
None. |
|
| TaskDes | string |
None. |
|
| TaskType | string |
None. |
|
| Response | string |
None. |
|
| Category | string |
None. |
|
| Priority | string |
None. |
|
| TaskCost | string |
None. |
|
| TaskStdate | string |
None. |
|
| TaskEnddate | string |
None. |
|
| ProjectName | string |
None. |
|
| ProjectId | integer |
None. |
|
| ShortCode | string |
None. |
|
| Frequency | string |
None. |
|
| FrequencyValue | string |
None. |
|
| Attachment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TaskName": "sample string 1",
"TaskDes": "sample string 2",
"TaskType": "sample string 3",
"Response": "sample string 4",
"Category": "sample string 5",
"Priority": "sample string 6",
"TaskCost": "sample string 7",
"TaskStdate": "sample string 8",
"TaskEnddate": "sample string 9",
"ProjectName": "sample string 10",
"ProjectId": 11,
"ShortCode": "sample string 12",
"Frequency": "sample string 13",
"FrequencyValue": "sample string 14",
"Attachment": "sample string 15"
}
application/xml, text/xml
Sample:
<taskschpost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <Attachment>sample string 15</Attachment> <Category>sample string 5</Category> <Frequency>sample string 13</Frequency> <FrequencyValue>sample string 14</FrequencyValue> <Priority>sample string 6</Priority> <ProjectId>11</ProjectId> <ProjectName>sample string 10</ProjectName> <Response>sample string 4</Response> <ShortCode>sample string 12</ShortCode> <TaskCost>sample string 7</TaskCost> <TaskDes>sample string 2</TaskDes> <TaskEnddate>sample string 9</TaskEnddate> <TaskName>sample string 1</TaskName> <TaskStdate>sample string 8</TaskStdate> <TaskType>sample string 3</TaskType> </taskschpost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rtnMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <message>sample string 2</message> <result>true</result> </rtnMessage>